[Prepare to install kernel] --- https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548095718 +++ https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?rev=1548096453 @@ -104,18 +104,37 @@ ==== 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 # mount -o bind /sys /pld/sys # mount -o bind /dev /pld/dev </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.: <file>/dev/sda1 swap swap defaults 0 0 - /dev/sda2 / ext3 defaults 0 0 + /dev/sda2 / ext4 defaults 0 0 </file> + \\ :!: Write something more here :!:
Diff URL: https://www.pld-linux.org/docs/man/installing_pld_linux_based_on_rescue_cd?do=diff&r1=1548095718&r2=1548096453 -- 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
