21 |
mount -t devpts -o mode=620 devpts /dev/pts |
mount -t devpts -o mode=620 devpts /dev/pts |
22 |
mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm |
mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm |
23 |
|
|
24 |
|
cp -a /tmp/stage2/dev/. /dev/ |
25 |
/lib/udev/udevd --daemon --resolve-names=never |
/lib/udev/udevd --daemon --resolve-names=never |
26 |
udevadm trigger --type=subsystems --action=add |
udevadm trigger --type=subsystems --action=add |
27 |
udevadm trigger --type=devices --action=add |
udevadm trigger --type=devices --action=add |
31 |
rm -f /etc/passwd |
rm -f /etc/passwd |
32 |
cp /tmp/stage2/etc/passwd /etc/ |
cp /tmp/stage2/etc/passwd /etc/ |
33 |
|
|
34 |
rm -f /dev ; cp -a /tmp/stage2/dev /dev |
mkdir -p /mnt /var/log |
|
|
|
|
mkdir -p /mnt /var/log /dev/pts |
|
35 |
|
|
36 |
>/etc/mtab |
>/etc/mtab |
37 |
mount -f / |
mount -f / |