The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Talk:Undead USB Install"
m (mounting up) |
|||
Line 12: | Line 12: | ||
###i## fatlabel /dev/sdc2 "boot" | ###i## fatlabel /dev/sdc2 "boot" | ||
###i## jfs_tune -L "root" /dev/sdc3 | ###i## jfs_tune -L "root" /dev/sdc3 | ||
}} | |||
{{console|body= | |||
###i## mount /dev/sdc3 /mnt/funtoo | |||
###i## mkdir /mnt/funtoo/boot | |||
###i## mount /dev/sdc2 /mnt/funtoo/boot | |||
}} | }} | ||
Revision as of 14:48, October 9, 2020
updating to both uefi & legacy mode sandbox
https://superuser.com/questions/801515/is-a-hybrid-linux-usb-stick-for-uefi-legacy-bios-possible
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 # fatlabel /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
root # mv /etc/fstab /etc/fstab.backup root # echo "LABEL=boot /boot vfat noauto,noatime 0 2" >> /etc/fstab
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.