EFI bootable gpt disk made in Legacy-boot Tumbleweed?
Is this possible? I tried with the TW installer to make such a disk to be used on another computer but when I set "grub2-efi" for boot it was rejected because "the current system was Legacy boot" or words to that effect.
Hello, In the Message; Subject : EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122141133.336de5b14933ce7588ef00c6@trixtar.org> Date & Time: Mon, 22 Jan 2024 14:11:33 -0500 [BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written: BTF> Is this possible? BTF> I tried with the TW installer to make such a disk to be used on BTF> another computer but when I set "grub2-efi" for boot it was BTF> rejected because "the current system was Legacy boot" or words to BTF> that effect. When you install TW with the hard disk as a GPT disk and try to boot with legacy boot, you get an error message like this. There are two solutions. 1. change legacy boot to uefi boot or 2. Convert GTP to MBR. Kind Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "In his book Survival of the Richest, media theorist Douglass Rushkoff describes meeting with a group of billionaire preppers who bombarded him with questions about how best to configure their bunkers to survive the end times." -- Inside Mark Zuckerberg’s Top-Secret Hawaii Compound --
Tue, 23 Jan 2024 08:24:17 +0900 Masaru Nomiya <nomiya@lake.dti.ne.jp> :
Hello,
In the Message;
Subject : EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122141133.336de5b14933ce7588ef00c6@trixtar.org> Date & Time: Mon, 22 Jan 2024 14:11:33 -0500
[BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written:
BTF> Is this possible?
BTF> I tried with the TW installer to make such a disk to be used on BTF> another computer but when I set "grub2-efi" for boot it was BTF> rejected because "the current system was Legacy boot" or words to BTF> that effect.
When you install TW with the hard disk as a GPT disk and try to boot with legacy boot, you get an error message like this.
There are two solutions.
1. change legacy boot to uefi boot
I can't on my Asus Crosshair-IV Formula mobo where I'm doing the install (or could use Yast to lay new boot code onto an already booted disk). However after I posted the above I read a comment somewhere that suggested that the T470 can be changed to Legacy-BIOS only and w10 reinstalled without EFI (remains to be validated). Not sure if just setting Legacy-BIOS only would prevent the w10 installer from changing everything back to EFI anyway.
or
2. Convert GTP to MBR.
Not an option, with increasing data and ssd capacity the writing is on the wall: GTP is tomorrow's standard. On my desktop I still use 1tb and 2tb drives but nothing will be less that 4tb that I buy after these.
Hello, In the Message; Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122203707.ce0868b75896c1ea53150cb8@trixtar.org> Date & Time: Mon, 22 Jan 2024 20:37:07 -0500 [BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written: [...] MN> > There are two solutions. MN> > MN> > 1. change legacy boot to uefi boot BTF> I can't on my Asus Crosshair-IV Formula mobo where I'm doing the BTF> install (or could use Yast to lay new boot code onto an already booted BTF> disk). However after I posted the above I read a comment somewhere that BTF> suggested that the T470 can be changed to Legacy-BIOS only and w10 BTF> reinstalled without EFI (remains to be validated). Not sure if just BTF> setting Legacy-BIOS only would prevent the w10 installer from changing BTF> everything back to EFI anyway. I don't know what you're talking about. Windows10 supports both Legacy boot and UEFI boot, and the boot method can be changed by entering the bios settings. However, I thought you would not do this since you said before that you do not go into the bios setup screen. MN> > 2. Convert GTP to MBR. BTF> Not an option, with increasing data and ssd capacity the writing is on BTF> the wall: GTP is tomorrow's standard. On my desktop I still use 1tb and BTF> 2tb drives but nothing will be less that 4tb that I buy after these. Have a look your ssd; # parted -l [TW ssd] --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Companies have come to view generative AI as a kind of monster that must be fed at all costs―even if it isn’t always clear what exactly that data is needed for or what those future AI systems might end up doing." -- Generative AI Is Making Companies Even More Thirsty for Your Data --
Tue, 23 Jan 2024 11:23:11 +0900 Masaru Nomiya <nomiya@lake.dti.ne.jp> :
Hello,
In the Message;
Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122203707.ce0868b75896c1ea53150cb8@trixtar.org> Date & Time: Mon, 22 Jan 2024 20:37:07 -0500
[BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written:
[...] MN> > There are two solutions. MN> > MN> > 1. change legacy boot to uefi boot
BTF> I can't on my Asus Crosshair-IV Formula mobo where I'm doing the BTF> install (or could use Yast to lay new boot code onto an already booted BTF> disk). However after I posted the above I read a comment somewhere that BTF> suggested that the T470 can be changed to Legacy-BIOS only and w10 BTF> reinstalled without EFI (remains to be validated). Not sure if just BTF> setting Legacy-BIOS only would prevent the w10 installer from changing BTF> everything back to EFI anyway.
I don't know what you're talking about.
When I was trying to create with my desktop an efi booting TW disk to try in the laptop, I used the tw installer. When it came to setting up the boot the installer would not let me use "grub2-efi" because (as I understood it) my (Crosshair) hardware is not EFI able (and I guess the TW installer is not ready to handle cases where the user could be making a disk for use in another machine). Since then I have found out that my mobo could NOT be changed from Legacy-BIOS to EFI even if I wanted to change it. THEN I read the cited comments elsewhere, that user changed boot to EFI and then re-installed w10, leaving his BIOS set to Legacy only for whatever reason he thought valid. THEN I came across this: https://support.lenovo.com/ca/en/solutions/ht076905-how-to-boot-to-legacy-de... ..which is really weird because it tells you to make a change in BIOS just before resetting it to defaults. Are defaults defaults or soemthing else?
Windows10 supports both Legacy boot and UEFI boot, and the boot method can be changed by entering the bios settings.
However, I thought you would not do this since you said before that you do not go into the bios setup screen.
I did, when I wanted to change it (I did try every which way)
MN> > 2. Convert GTP to MBR.
BTF> Not an option, with increasing data and ssd capacity the writing is on BTF> the wall: GTP is tomorrow's standard. On my desktop I still use 1tb and BTF> 2tb drives but nothing will be less that 4tb that I buy after these.
Have a look your ssd;
# parted -l [TW ssd]
I no longer use DOS partitioning on any disk, they're all GPT whether it's necessary or not so it's a standard on all my drives (1 to 4tb). # fdisk -l Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: Samsung SSD 860 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 2CB71AC7-D2DB-4B81-A559-02802643D197 Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G EFI System /dev/sda2 2099200 4196351 2097152 1G BIOS boot /dev/sda3 4196352 16779263 12582912 6G Linux swap /dev/sda4 16779264 226494463 209715200 100G Linux filesystem /dev/sda5 226494464 436209663 209715200 100G Linux filesystem /dev/sda6 436209664 645924863 209715200 100G Linux filesystem /dev/sda7 645924864 855640063 209715200 100G Linux filesystem /dev/sda8 855640064 1065355263 209715200 100G Linux filesystem /dev/sda9 1065355264 1275070463 209715200 100G Linux filesystem /dev/sda10 1275070464 1484785663 209715200 100G Linux filesystem /dev/sda11 1484785664 1694500863 209715200 100G Linux filesystem /dev/sda12 1694500864 1946159103 251658240 120G Linux filesystem
Hello, In the Message; Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122221137.13db03682566e0d31b66347c@trixtar.org> Date & Time: Mon, 22 Jan 2024 22:11:37 -0500 [BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written: BTF> Tue, 23 Jan 2024 11:23:11 +0900 BTF> Masaru Nomiya <nomiya@lake.dti.ne.jp> : [...] BTF> https://support.lenovo.com/ca/en/solutions/ht076905-how-to-boot-to-legacy-de... BTF> ..which is really weird because it tells you to make a change in BIOS BTF> just before resetting it to defaults. Are defaults defaults or BTF> soemthing else? Lenovo says that Legacy boot is the default. BTF> > Windows10 supports both Legacy boot and UEFI boot, and the boot method BTF> > can be changed by entering the bios settings. BTF> > BTF> > However, I thought you would not do this since you said before that BTF> > you do not go into the bios setup screen. BTF> I did, when I wanted to change it (I did try every which way) In UEFI boot, LEGACY boot is also possible. BTF>>> Not an option, with increasing data and ssd capacity the writing is on BTF>>> the wall: GTP is tomorrow's standard. On my desktop I still use 1tb and BTF>>> 2tb drives but nothing will be less that 4tb that I buy after these. MN>> Have a look your ssd; MN>> MN>> # parted -l [TW ssd] BTF> I no longer use DOS partitioning on any disk, they're all GPT whether BTF> it's necessary or not so it's a standard on all my drives (1 to 4tb). What does "GTP is tomorrow's standard" mean? The installer of openSUSE is using GPT, but that's why I said to run gparted command. BTF> # fdisk -l [..] BTF> Disklabel type: gpt [...] There is a way to convert from gpt to mbr while preserving the data, which can be easily found on the Internet. Just do it. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Maddox hopes that empowering users to pick their own algorithms will get them to think more about what’s involved in making them. " -- Bluesky's Custom Algorithms Could Be the Future of Social Media --
Tue, 23 Jan 2024 12:57:00 +0900 Masaru Nomiya <nomiya@lake.dti.ne.jp> :
Hello,
In the Message;
Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122221137.13db03682566e0d31b66347c@trixtar.org> Date & Time: Mon, 22 Jan 2024 22:11:37 -0500
[BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written:
BTF> Tue, 23 Jan 2024 11:23:11 +0900 BTF> Masaru Nomiya <nomiya@lake.dti.ne.jp> :
[...] BTF> https://support.lenovo.com/ca/en/solutions/ht076905-how-to-boot-to-legacy-de...
BTF> ..which is really weird because it tells you to make a change in BIOS BTF> just before resetting it to defaults. Are defaults defaults or BTF> soemthing else?
Lenovo says that Legacy boot is the default.
you miss the humour my friend, what is the difference between - setting BIOS field X to value Y followed by a reset to defaults and - just setting defaults?
BTF> I no longer use DOS partitioning on any disk, they're all GPT whether BTF> it's necessary or not so it's a standard on all my drives (1 to 4tb).
What does "GTP is tomorrow's standard" mean?
It means that 4tb+ drives need GPT and in the near future there will be no drives less than maybe 200tb (AND they will seem too small)
The installer of openSUSE is using GPT, but that's why I said to run gparted command.
I use fdisk & vodka almost exlusively, albeit not in order of magnitude :-)
Hello, This is the last mail for this thread. In the Message; Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122232150.ea55b77af8d9b8478fc05380@trixtar.org> Date & Time: Mon, 22 Jan 2024 23:21:50 -0500 [BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written: BTF> Tue, 23 Jan 2024 12:57:00 +0900 BTF> Masaru Nomiya <nomiya@lake.dti.ne.jp> : [...] MN> > The installer of openSUSE is using GPT, but that's why I said to MN> > run gparted command. BTF> I use fdisk & vodka almost exlusively, albeit not in order of BTF> magnitude :-) Are you a magician? In the Message; Subject : Re: EFI bootable gpt disk made in Legacy-boot Tumbleweed? Message-ID : <20240122221137.13db03682566e0d31b66347c@trixtar.org> Date & Time: Mon, 22 Jan 2024 22:11:37 -0500 [BTF] == "Ben T. Fender" <slowroller@trixtar.org> has written: [...] BTF> # fdisk -l BTF> Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors [...] BTF> Disklabel type: gpt [...] Your ssd is GPT type, not MBR type. The fdisk only supports MBR. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Companies have come to view generative AI as a kind of monster that must be fed at all costs―even if it isn’t always clear what exactly that data is needed for or what those future AI systems might end up doing." -- Generative AI Is Making Companies Even More Thirsty for Your Data --
Ben T. Fender composed on 2024-01-22 14:11 (UTC-0500):
Is this possible?
I tried with the TW installer to make such a disk to be used on another computer but when I set "grub2-efi" for boot it was rejected because "the current system was Legacy boot" or words to that effect.
One option with which I have experience that would /not/ be /initially/ bootable would be to install with bootloader configuration "None", "Not Installed" or "Not managed". I just did one again a few hours ago in Leap and already forgot the exact language in Leap's bootloader setup and summary screens. :p Proceed to do an otherwise normal installation with expert partitioning, either using existing (the way I do, always partitioning in full in advance of starting installation; today /again/ with EXT4 for / to couple with existing RAID for data), or using the expert installer to create an ESP and other partitions as and how you wish them. Use detailed package selection to make sure yast2-bootloader, grub2-x86_64-efi and efibootmgr and their deps get installed. Once the installation exits, you can move that disk to the other PC and use USB rescue boot to chroot into the installed system to setup Grub directly, or indirectly using yast. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Tue, 23 Jan 2024 01:55:24 -0500 Felix Miata <mrmazda@earthlink.net> :
Ben T. Fender composed on 2024-01-22 14:11 (UTC-0500):
Is this possible?
I tried with the TW installer to make such a disk to be used on another computer but when I set "grub2-efi" for boot it was rejected because "the current system was Legacy boot" or words to that effect.
One option with which I have experience that would /not/ be /initially/ bootable would be to install with bootloader configuration "None", "Not Installed" or "Not managed". I just did one again a few hours ago in Leap and already forgot the exact language in Leap's bootloader setup and summary screens. :p
Proceed to do an otherwise normal installation with expert partitioning, either using existing (the way I do, always partitioning in full in advance of starting installation; today /again/ with EXT4 for / to couple with existing RAID for data), or using the expert installer to create an ESP and other partitions as and how you wish them. Use detailed package selection to make sure yast2-bootloader, grub2-x86_64-efi and efibootmgr and their deps get installed. Once the installation exits, you can move that disk to the other PC and use USB rescue boot to chroot into the installed system to setup Grub directly, or indirectly using yast.
Hmmmm, interesting angle, BTW I too partition exclusively beforehand. Is what we have here a kind of "binary but not exactly" booting in which the same disk will boot either in an EFI or a Legacy-BIOS machine? My now standard partitioning-scheme does already sport both an EFI and a Bios-Boot partition. I know I cannot change my desktop mobo to EFI so if changing the laptop to Legacy-BIOS booting for w10 as well as everything else then this may be a solution. From all the hints gathered so far this SHOULD be feasable. For starters I'll just concentrate on getting a Tumbleweed installation done (at all) on a sata ssd while connected via a usb adapter to the T470 and booting on it as a result on reboot. This has gotta be possible too although the only TW installs I've read about were to THE or ONE OF the laptop's internal card ssd's.
On 22.01.2024 22:11, Ben T. Fender wrote:
Is this possible?
I tried with the TW installer to make such a disk to be used on another computer but when I set "grub2-efi" for boot it was rejected because "the current system was Legacy boot" or words to that effect.
I have no idea what you are talking about - who rejected what and you cannot even provide the actual error. I just tested switching to grub2-efi on a legacy TW and it worked without any errors - after I unchecked "Update NVRAM" and created/mounted /boot/efi.
participants (4)
-
Andrei Borzenkov
-
Ben T. Fender
-
Felix Miata
-
Masaru Nomiya