GRUB Legacy: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Kieran (talk | contribs)
Kieran (talk | contribs)
No edit summary
Line 115: Line 115:
not been able to figure out how. So, to install, either use a Linux distro on your PC of use a Linux Live CD.
not been able to figure out how. So, to install, either use a Linux distro on your PC of use a Linux Live CD.


Putting grub onto a USB pen/disk is as easy as following the above example of installing to a
Putting grub onto a USB Pen/Disk is as easy as following the above example of installing to a
statndard hard disk.
statndard hard disk.


Line 160: Line 160:
setup(sdb1)
setup(sdb1)
quit
quit

==Booting from CD with GRUB==

NOTE: This tutorial required the mkisofs application to generate a CD image. This tutorial
also requires the stage2_eltorito file.

This tutorial can be run on windows (mkisofs is available under the cygwin distribution) or under linux.

To install use the following steps:

Create the required directory structures...

Windows:

mkdir c:\grubcd
mkdir c:\grubcd\iso
mkdir c:\grubcd\iso\boot
mkdir c:\grubcd\iso\boot\grub

Linux:

mkdir -p /grubcd/iso/boot/grub

Copy the stage2_eltorito file:

Windows:

NOTE: The path c:\downloads\grub\ should be changed with the actual location of stage2_eltorito

copy c:\downloads\grub\stage2_eltorito c:\grubcd\iso\boot\grub

Linux:

cp /lib/grub/i386-pc/stage2_eltorito /grubcd/iso/boot/grub

Next, create the iso image:

Windows:

mkisofs -R -b boot\grub\stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso C:\grubcd\iso\

Linux:

mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso grubcd/iso/

Edit this image to include your menu.lst and kernel, then burn to a CD.


==Other Loaders that are multiboot-compliant==
==Other Loaders that are multiboot-compliant==