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.
So I guess that yes, you can move /boot to another partition of your drive (/dev/sda in your case) and update /etc/fstab accordingly. I'm not sure if /boot must be the first partition in your drive (as indicated in Gentoo handbook).
I don't think that lilo.conf need to be updated: you specify in it the drive to boot (/dev/sda) and the physical location of your "/" directory (/dev/sda1).
I have a 10 MB partition that I use for /boot. In my case it is hda1, so I don't know if it can be other than the first partition. The kernel, sysmap, etc are in the top of this directory. I use GRUB, so the GRUB files are in /dev/hda1/grub. My menu.lst line for this is:
If you don't intend to experiment with many kernels, you should be OK with a 500M partition.
Wow you're talking big. I remember it was not that long ago when a RedHat installer asked me to create a /boot of at least 16MB. When did we go to gigabytes?
I think 500 megs is quite a big too. What the heck is eating over 140 megabytes on your /boot? I'd check out, since in my own experience you don't really need that much space (well if you have a few dozens of fully equipped, every-module-installed kernels, then yeah), it's just pure waste having over 7 gigabytes of unused space on /boot.
Wow you're talking big. I remember it was not that long ago when a RedHat installer asked me to create a /boot of at least 16MB. When did we go to gigabytes
Yes a 500MB /boot partition is big but I looked at the lilo.conf file and there were 4 kernels.
So maybe gbowden wants to do some testing and I wanted to recommend him a safe limit.
otherwise you have to check how the partitions are physically on the disk. The /boot partition can be shrunk easily using filesize. A new 100 to 200M partition created at the end of the free space and /boot copied to it and the old /boot deleted. The free space created that way can be added to the partition preceding it on the drive whatever that may be. Re run lilo at the end to get everything set properly.
If you don't plan to add other kernels, you can do with a 50Mb /boot partition.
As for the remaining free partition from your old swap partition, it's up to you to decide what to do with it (OK, I think you know that). So here's a HOW-TO to help you decide:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.