Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 hust realized that I did not separate /boot from / when I installed RHEL3 on one of my machines. Is there a way re-partition to separate /boot, or should I leave as is? The machine is dual boot, and I had a trial geting it running, so I don't want to re-install if I can avoid.
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217
Rep:
because of the importance of /boot, id recommend not touching it, but it should have installed on a seperate partition at install time, unless you did something wierd
check your partition table and make sure its really in the / partition
run mount and look for /boot, if its in mount, its already in a seperate partition
try this. assuming you have room on the hard disk to make a new partition, make one large enough to hold /boot. It doesn't have to be much larger than the current /boot directory, unless you plan to add more kernels.
Then, copy /boot to the new partition, and rename the current /boot directory in /. if anything goes wrong, you can fix it by booting from install cd and name it back. you will also have to edit /etc/fstab and grub.conf to remove the /boot partition from fstab, and re-define the location of /boot in grub.conf.
edit /etc/fstab to add the new partition with mount point.
edit grub.conf to change the location of /boot/vmlinuz (or whatever it's called on your distro):
kernel (hd0,5)/vmlinuz (assuming hd0,5 is the new /boot partition.
if the above procedure works to your satisfaction, you can then delete /boot directory under /.
I decided to re-install Windows and then RHEL3, the use disk druid to partition the /boot separately, and it all worked out great. Funny thing is, after all the time doing this, the server has been running the linux partition ever since!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.