![]() |
creating a multi-boot partion on an external HDD
Hi, I have an external HDD which I'd like to set up as both storage for my files, and also create a partition which I can use to boot from. I figure though, since I have so much disk space on it, I'd like to be ambitious and install grub, and be able to boot from multiple live-cd images on the drive.
I know there are programs out there designed to do all this automatically for you, on a USB at least, but I'd like to learn something in the process and do this manually. Any tips where to start? I think I understand how to install grub, but I don't understand what do to do wit the .ISO images. Do each need to go in their own partion? Do they have to be uncompressed in some way, or left as a simple .ISO file? Do I need to configure grub to recognize all the OS's I might install? Any help appreciated, thanks. |
It will help if multiple os are installed separately on the disk (instead of putting in live iso/images).
Install instances of Grub on both external disk and internal disk. There would be no need to configure grub2 (usually), but "custom entries" for chain load may be useful. |
If you want to boot an iso file, you will need to use Grub2. Put the iso file in the / of a filesystem which uses the Grub2 bootloader and put an entry in the grub.cfg file for the iso. You can use the loopback method as in the example entry below which boots Linux Mint 12 from a partition with Ubuntu 11.10 installed. The changes you would need to make are the drive/partition numbers on the loopback line, the exact name of the iso file. You would also need the correct path and correct file names for the kernel and initrd entries on the linux and initrd lines. I've used this with Ubuntu derivatives and Parted Magic,don't know if it will work with others:
Code:
menuentry "Linux Mint 12" { Code:
menuentry "Fedora 16 (LiveCD - extracted)" { Quote:
You can use Grub Legacy if you extract the files and copy them to a directory, usually works best if it is in the / of the filesystem. The example for Puppy below shows the Puppy files copied to a directory named 'puppy' on sda8. You should be sure that you have the stage2_eltorito file in the /boot/grub directory of whichever partition you use, in the example below it would be sda8. The entries are going to change for different distributions and you will need to check the isolinux.cfg file on the mounted system to try to ascertain the correct entry: Quote:
|
All times are GMT -5. The time now is 07:28 PM. |