User Tools

Site Tools


docs:man:installing_pld_linux_based_on_rescue_cd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
docs:man:installing_pld_linux_based_on_rescue_cd [2008-10-25 16:32]
grizz
docs:man:installing_pld_linux_based_on_rescue_cd [2018-01-22 10:24]
spider some fix
Line 1: Line 1:
 +/* pragma: section-numbers 2 */
  
  
Line 69: Line 70:
  
  
-<​file>#​ poldek --root /pld+<​file>​# rpm --root /pld --initdb 
 +# poldek --root /pld
  
-poldek> install setup FHS dev pwdutils chkconfig dhcpcd poldek vim geninitrd \ +poldek> install setup FHS udev pwdutils chkconfig dhcpcd poldek vim geninitrd \ 
-modutils ​cpio lilo mount login mingetty+kmod cpio lilo
 </​file>​ </​file>​
 \\ :!: Write something more here :!:  \\ :!: Write something more here :!: 
Line 78: Line 80:
  
  
-===== Prepare to install kernel ​=====+===== Kernel installation ===== 
 + 
 + 
 +==== Prepare to install kernel ====
  
  
-<​file>#​ mount /proc /pldroot/proc -o bind+<​file>#​ mount -o bind /proc /pld/proc 
 +# mount -o bind /sys /pld/sys 
 +# mount -o bind /dev /pld/dev
 </​file>​ </​file>​
-Configure **/​etc/​fstab** ex.: +Configure **/pld/​etc/​fstab** ex.: 
  
 <​file>/​dev/​sda1 swap swap defaults 0 0 <​file>/​dev/​sda1 swap swap defaults 0 0
Line 92: Line 99:
  
  
-===== Kernel installation ​=====+==== Kernel installation ====
  
  
Line 100: Line 107:
  
 ===== Bootloader ===== ===== Bootloader =====
-\\ :!Write something more here :!+ 
 + 
 +==== lilo ==== 
 +Edit **/​pld/​etc/​lilo.conf**  
 + 
 +<​file>​boot=/​dev/​sda 
 +read-only 
 +lba32 
 +prompt 
 +timeout=100 
 + 
 +image=/​boot/​vmlinuz 
 +        label=pld 
 +        root=/​dev/​sda2 
 +        initrd=/​boot/​initrd 
 +</​file>​ 
 +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]]  
 + 
  
 ===== udev ===== ===== udev =====
docs/man/installing_pld_linux_based_on_rescue_cd.txt · Last modified: 2019-01-21 20:21 by arekm