Bootable Linux USB stick: Difference between revisions

Line 103: Line 103:
“linuxefi” to “linux16”, and
“linuxefi” to “linux16”, and
“intrdefi” to “intrd16”
“intrdefi” to “intrd16”
=== Problems on old BIOS hardware ===
Some old computers still might not boot since they don't support booting from GPT.
This can be fixed to boot on such old hardware, however the stick afterwards cannot boot on EFI/UEFI systems anymore:
*set the boot flag (active) on the single 0xEE partition in the protective MBR by using fdisk version <= 2.22 (versions 1.23 and newer have GPT support and thus don't make changes to the protective MBR but to the GPT) (I used fdisk (util-linux-ng 2.17.2) on a ScientificLinux 6.7 machine)
fdisk /dev/sdX
a
part 1
w
*recompute CHS values using option “h” in gdisk's expert menu:
gdisk /dev/sdX
x
h
m
q
this can be reversed:
- toggle bootflag off in old fdisk
- recompute CHS values in gdisk
(using a sgdisk backup of the GPT should also be fine)
helpful links:
http://www.rodsbooks.com/gdisk/bios.html#bios --> option h of gdisks experts menu did the trick!
https://fedoraproject.org/wiki/GRUB_2?rd=Grub2#Updating_GRUB_2_configuration_on_BIOS_systems


=== generating images and copies of the stick ===
=== generating images and copies of the stick ===
1,332

edits