This shows you the differences between two versions of the page.
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-11-09 13:19] grizz typo |
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:19] arekm [Filesystem] |
||
---|---|---|---|
Line 9: | Line 9: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | Download RescueCD from : [[http://rescuecd.pld-linux.org/|http://rescuecd.pld-linux.org/]] You need at least a i486 machine with 40MB RAM to run PLD RescueCD. | + | Download RescueCD from : [[docs:rescuecd|Rescue CD]]. PLD rescue new is preferred. |
Line 19: | Line 18: | ||
===== Filesystem ===== | ===== Filesystem ===== | ||
- | Initiate swap space | + | Initiate swap space: |
<file># mkswap /dev/sda1 | <file># mkswap /dev/sda1 | ||
</file> | </file> | ||
- | Make filesystem (ex. ext3) | ||
- | <file># mkfs.ext3 /dev/sda2 | + | Make filesystem (ex. ext4): |
+ | <file># mkfs.ext4 /dev/sda2 | ||
</file> | </file> | ||
- | We need to create mountpoint, and mounnt partition into it. | ||
+ | We need to create mountpoint and mount partition into it: | ||
<file># mkdir /pld | <file># mkdir /pld | ||
- | # mount /dev/hda2 /pld | + | # mount /dev/sda2 /pld |
</file> | </file> | ||
- | If We want to use more partitions (ex. /boot), We need to mount it too. | ||
- | |||
- | |||
+ | If more partitions are going to be used (like you want to have separate /boot or /home) then these need to be mounted now, too. | ||
===== Network configuration ===== | ===== Network configuration ===== | ||
''RescueCd'' should configure (using DHCP) our network automatically during a boot process. If DHCP is not present, We need to do it manually. Let's assume We want to set IP to 192.168.0.2. **/etc/sysconfig/interfaces/ifcfg-eth0** should looks like: | ''RescueCd'' should configure (using DHCP) our network automatically during a boot process. If DHCP is not present, We need to do it manually. Let's assume We want to set IP to 192.168.0.2. **/etc/sysconfig/interfaces/ifcfg-eth0** should looks like: | ||
Line 70: | Line 66: | ||
- | <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 85: | Line 82: | ||
- | <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 107: | Line 106: | ||
==== lilo ==== | ==== lilo ==== | ||
- | Edit **/etc/lilo.conf** | + | Edit **/pld/etc/lilo.conf** |
<file>boot=/dev/sda | <file>boot=/dev/sda | ||
Line 127: | Line 126: | ||
==== grub ==== | ==== grub ==== | ||
- | Edit **/boot/grub/menu.lst** | + | Edit **/pld/boot/grub/menu.lst** |
Line 151: | Line 150: | ||
==== Advanced configuration ==== | ==== Advanced configuration ==== | ||
- | Advanced lilo and grub configuration is described here: [[:Docs:man:Bootloader|../Bootloader]] }}} | + | Advanced lilo and grub configuration is described here: [[:Docs:man:Bootloader|../Bootloader]] |
+ | |||
===== udev ===== | ===== udev ===== |