User Tools

Site Tools


docs:man:installing_pld_linux_based_on_rescue_cd

This is an old revision of the document!


Installing PLD Linux based on Rescue CD

TOC

Requirements

Download RescueCD from : http://rescuecd.pld-linux.org/ You need at least a i486 machine with 40MB RAM to run PLD RescueCD.

Partition disk

Use for example cfdisk to partition your destination disk. Usually root partition (/) and swap is enough.
:!: Write something more here :!:

Filesystem

Initiate swap space

# mkswap /dev/sda1

Make filesystem (ex. ext3)

# mkfs.ext3 /dev/sda2

We need to create mountpoint, and mounnt partition into it.

# mkdir /pld
# mount /dev/hda2 /pld

If We want to use more partitions (ex. /boot), We need to mount it too.

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:

DEVICE=eth0
IPADDR=192.168.0.2
ONBOOT=yes
BOOTPROTO=none

In file /etc/sysconfig/static-routes We added route to gateway (ex.: 10.0.0.254):

eth0 default via 10.0.0.254

In file /etc/resolv.conf we add at least one adress of DNS server:

nameserver 193.192.160.243

In the end We need to reload network configuration:

# service network restart

Poldek's configuration

In file /etc/poldek/repos.d/pld.conf We need to set _arch = to chosen architecture ex.

_arch   = x86_64

Packages installation

# rpm --root /pld --initdb
# poldek --root /pld

poldek> install setup FHS udev pwdutils chkconfig dhcpcd poldek vim geninitrd \
kmod cpio lilo


:!: Write something more here :!:

Kernel installation

Prepare to install kernel

# mount /proc /pldroot/proc -o bind

Configure /etc/fstab ex.:

/dev/sda1 swap swap defaults 0 0
/dev/sda2 /    ext3 defaults 0 0


:!: Write something more here :!:

Kernel installation

# poldek --root /pld -i kernel

Bootloader

lilo

Edit /etc/lilo.conf

boot=/dev/sda
read-only
lba32
prompt
timeout=100

image=/boot/vmlinuz
        label=pld
        root=/dev/sda2
        initrd=/boot/initrd

And execute:

# chroot /pld /sbin/lilo

grub

Edit /boot/grub/menu.lst

timeout 10

title  pld
root (hd0,1)
kernel /boot/vmlinuz boot=/dev/hda
initrd /boot/initrd

And execute

# chroot /pld /sbin/grub

A Grub's shell will started. Let's make some changes:

grub> root (hd0,1)
grub> setup (hd0)
grub> quit

Advanced configuration

Advanced lilo and grub configuration is described here: ../Bootloader

udev


:!: Write something more here :!:

User accounts


:!: Write something more here :!:

Finishing


:!: Write something more here :!:

TOC

CategoryUpdateNeeded

docs/man/installing_pld_linux_based_on_rescue_cd.1376891830.txt.gz · Last modified: 2013-08-19 07:57 by draenog