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 revisionPrevious revision
Next revision
Previous revision
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 20:03] – [Finishing] arekmdocs:man:installing_pld_linux_based_on_rescue_cd [2024-11-13 13:35] (current) – [Partition disk] anything there arekm
Line 13: Line 13:
  
 ===== Partition disk ===== ===== Partition disk =====
-Use for example ''cfdisk'' to partition your destination disk. Usually root partition (/) and swap is enough. \\ :!: Write something more here :!: +Use for example ''cfdisk'' to partition your destination disk. Usually root partition (/) and swap is enough. 
 + 
 +There are many ways you can partition your disk. Simple example below: 
 + 
 +  * cfdisk /dev/sdX (assuming fresh disk visible in system as sdX) 
 +  * choose GPT partition table 
 +  * create 10MB BIOS Boot partition 
 +  * create 1GB EFI System partition 
 +  * create Linux partition (or more partitions) for PLD 
 + 
 + 
 +\\ :!: Write something more here :!: 
  
  
Line 85: Line 96:
 ===== Packages installation ===== ===== Packages installation =====
  
 +All packages are installed using **poldek** tool (it is a package manager for PLD).
  
 <file># rpm --root /pld --initdb <file># rpm --root /pld --initdb
Line 95: Line 107:
  
 <file>udev pwdutils dhcpcd poldek vim geninitrd grub2 e2fsprogs tzdata glibc-localedb-all</file> <file>udev pwdutils dhcpcd poldek vim geninitrd grub2 e2fsprogs tzdata glibc-localedb-all</file>
 +
 +If **xfs** filesystem was chosen then please install:
 +
 +<file>xfsprogs</file>
  
  
Line 127: Line 143:
  
 Note **Kernel driver in use: ata_piix** (alias scsi_hostadapter ata_piix) Note **Kernel driver in use: ata_piix** (alias scsi_hostadapter ata_piix)
 +
 +While at it, on actual installed PLD system (not needed on rescuecd), you can do the same for network card driver:
 +
 +<file>alias netdev-eth0 e1000e</file>
 +
 +(again **lspci -k** will help to choose correct one)
  
  
Line 151: Line 173:
  
 By default kernel installation also generates initrd based on mounted /proc, /sys, /dev files and configured fstab, modprobe.conf and few others configuration files. generated initrd (which by default is initramfs cpio image) is saved in /boot. By default kernel installation also generates initrd based on mounted /proc, /sys, /dev files and configured fstab, modprobe.conf and few others configuration files. generated initrd (which by default is initramfs cpio image) is saved in /boot.
 +
 +----
 +
 +There are two initrd generators used in PLD: geninitrd and dracut. Choose one.
 +
 +=== geninitrd ===
  
 If something fails or you want to regenerate initrd manually you can do it using: If something fails or you want to regenerate initrd manually you can do it using:
Line 161: Line 189:
  
 //-v// option causes geninitrd to write additional information, so you can see if proper kernel modules are being installed into initrd. //-v// option causes geninitrd to write additional information, so you can see if proper kernel modules are being installed into initrd.
 +
 +=== dracut ===
 +
 +:!: Write something more here :!:
 +
 +----
 +
 +PLD supports systemd and non-systemd installations. In case of systemd installation you need to install package
 +
 +<file>systemd</file>
 +
 +package and setup default boot kernel cmdline option in grub/lilo. Add
 +
 +<file>init=/bin/systemd systemd.unit=graphical.target</file>
  
  
Line 176: Line 218:
 <file>update-grub</file> <file>update-grub</file>
  
-Resulting file is saved as **/boot/grub/grub.cfg**.+Resulting file is saved as **/boot/grub/grub.cfg**. Setting custom options for grub2 can be done in **/etc/sysconfig/grub** (then regenerate **grub.cfg** with **update-grub** command).
  
  
docs/man/installing_pld_linux_based_on_rescue_cd.1548097403.txt.gz · Last modified: 2019-01-21 20:03 by arekm

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki