Note

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

Difference between revisions of "Talk:Undead USB Install"

From Funtoo
Jump to navigation Jump to search
m (clean up the shit storm)
m
Line 34: Line 34:
###i## mount /dev/sdc2 /boot/efi
###i## mount /dev/sdc2 /boot/efi
###i## grub-install --target=x86_64-efi /boot/efi
###i## grub-install --target=x86_64-efi /boot/efi
}}
At this point you have legacy mode grub installed & also x86_64 uEfi installed from a legacy boot.
More experimental garbage:
i386 efi doesn't insert correctly.  let's try bootloader id = "FUNTOO"
{{console|body=
###i## grub-install --target=x86_64-efi --bootloader-id="FUNTOO" /boot/efi
###i## grub-install --target=i386-efi /boot/efi
###i## grub-install --target=i386-efi /boot/efi
}}
}}


i386-efi is untested but legacy mode + 64 uefi from legacy are working at this point of the install.
 


==gparted==
==gparted==

Revision as of 11:01, October 15, 2020

undead really targets USB, SSD, and NVME. Swapping is best handled in a file or turned off.

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

/etc/fstab reads filesystem labels and ignores partition names. file browsers read partition labels, so were using FUNTOO for the root drive so our branding is correct in file browsers.

root # mkfs.vfat -F 32 /dev/sdc2
root # fatlabel /dev/sdc2 "BOOT"
OR
root # mlabel -i /dev/sdc2 ::"BOOT"
   Tip

jfs is amazingly fast, use it!

https://www.phoronix.com/scan.php?page=article&item=9way_linux317_fs&num=2

root # mkfs.jfs /dev/sdc3
root # jfs_tune -L "FUNTOO" /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_Install now and start from the top code block.

Come back at DONE! to have the legacy chicken lay the uEFI egg.

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

At this point you have legacy mode grub installed & also x86_64 uEfi installed from a legacy boot.


More experimental garbage: i386 efi doesn't insert correctly. let's try bootloader id = "FUNTOO"

root # grub-install --target=x86_64-efi --bootloader-id="FUNTOO" /boot/efi
root # grub-install --target=i386-efi /boot/efi


gparted

gparted isn't granular enough to make bios boot partitions to load legacy mode in GPT. Device > create partition table > GPT

/dev/sdc1 name: "BOOT Bios" size: 1MiB flags: bios_grub

/dev/sdc2 name: "BOOT" file system: fat32 label: BOOT size: 128MiB flags: boot, esp

/dev/sdc3 name: "funtoo" file system: jfs label: ROOT size: 14.9GiB

/etc/fstab label grabs the file system label, not the drive name. you should be able to name the root drive funtoo, and have it show up as that in other operating systems when the usb is inserted.

talk to me here