summaryrefslogtreecommitdiff
path: root/old-school/menu-select
diff options
context:
space:
mode:
Diffstat (limited to 'old-school/menu-select')
-rwxr-xr-xold-school/menu-select20
1 files changed, 11 insertions, 9 deletions
diff --git a/old-school/menu-select b/old-school/menu-select
index 0cc0c67..5f0848f 100755
--- a/old-school/menu-select
+++ b/old-school/menu-select
@@ -62,15 +62,17 @@ hwclock_to_system()
62 62
63case "$1" in 63case "$1" in
64 boot-ram) 64 boot-ram)
65 modprobe squashfs || true 65 mkdir /cdrom /btrfs
66 find_squashfs_root | mountsquashes || error 66 bootwait samizdat-cdrom
67 mkdir /overlay || error 67 mount -t btrfs -o loop,subvol=ROOT /cdrom/live/filesystem.btrfs /btrfs
68 mount -t tmpfs tmpfs /overlay || error 68 modprobe brd rd_size=$((256 * 1024 * 2))
69 mkdir /overlay/gpg || error 69 btrfs device add /dev/ram0 /btrfs
70 ln -s /overlay/gpg /gpg 70 mount -o rw,remount /btrfs
71 71 mount -o move /btrfs /root
72 init_gpg || error 72 mkdir /root/cdrom
73 bootdone squashfs-root rw-overlay 73 mount -o move /cdrom /root/cdrom
74
75 bootdone root-mounted
74 ;; 76 ;;
75 boot-overwrite|boot-new|boot-luks) 77 boot-overwrite|boot-new|boot-luks)
76 dev="$2" 78 dev="$2"