diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-08 19:20:05 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-08 19:20:05 +1200 |
| commit | 18ee85b9efe6ab31db652e9a9f919603ca5edd4b (patch) | |
| tree | be6001831286c3de8e94e5b08f4b661a81cd92a8 /initramfs_init | |
| parent | 0bc407c91f304edbccd75636de2f257043021893 (diff) | |
| download | yerbalinux-18ee85b9efe6ab31db652e9a9f919603ca5edd4b.tar.xz yerbalinux-18ee85b9efe6ab31db652e9a9f919603ca5edd4b.zip | |
Try to fix initramfs
Diffstat (limited to 'initramfs_init')
| -rw-r--r-- | initramfs_init | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/initramfs_init b/initramfs_init index 865a91d..ef327ce 100644 --- a/initramfs_init +++ b/initramfs_init @@ -1,20 +1,33 @@ #!/bin/sh +echo "[yerba-initramfs/init] DEBUG: running ls on /" +ls / + +mkdir -p /proc /sys /dev + mount -t proc none /proc mount -t sysfs none /sys mount -t devtmpfs none /dev echo "[yerba-initramfs/init] Mounted /dev, /proc, /sys respectively" +# wait for CD-ROM?? +sleep 1 + mkdir -p /mnt/iso +ls /mnt/iso mount /dev/sr0 /mnt/iso echo "[yerba-initramfs/init] Mounted /dev/sr0 (ISO root)" +echo "[yerba-initramfs/init] DEBUG: running ls on /mnt/iso" mkdir -p /mnt/root mount -t squashfs -o loop /mnt/iso/yerba/rootfs.squashfs /mnt/root echo "[yerba-initramfs/init] Mounted squashfs at /mnt/root" +echo "[yerba-initramfs/init] DEBUG: running ls on /mnt/root" +ls /mnt/root +mkdir -p /mnt/overlay mount -t tmpfs tmpfs /mnt/overlay mkdir -p /mnt/overlay/upper /mnt/overlay/work /mnt/overlay/merged echo "[yerba-initramfs/init] Mounted tmpfs at /mnt/overlay and created upper, work & merged directories" |
