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