
Triple Booting?
Started by
ashuping
, Dec 24 2006 08:24 PM
#1
Posted 24 December 2006 - 08:24 PM

#2
Posted 24 December 2006 - 09:06 PM

Yes, it can be done. First, you should have /boot be a separate partition, although it is not required. This keeps all the boot files separate from the versions and off the OS partition. When you install the second version, specify that partition, but don't format it. This will allow you to reload the OS and not harm the boot info, whereas if you have /boot on one of the root partitions, then it will be erased if you reload the OS.
If you don't want to do that, then you can copy the files from the first install to the /boot of the second one or vice versa and specify the boot partition as the first one.
If you mount the Ubuntu filesystem manually, you can copy the files from /boot, which are different, then update /boot/grub/menu.lst to have the boot info.
If you don't want to do that, then you can copy the files from the first install to the /boot of the second one or vice versa and specify the boot partition as the first one.
If you mount the Ubuntu filesystem manually, you can copy the files from /boot, which are different, then update /boot/grub/menu.lst to have the boot info.
#3
Posted 24 December 2006 - 09:11 PM

I'm still a bit of a newbie at Linux, can you give me a bit more detailed instructions on how to copy the files, or any of the other tips you provided?

#4
Posted 24 December 2006 - 09:28 PM

If you want to reload, then manually partition the disk with around 100Mb for /boot. With the first load, format the partition, on the second one, don't format it. You can do all the partitioning on the first load. This will do all of what you need, hopefully.
If you want to copy the files manually, mount the other filesystem, if it is not already mounted (use the "df" command to see what is mounted). I don't know the partitioning information, so I can give you specific details. Depending on if you specified it when you did the second load, it could be listed in /etc/fstab, but most likely you did not do that, so you would mount it with a command something like "mount /dev/hda2 /mnt/root", but you need to create the directory "/mnt/root" first and you can use any name that you want.
Once it is mounted, you can go to that directory "cd /mnt/root/boot", look at the files with "ls" and compare that with what is in /boot. Look at the entries in /mnt/root/boot/grub/menu.lst and add those to /boot/grub/menu.lst. You will need to specify which one you want to be the default boot partition. To copy the files, use the command "cp". You may need to specify the real file instead of the link in menu.lst, so use "ls -l" to see what the real file is.
If you want to copy the files manually, mount the other filesystem, if it is not already mounted (use the "df" command to see what is mounted). I don't know the partitioning information, so I can give you specific details. Depending on if you specified it when you did the second load, it could be listed in /etc/fstab, but most likely you did not do that, so you would mount it with a command something like "mount /dev/hda2 /mnt/root", but you need to create the directory "/mnt/root" first and you can use any name that you want.
Once it is mounted, you can go to that directory "cd /mnt/root/boot", look at the files with "ls" and compare that with what is in /boot. Look at the entries in /mnt/root/boot/grub/menu.lst and add those to /boot/grub/menu.lst. You will need to specify which one you want to be the default boot partition. To copy the files, use the command "cp". You may need to specify the real file instead of the link in menu.lst, so use "ls -l" to see what the real file is.
Edited by Kemasa, 24 December 2006 - 09:32 PM.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
As Featured On:






