SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using Slackware -current and have a /boot partition of 100M, now i realise this partition is a bit small and want to gain space to have the choice to boot two Kernel in lilo.
I removed the huge Kernel package.
I'm using lilo and an initrd with the generic Kernel 5.4.84 but now want to have a second initrd for the 5.15.2 Kernel.
Can i safely delete the initrd-tree to gain space and continue to boot the 5.4.84 initrd ?
I also notice there is a grub folder of ~10M in the /boot folder, can i delete this folder ? Removing grub with pkgtool did not removed this folder.
A final note, my setup is in raid with three drive, and i have ~1G of free space on every drive, but i don't know if it's possible, and a good idea, to try to make this /boot partition bigger, sounds risky to me.
Hi, I suggest you to use a different path for your initrd-tree. You can delete /boot/initrd-tree safely.
If you don't use grub, you can also delete /boot/grub.
Hi, I suggest you to use a different path for your initrd-tree. You can delete /boot/initrd-tree safely.
If you don't use grub, you can also delete /boot/grub.
Thank you Thom1b, relocating the initrd-tree is obvious but did not think about it
Quote:
Originally Posted by vonbiber
you could also try to use gparted to move/resize your partitions.
From the manual
my /boot partition is also at the beginning, but my setup is in raid with three drives as described here in an old thread
Actually with 100M, the trick to move the inird-tree and the grub folder deleted i was able to install a second kernel.
About the grub folder by the way, i ran an update yesterday and folder came back, grub-2.06 was not in the updated packages, but an empty /boot folder exist in this package, and now have deleted it again so can't investigate further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.