Lines 479-491
Link Here
|
479 |
if, by any chance, your hard drive becomes unusable (unbootable). |
479 |
if, by any chance, your hard drive becomes unusable (unbootable). |
480 |
|
480 |
|
481 |
GRUB comes with boot images, which are normally put in the directory |
481 |
GRUB comes with boot images, which are normally put in the directory |
482 |
@file{/usr/lib/grub/i386-pc}. If you do not use grub-install, then |
482 |
@file{/usr/lib/grub}. If you do not use grub-install, then |
483 |
you need to copy the files @file{stage1}, @file{stage2}, and |
483 |
you need to copy the files @file{stage1}, @file{stage2}, and |
484 |
@file{*stage1_5} to the directory @file{/boot/grub}, and run the |
484 |
@file{*stage1_5} to the directory @file{/boot/grub}, and run the |
485 |
@command{grub-set-default} (@pxref{Invoking grub-set-default}) if you |
485 |
@command{grub-set-default} (@pxref{Invoking grub-set-default}) if you |
486 |
intend to use @samp{default saved} (@pxref{default}) in your |
486 |
intend to use @samp{default saved} (@pxref{default}) in your |
487 |
configuration file. Hereafter, the directory where GRUB images are |
487 |
configuration file. Hereafter, the directory where GRUB images are |
488 |
initially placed (normally @file{/usr/lib/grub/i386-pc}) will be |
488 |
initially placed (normally @file{/usr/lib/grub}) will be |
489 |
called the @dfn{image directory}, and the directory where the boot |
489 |
called the @dfn{image directory}, and the directory where the boot |
490 |
loader needs to find them (usually @file{/boot/grub}) will be called |
490 |
loader needs to find them (usually @file{/boot/grub}) will be called |
491 |
the @dfn{boot directory}. |
491 |
the @dfn{boot directory}. |
Lines 513-519
Link Here
|
513 |
|
513 |
|
514 |
@example |
514 |
@example |
515 |
@group |
515 |
@group |
516 |
# @kbd{cd /usr/lib/grub/i386-pc} |
516 |
# @kbd{cd /usr/lib/grub} |
517 |
# @kbd{dd if=stage1 of=/dev/fd0 bs=512 count=1} |
517 |
# @kbd{dd if=stage1 of=/dev/fd0 bs=512 count=1} |
518 |
1+0 records in |
518 |
1+0 records in |
519 |
1+0 records out |
519 |
1+0 records out |
Lines 707-713
Link Here
|
707 |
Copy the file @file{stage2_eltorito}: |
707 |
Copy the file @file{stage2_eltorito}: |
708 |
|
708 |
|
709 |
@example |
709 |
@example |
710 |
$ @kbd{cp /usr/lib/grub/i386-pc/stage2_eltorito iso/boot/grub} |
710 |
$ @kbd{cp /usr/lib/grub/stage2_eltorito iso/boot/grub} |
711 |
@end example |
711 |
@end example |
712 |
|
712 |
|
713 |
If desired, make the config file @file{menu.lst} under @file{iso/boot/grub} |
713 |
If desired, make the config file @file{menu.lst} under @file{iso/boot/grub} |