Difference between revisions of "Talk:Undead USB Install"

From Funtoo
Jump to navigation Jump to search
m
Line 2: Line 2:
https://superuser.com/questions/801515/is-a-hybrid-linux-usb-stick-for-uefi-legacy-bios-possible
https://superuser.com/questions/801515/is-a-hybrid-linux-usb-stick-for-uefi-legacy-bios-possible


device > create partition table > gpt
https://www.funtoo.org/Talk:Install/GPT_Partitioning <--correct partitioning to load legacy mode, and uefi mode.


 
rest of the drive jfs partition name funtoo partition label root.
think about /boot as 128mb fat32 gpt partition drive.  partition name boot partition label boot.  (probably set the boot flag?)
 
rest of the drive jfs partition name funtoo partition label funtoo.


{{console|body=
{{console|body=
###i## echo "LABEL=boot /boot vfat noauto,noatime 0 2" >> /etc/fstab
###i## echo "LABEL=boot /boot vfat noauto,noatime 0 2" >> /etc/fstab
}}
}}
we want to install both legacy and uefi in one swoop.


stab 2 at getting uefi going from legacy machine.
stab 2 at getting uefi going from legacy machine.
Line 23: Line 17:
###i## grub-install --target=x86_64-efi /boot/efi}}
###i## grub-install --target=x86_64-efi /boot/efi}}


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


stab 3
stab 3
gpt partitioning via official install method gdisk.
gpt partitioning via official install method gdisk.
testing legacy grub + gpt to verify that MBR can be deprecated.
testing legacy grub + gpt to verify that MBR can be deprecated.
looks like /boot needs to be EF02 not EF00?
 
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.


==talk to me here==
==talk to me here==

Revision as of 08:22, 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.

rest of the drive jfs partition name funtoo partition label root.

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.

talk to me here