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
Previous revision
Next revision Both sides next revision
docs:man:installing_pld_linux_based_on_rescue_cd [2013-08-19 07:57]
draenog [Packages installation]
docs:man:installing_pld_linux_based_on_rescue_cd [2019-01-21 19:30]
arekm [Network configuration]
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 =====
  
 +RescueCD and installed PLD system will use the same way of configuring network.
  
-===== Network configuration ===== +By default both try to use DHCP to automatically ​configure network interface ​during a boot process. 
-''​RescueCd''​ should configure (using ​DHCP) our network ​automatically during a boot process. If DHCP is not present, We need to do it manuallyLet's assume We want to set IP to 192.168.0.2. **/​etc/​sysconfig/​interfaces/​ifcfg-eth0** should looks like: +If that works for you you don'​t ​need to do anything. 
 + 
 +If manual configuration is required then configure networking using files below. 
 + 
 +==== eth0 interface configuration: ​/​etc/​sysconfig/​interfaces/​ifcfg-eth0 ​==== 
 + 
 +Assume you want 192.168.0.2 with /24 network (CIRD notation is preferred)
  
 <​file>​DEVICE=eth0 <​file>​DEVICE=eth0
-IPADDR=192.168.0.2+IPADDR=192.168.0.2/24
 ONBOOT=yes ONBOOT=yes
 BOOTPROTO=none BOOTPROTO=none
 </​file>​ </​file>​
-In file **/​etc/​sysconfig/​static-routes** ​ We added route to gateway (ex.: 10.0.0.254): ​ 
  
-<​file>​eth0 ​default ​via 10.0.0.254 +==== Default gateway and default ​gateway interface configuration: ​/etc/sysconfig/​network ====
-</​file>​ +
-In file **/etc/resolv.conf** we add at least one adress of DNS server: ​+
  
-<​file>​nameserver 193.192.160.243 +enable networking, ipv4 networking, set default gateway and interface which should be used to reach geteway:
-</​file>​ +
-In the end We need to reload network configuration+
  
-<​file>#​ service network restart +<​file>​ 
-</​file>​+NETWORKING=yes 
 +IPV4_NETWORKING=yes 
 +GATEWAY=192.168.0.254 
 +GATEWAYDEV=eth0 
 +<​file>​ 
 + 
 +==== DNS resolver IP addresses configuration:​ /​etc/​resolv.conf ==== 
 + 
 +Add default nameservers:​ 
 + 
 +<​file>​nameserver 1.1.1.1 
 +nameserver 8.8.8.8</​file>​ 
 + 
 +=== Reload network === 
 + 
 +<​file>#​ service network restart</​file>​
  
  
Line 86: Line 102:
  
  
-<​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 108: Line 126:
  
 ==== lilo ==== ==== lilo ====
-Edit **/​etc/​lilo.conf** ​+Edit **/pld/​etc/​lilo.conf** ​
  
 <​file>​boot=/​dev/​sda <​file>​boot=/​dev/​sda
Line 128: Line 146:
  
 ==== grub ==== ==== grub ====
-Edit **/​boot/​grub/​menu.lst** ​+Edit **/pld/​boot/​grub/​menu.lst** ​
  
  
docs/man/installing_pld_linux_based_on_rescue_cd.txt · Last modified: 2019-01-21 20:21 by arekm