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 Both sides next revision
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:35]
arekm [Packages installation]
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:47]
arekm [Prepare to install kernel]
Line 106: Line 106:
 ==== Prepare to install kernel ==== ==== Prepare to install kernel ====
  
 +Before installing kernel you need to mount kernel proc, sys and dev filesystems inside of chroot:
  
 <​file>#​ mount -o bind /proc /pld/proc <​file>#​ mount -o bind /proc /pld/proc
Line 111: Line 112:
 # mount -o bind /dev /pld/dev # mount -o bind /dev /pld/dev
 </​file>​ </​file>​
 +
 +You need to tell initrd generator which hardware driver is needed to access your rootfs filesystem
 +by setting scsi_hostadapter alias in **/​etc/​modprobe,​d/​modprobe.conf** (or any other file in that directory)
 +
 +<​file>​alias scsi_hostadapter ahci</​file>​
 +
 +**lspci -k** command run on rescuecd can help you to find a correct driver:
 +
 +<​file>​
 +00:01.1 IDE interface: Intel Corporation 82371AB/​EB/​MB PIIX4 IDE (rev 01)
 +        Kernel driver in use: ata_piix
 +        Kernel modules: ata_piix, pata_acpi, ata_generic
 +</​file>​
 +
 +Note **Kernel driver in use: ata_piix** (alias scsi_hostadapter ata_piix)
 +
 +
 Configure **/​pld/​etc/​fstab** ex.:  Configure **/​pld/​etc/​fstab** ex.: 
  
 <​file>/​dev/​sda1 swap swap defaults 0 0 <​file>/​dev/​sda1 swap swap defaults 0 0
-/dev/sda2 /    ​ext3 defaults 0 0+/dev/sda2 /    ​ext4 defaults 0 0
 </​file>​ </​file>​
 +
 \\ :!: Write something more here :!:  \\ :!: Write something more here :!: 
  
docs/man/installing_pld_linux_based_on_rescue_cd.txt ยท Last modified: 2019-01-21 20:21 by arekm