This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:52] arekm [Kernel installation] |
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:55] arekm |
||
---|---|---|---|
Line 166: | Line 166: | ||
===== Bootloader ===== | ===== Bootloader ===== | ||
+ | ==== grub2 ==== | ||
- | ==== lilo ==== | + | Install grub2 on boot sector of disk: |
+ | |||
+ | <file>grub-install /dev/sda</file> | ||
+ | |||
+ | Generate configuration file for grub2: | ||
+ | |||
+ | <file>update-grub</file> | ||
+ | |||
+ | Resulting file is saved as **/boot/grub/grub.cfg**. | ||
+ | |||
+ | |||
+ | ==== lilo (deprecated) ==== | ||
Edit **/pld/etc/lilo.conf** | Edit **/pld/etc/lilo.conf** | ||
Line 185: | Line 197: | ||
<file># chroot /pld /sbin/lilo | <file># chroot /pld /sbin/lilo | ||
</file> | </file> | ||
- | |||
- | |||
- | ==== grub ==== | ||
- | Edit **/pld/boot/grub/menu.lst** | ||
- | |||
- | |||
- | |||
- | <file>timeout 10 | ||
- | |||
- | title pld | ||
- | root (hd0,1) | ||
- | kernel /boot/vmlinuz boot=/dev/hda | ||
- | initrd /boot/initrd | ||
- | </file> | ||
- | And execute | ||
- | |||
- | <file># chroot /pld /sbin/grub | ||
- | </file> | ||
- | A Grub's shell will started. Let's make some changes: | ||
- | |||
- | <file>grub> root (hd0,1) | ||
- | grub> setup (hd0) | ||
- | grub> quit | ||
- | </file> | ||
- | |||
==== Advanced configuration ==== | ==== Advanced configuration ==== |