archy/EMERGENCY_BOOT_COMMANDS.txt

34 lines
767 B
Plaintext
Raw Normal View History

# Emergency Boot Commands for HP ProDesk
# Type these at the "# _" prompt
# 1. Mount the USB
mkdir -p /media/cdrom
mount -t iso9660 /dev/sda1 /media/cdrom
# 2. Verify modloop exists
ls -l /media/cdrom/boot/modloop-lts
# 3. Setup modloop
modprobe loop
modprobe squashfs
mkdir -p /.modloop
mount -o loop /media/cdrom/boot/modloop-lts /.modloop
# 4. Setup the overlay system
ln -s /.modloop/modules /lib/modules
ln -s /.modloop/firmware /lib/firmware
# 5. Start udev for device detection
/sbin/mdev -s
# 6. Setup Alpine repositories
mkdir -p /etc/apk
echo "/media/cdrom/apks" > /etc/apk/repositories
# 7. Start networking
setup-interfaces -a
# 8. You should now have a working shell!
# Login as root and run the installer:
sh /media/cdrom/archipelago/install.sh