docs:man:installing_pld_linux_based_on_rescue_cd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:52] – [Kernel installation] arekm | docs: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 '' | + | Use for example '' |
| + | |||
| + | 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). | ||
| < | < | ||
| Line 94: | Line 106: | ||
| Packages which make sense to be installed: | Packages which make sense to be installed: | ||
| - | //udev pwdutils dhcpcd poldek vim geninitrd grub2 e2fsprogs// | + | < |
| + | |||
| + | If **xfs** filesystem was chosen then please install: | ||
| + | |||
| + | < | ||
| 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: | ||
| + | |||
| + | < | ||
| + | |||
| + | (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, | //-v// option causes geninitrd to write additional information, | ||
| + | |||
| + | === dracut === | ||
| + | |||
| + | :!: Write something more here :!: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | PLD supports systemd and non-systemd installations. In case of systemd installation you need to install package | ||
| + | |||
| + | < | ||
| + | |||
| + | package and setup default boot kernel cmdline option in grub/lilo. Add | ||
| + | |||
| + | < | ||
| Line 166: | Line 208: | ||
| ===== Bootloader ===== | ===== Bootloader ===== | ||
| + | ==== grub2 ==== | ||
| - | ==== lilo ==== | + | Install grub2 on boot sector of disk: |
| + | |||
| + | < | ||
| + | |||
| + | Generate configuration file for grub2: | ||
| + | |||
| + | < | ||
| + | |||
| + | Resulting file is saved as **/ | ||
| + | |||
| + | |||
| + | ==== lilo (deprecated) | ||
| Edit **/ | Edit **/ | ||
| Line 186: | Line 240: | ||
| </ | </ | ||
| + | ==== Advanced configuration ==== | ||
| + | Advanced lilo and grub configuration is described here: [[: | ||
| - | ==== grub ==== | ||
| - | Edit **/ | ||
| + | ===== udev ===== | ||
| + | \\ :!: Write something more here :!: | ||
| - | < | ||
| - | title pld | ||
| - | root (hd0,1) | ||
| - | kernel / | ||
| - | initrd / | ||
| - | </ | ||
| - | And execute | ||
| - | < | + | ===== User accounts ===== |
| - | </ | + | |
| - | A Grub's shell will started. Let's make some changes: | + | |
| - | < | + | By default **root** account doesn' |
| - | grub> setup (hd0) | + | |
| - | grub> quit | + | |
| - | </ | + | |
| + | < | ||
| - | ==== Advanced configuration ==== | + | \\ :!: Write something more here :!: |
| - | Advanced lilo and grub configuration is described here: [[:Docs:man:Bootloader|../ | + | |
| + | ===== Finishing ===== | ||
| + | If manual network configuration was required for RescueCD then most liikely you need to repeat that [[docs: | ||
| - | ===== udev ===== | + | Last step is umount all filesystems: |
| - | \\ :!: Write something more here :!: | + | |
| + | < | ||
| + | and reboot: | ||
| - | ===== User accounts ===== | + | < |
| - | \\ :!: Write something more here :!: | + | |
| + | |||
| + | If you find errors on this page or want to add anything to installation procedure please write to us at feedback / pld-linux.org. | ||
| - | ===== Finishing ===== | ||
| \\ :!: Write something more here :!: | \\ :!: Write something more here :!: | ||
docs/man/installing_pld_linux_based_on_rescue_cd.1548096778.txt.gz · Last modified: 2019-01-21 19:52 by arekm