So ive been using parrotsec for a decent time now (About 10 months)
Apart from one thing.
While installing it, Keep in mind i was new to linux, I had to encrypt my 1TB Harddrive to make sure my data remains safe.
So, i had to go for “Guided Encrypted LVM” option while installing.
It gave me 8GB swap and 200MB /boot space. I went for that option hoping that it would guide me and think whats best for my system that had 8GB Ram. i7 and 1TB HDD. Brand New Device. Untouched. DOS on HDD and rest space compelety vacant.
Im not sure if thats the default boot space all linux distro provide while using guided but 200Mb DOES NOT WORK.
Every few months, parrot pushes updates (which is good and preferable) but it messes up my /boot. I keep getting prompt that my boot space is 0mb or 2mb and i need to clear up some things.
Im not really sure what to remove as once i ended up bricking my machine (maybe deleted wrong image file or something similar.)
Thats not a major issue. The major issue is im unable to update any further after a certain amount of updates since there isnt any space left in /boot
Then it keeps giving me errors when i run apt autoremove. Im sure @KidKlown & @s1udge are we aware of those issues
If possible, Please increase the default /boot space to atleast 512Mb when someone is installing via Guided Encrypted LVM to avoid any further/similar issues someone may have in future
So thafs my point. By default the guided setup provides /boot with less then 256mb even for 1TB HDD . Which isnt really comfortable as it may cause issues in future for several users who are new to Linux and depend on apt autoremove command to clean the /boot of obsolete files rather than a long complicated command that a new linux user may try and end up bricking their own device.
My whole point was to increase the /boot size to atleast 512MB by default in guided installation.
I did use it Thank You. PS the command initially gave me an error so i switched to single quote for ‘ii linux-image-[0-9]’ instead of double quotes and it worked.
I wanted to know if using the command you gave me when /boot gives me trouble…is that safe? Because i do not want to brick my machines since it has a lot of important data of which i do not have backup of.
@dmknght Is it possible for the Devs to increase the default /boot space in guided install to atleast upto 512Mb or better yer 1024Mb. I know 1024Mb is a bit overkill but by having less than 256Mb in a 1TB brand new Harddrive by default in /boot via guided Encrypted LVM install is causing a bunch of trouble over a period of time. At least pull a request and see how they respond to such situation becuase for a new linux user like me who does not have much knowledge in Linux computing, would rather prefer not to tamper /boot user all sorts of commands as a superuser.
Last week Thanks to @KidKlown I solved the issue with his help, But this week after an update i got a new issue, as usual
└──╼ $sudo apt autoremove
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.133) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133) ...
update-initramfs: Generating /boot/initrd.img-5.1.0-parrot1-3t-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.1.0-parrot1-3t-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
Configuring sandbox profiles....
Sandbox profiles updated!
Scanning application launchers
Updating active launchers
E: Sub-process /usr/bin/dpkg returned an error code (1)
Will be running the command i was provided by @KidKlown (Thanks again ) and hope that it works, at least for now.
If you want to remove kernel 5.1, you have to boot as other kernel version. Current stable version is 4.19.37. You can do it in advanced boot option.
The /boot/ size depends on how you created partitions. If you want to increase partition’s size, you have to do it manually. I believe gparted supports this kind of problem but it takes time.
@dmknght I think i cleared myself a couple of times already in above replies. I used the guided encrypted LVM install which gave me a tiny /boot/ size by default on a brand new HDD. For instance, If I, a new linux user, who just wants a simple encrypted install for basic security, would not be able to do it manually or via Gparted. That would make thing whole lot more complicated and messy. That would infact make this whole thread pointless.
All i said was maybe the ParrotOS Devs would consider increasing the default /boot/ in guided install to avoid a whole lot of issues that users like me experience in future. I cannot explain further in any simpler language. It looks like this thread is going in circles despite the whole point is clear. If someone was able to have an encrypted install manually, why would he/she use the guided installation.