--- https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548096778 +++ https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548096958 @@ -164,10 +164,22 @@ If booting with new initrd fails you can use **debuginitrd** and **debuginitrd=sh** boot kernel cmdline options to debug the problem. ===== 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** <file>boot=/dev/sda read-only @@ -183,33 +195,8 @@ And execute: <file># chroot /pld /sbin/lilo </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 lilo and grub configuration is described here: [[:Docs:man:Bootloader|../Bootloader]]
Diff URL: https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?do=diff&r1=1548096778&r2=1548096958 -- This mail was generated by DokuWiki at https://www.pld-linux.org/ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
