updates nov 16th.
This commit is contained in:
9
init.sh
9
init.sh
@@ -1,8 +1,13 @@
|
||||
#!/bin/busybox sh
|
||||
/bin/busybox mount -t devtmpfs devtmpfs /dev
|
||||
/bin/busybox mount -t proc none /proc
|
||||
/bin/busybox mount -t proc proc /proc
|
||||
/bin/busybox mount -t sysfs none /sys
|
||||
/bin/busybox mount -t sysfs none /run
|
||||
/bin/busybox mkdir -p /newroot
|
||||
/bin/busybox mount /dev/sda2 /newroot
|
||||
#/bin/busybox ln -s "/lib/modules/" "/lib/modules/$(uname -r)"
|
||||
#depmod -a
|
||||
#/bin/busybox modprobe nbd max_part=2
|
||||
exec /bin/busybox sh
|
||||
|
||||
exec switch_root /newroot /bin/bash
|
||||
#exec /bin/busybox sh
|
||||
|
||||
Reference in New Issue
Block a user