Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Talk:Undead USB Install

From Funtoo
Revision as of 09:24, October 10, 2020 by Pnoecker (talk | contribs)
Jump to navigation Jump to search

updating to both uefi & legacy mode sandbox

https://www.funtoo.org/Talk:Install/GPT_Partitioning <--correct partitioning to load legacy mode, and uefi mode.

root # mkfs.vfat -F 32 /dev/sdc2
root # mkfs.jfs /dev/sdc3

label your partitions.

root # mlabel -i /dev/sdc2 ::"BOOT"
root # jfs_tune -L "ROOT" /dev/sdc3
root # mount /dev/sdc3 /mnt/funtoo
root # mkdir /mnt/funtoo/boot
root # mount /dev/sdc2 /mnt/funtoo/boot

STOP HERE!!! go back to undead usb article now and start from the top.

(minimal tarball to speed up reinstalls to build documentation)

root # cd /mnt/funtoo
root # wget https://build.funtoo.org/1.4-release-std/x86-64bit/generic_64/stage3-latest.tar.xz
root # tar --numeric-owner -xpf *stage* && rm -f *stage*


Show partition labels.

root # lsblk -o name,label

stab 2 at getting uefi going from legacy machine.

root # mkdir /boot/efi
root # mount /dev/sdc1 /boot/efi
root # grub-install --target=x86_64-efi /boot/efi

/boot/efi/efi/gentoo/grubx64.efi is generated. doesn't load probably secure boot unsigned image or something like that.

stab 3 gpt partitioning via official install method gdisk. testing legacy grub + gpt to verify that MBR can be deprecated.

legacy loaded grub this time from a gpt partition. i think i didn't delete the fstab defaults, it wasn't mounting root correctly but very close to running.


https://superuser.com/questions/801515/is-a-hybrid-linux-usb-stick-for-uefi-legacy-bios-possible

talk to me here