The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Talk:Undead USB Install/undead2live"
(Created page with "to deploy undead usb from filesystem.squashfs make a MBR usb key with 128m bootable type ef partition, and 8+gb type 83 partition. {{console|body= ###i## unsquashfs -f -d /mnt...") |
(post livecd module list hints from funbuntoo) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
to deploy undead usb from filesystem.squashfs make a MBR usb key with 128m bootable type ef partition, and 8+gb type 83 partition. | to deploy undead usb from filesystem.squashfs make a MBR dos type usb key with 128m bootable type ef on the first partition, and 8+gb type 83 on the second partition. | ||
run 01 target, run 02 cfdisk, run 03 bootstrap area36 script. then unwrap the squashed area36 into the freshly partitioned usb key. | |||
https://code.funtoo.org/bitbucket/users/pnoecker/repos/666/browse | |||
{{console|body= | {{console|body= | ||
###i## unsquashfs -f -d /mnt/funtoo filesystem.squashfs | ###i## unsquashfs -f -d /mnt/funtoo filesystem.squashfs | ||
}} | }} | ||
chroot and install grub again. | chroot and install grub again. | ||
xorrisofs cd generation via extracted disks. | |||
{{console|body= | |||
###i## xorrisofs -D -r -V "test" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e '/boot/grub/efi.img' -no-emul-boot -isohybrid-gpt-basdat -o ../custom.iso . | |||
cd .. | |||
isohybrid -u custom.iso | |||
}} | |||
xorriso having a iso report the command it would take to build it. | |||
{{console|body= | |||
###i## xorriso -indev custom.iso -report_system_area as_mkisofs | |||
}} | |||
{{console|body= | |||
###i## sed '/MODULES_FS/ s/\"$/ squashfs\"/' -i /usr/share/genkernel/arch/$(arch)/modules_load | |||
###i## genkernel initramfs --clean --disklabel --ramdisk-modules --fullname=debian-sources-x86_64-5.10.28_p1 | |||
}} | |||
{{note|truncate seems to break MBR booting}} | |||
{{console|body= | |||
###i## truncate -s 1200K eltorito.img | |||
}} | |||
==funbuntoo module list== | |||
known working module list from funbuntoo: | |||
running ubuntu's kernel to boot our squash image. 5.8.0-43-generic | |||
overlay | |||
nls_utf8 | |||
isofs | |||
dm_mirror | |||
dm_region_hash | |||
dm_log | |||
crct10dif_pclmul | |||
ghash_clmulni_intel | |||
aesni_intel | |||
vmwgfx | |||
ttm | |||
crypto_simd | |||
drm_kms_helper | |||
syscopyarea | |||
sysfillrect | |||
sysimgblt | |||
cryptd | |||
fb_sys_fops | |||
glue_helper | |||
cec | |||
psmouse | |||
rc_core | |||
drm | |||
i2c_piix4 | |||
e1000 | |||
pata_acpi | |||
video |
Latest revision as of 16:57, June 2, 2021
to deploy undead usb from filesystem.squashfs make a MBR dos type usb key with 128m bootable type ef on the first partition, and 8+gb type 83 on the second partition.
run 01 target, run 02 cfdisk, run 03 bootstrap area36 script. then unwrap the squashed area36 into the freshly partitioned usb key. https://code.funtoo.org/bitbucket/users/pnoecker/repos/666/browse
root # unsquashfs -f -d /mnt/funtoo filesystem.squashfs
chroot and install grub again.
xorrisofs cd generation via extracted disks.
root # xorrisofs -D -r -V "test" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e '/boot/grub/efi.img' -no-emul-boot -isohybrid-gpt-basdat -o ../custom.iso . cd .. isohybrid -u custom.iso
xorriso having a iso report the command it would take to build it.
root # xorriso -indev custom.iso -report_system_area as_mkisofs
root # sed '/MODULES_FS/ s/\"$/ squashfs\"/' -i /usr/share/genkernel/arch/$(arch)/modules_load root # genkernel initramfs --clean --disklabel --ramdisk-modules --fullname=debian-sources-x86_64-5.10.28_p1
truncate seems to break MBR booting
root # truncate -s 1200K eltorito.img
funbuntoo module list
known working module list from funbuntoo: running ubuntu's kernel to boot our squash image. 5.8.0-43-generic overlay nls_utf8 isofs dm_mirror dm_region_hash dm_log crct10dif_pclmul ghash_clmulni_intel aesni_intel vmwgfx ttm crypto_simd drm_kms_helper syscopyarea sysfillrect sysimgblt cryptd fb_sys_fops glue_helper cec psmouse rc_core drm i2c_piix4 e1000 pata_acpi video