bios-install
bios
mkpart primary
msdos
PARTLABEL
PART-TYPE
ext4
#!/bin/sh rm -f glaucus.img dd bs=1M count=1024 if=/dev/zero of=glaucus.img parted -s glaucus.img mklabel msdosparted -s glaucus.img mkpart primary ext4 1 100%parted -s glaucus.img set 1 boot on modprobe loop losetup -D device="$(losetup -f)"partition=${device}p1 losetup $device glaucus.imgpartx -a $device mke2fs -t ext4 $partition rm -fr /mnt/glaucusmkdir -p /mnt/glaucus mount $partition /mnt/glaucus rsync -aHAXx cross/ /mnt/glaucus mkdir -p /mnt/glaucus/bootcp -af /boot/vmlinuz-linux-cachyos /mnt/glaucus/boot/vmlinuzbooster build --force --compression=zstd --config=/var/lib/rad/clusters/cerata/booster/booster.yaml --universal --strip /mnt/glaucus/boot/initramfs mkdir -p /mnt/glaucus/boot/limine cp -af /home/firasuke/Downloads/Git/glaucus/cerata/limine/limine.cfg.img /mnt/glaucus/boot/limine/limine.cfgcp -af /usr/share/limine/limine-bios.sys /mnt/glaucus/boot/limine limine bios-install glaucus.img chown -R 0:0 /mnt/glaucuschown -R 20:20 /mnt/glaucus/var/log/wtmpd umount -fqR /mnt/glaucus partx -d $partitionlosetup -d $device chown firasuke:firasuke glaucus.img