6 PATH
="/sbin:/bin:/usr/sbin:/usr/bin"
8 busybox mount
-t proc proc
/proc
9 busybox mount
-t sysfs sysfs
/sys
16 if [ -f /etc
/modules
]; then
18 cat /etc
/modules |
while read mod
; do
23 echo /bin
/mdev
> /proc
/sys
/kernel
/hotplug
27 if [ "$MODE" = "cdrom" ]; then
29 mount
-t iso9660
/dev
/cdrom
/mnt
/cdrom
32 mount
-t vfat
/dev
/sda1
/mnt
/usb
37 if [ "$MODE" = "cdrom" ]; then
38 mount
-t squashfs
-o loop
/mnt
/cdrom
/debianlive
/root.sfs
/mnt
/newroot_ro
40 mount
-t squashfs
-o loop
/mnt
/usb
/debianlive
/root.sfs
/mnt
/newroot_ro
44 mount
-t tmpfs
-o size
=16M tmpfs
/mnt
/newroot_rw
47 mount
-t overlayfs
-o lowerdir
=/mnt
/newroot_ro
,upperdir
=/mnt
/newroot_rw overlayfs
/mnt
/newroot
51 exec chroot .
/sbin
/init
3 </dev
/console
>/dev
/console
2>&1