Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 11-17-2004, 06:46 AM   #1
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
Re-partitioning to separate /boot

Morning all,

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.


Old 12-19-2004, 11:51 AM   #2
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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

Old 12-19-2004, 12:15 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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 /.
Old 12-19-2004, 12:27 PM   #4
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot with 2 separate hard drives and OS lfierro Linux - Newbie 8 12-11-2004 02:37 PM
Dual boot with separate HDD darrenjhopkins Linux - Newbie 4 10-19-2004 09:59 AM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 02:42 AM
dual boot - Win2K/RH 7.3 on separate HDs rayne Linux - Newbie 3 09-20-2002 05:34 PM
how-to for using lilo to boot two separate drives jackopa Linux - General 4 04-19-2002 02:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration