Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I am in the process of repartitioning my disk so that i can install winXP and have a triple boot. It seems wise at this point to set up a dedicated /boot partition so i can add more linux distros in the free space at the end of the drive later.
I already have a distro installed but despite searching LQ and Google I can't seem to find a case of setting up a /boot after you've installed.
I created a dedicated /home after installation and i imagine it is a similar, but maybe less complicated (as it doesn't have to be in /mnt)
I haven't tried this myself because I created a separate /boot partition prior to installation, but I imagine this would be pretty straightforward. What I think ought to work would be to:
* Create the partition and format it with whatever file system you use (ext2, ext3, whatever)
* Reboot into Linux, and go the root directory: cd /
* As root, rename /boot to something else, such as /boot_old.
* Create a new /boot directory at the / level, and verify its permissions are similar to the other /-level directories.
* Mount the new partition to the new /boot mount point
(To illustrate: mount /dev/hdxy /boot where 'x' is the drive and 'y' is the partition)
* Copy the contents of /boot_old back into /boot
* Edit /etc/fstab to include a reference to the new /boot partition
I think that ought to do it, but as I said, I haven't done this personally so take this with a grain a salt. However, if you have already done this before with /home, then doing it for /boot should be essentially exactly the same thing. The fact that it's the /boot partition does not make it any different than any other partition. Good luck with it. -- J.W.
that's exactly the plan i had in mind. anyone else have any feedback as to whether this will work?
i have the installation cd for my distro which lets me boot the system by giving the root partition. does this mean that it bypasses the local boot info and uses info of the CD? if this is so then it would be safe to try this wouldn't it, cos i can boot from the CD and reconfigure - yes?
I did this a while ago. above steps are correct, however I would add one step: re-install your bootloader. almost all bootloaders have at least two stages: one is located in the MBR and just executes the second stage. By moving the /boot to another place, the second stage starts at another point on harddisk so re-installing the bootloader is nessesary. for lilo, just run /sbin/lilo (as root), fur grub, I'm not sure.....
i have the installation cd for my distro which lets me boot the system by giving the root partition. does this mean that it bypasses the local boot info and uses info of the CD?
that's right. In such case, the boot stuff is done from CD, it just mounts the hard drive's partition as / dir, so you can always revert the stuff if something goes wrong.
sorry but I don't completely understand the question I think, but if you mean where to install lilo, it's safest to install on the first bootable partition (they say...) Although I personally prefer the MBR, because I just got problems and more problems with lilo on the first bootable partition.