seeking howto use GPT partition drives to install linux
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not really clear on what you are saying. Do you have a partition EF02 and EF00 on a drive with only windows and also a drive with only Linux or is it one drive with both partitions with windows and Linux? What file(s) do you have on the EF02 partition of the windows drive if it is a separate drive? In Linux, that partition would be bios_grub and I believe it contains the core.img file.
I should have explained myself better. I have three Linux systems (and zero Windows) I boot in that way, with two being BIOS and one being UEFI. I've managed to create and use GPT hard disks on all three machines (thereby not requiring UEFI) with the beginning of the USB stick setup in the aforementioned way, and boot selection from USB.
I may not remember Windows that well but I was under the impression the boot files remain on a separate partition, thereby enabling storage on a big enough USB. I'm most likely in error, and since Windows is of course going to do things differently than Linux don't take me seriously. I'm just tossing around theoretical scenarios in my own skull.
If you have only Linux systems, I'm not sure why you are booting from a usb as it could just as easily be done with the bios_grub partition on your hard drive. Whatever works for you.
Quote:
I may not remember Windows that well but I was under the impression the boot files remain on a separate partition
No necessarily and it depends upon which windows is being used. When using UEFI, some of the boot files are on the EFI partition while others are on the system partition. Same goes for both windows and Linux just different files obviously. On a Legacy install of windows, the boot files need to be on a primary partition marked active/bootable. Windows 7 default was using a separate boot partition while 8 and 10 don't use a separate boot partition as they default to EFI.
This workstation is linux only, and I'm not interested in "Secure Boot" or any of that mess. All that I want is to use GPT Partition tables on my drives and be able to use any of the drives to boot into GRUB menu and from there to one of the GRUB menu configurations.
I know how and have attempted the following with a new 1TB HDD.
use 'gparted'
delete all paritions on the HDD
create a new partition table as GPT
create and format file systems as EXT4
boot linux live media from USB stick and launch the installer
select "Something Else" to config the install target HDD
select a pre-made partition; change; label the partition (for my sanity); name a mount point; format EXT4
I create the following: /boot, /(root), SWAP, /home, /wrk (space for my data)
let the install run
When installer is finished without reporting errors, I try to boot the new HDD. While I get a GRUB menu, The new drive fails to boot.
When I inspect the new HDD contents, I don't find the EFI parts that I expect to see in /boot and elsewhere. I don't think that I'm getting the right sort of install.
There is this:
Code:
prompt$ sudo efibootmgr
**********
efibootmgr: EFI variables are not supported on this system.
Yes, I'm using the v2 edition of the linux mint 19 ISO.
The steps you posted in your last post (18) show that you did NOT create either a bios_grub unformatted partition or an EFI vfat formatted partition. YOu need one or the other and you didn't do that. The link I posted in post 12 above explains that and if you want a GPT drive with a Legacy install that is necessary and is explained in the link. If you don not have an efi partition and want an EFI install, you need to use GParted from the boot media to create it in advance.
Quote:
When I inspect the new HDD contents, I don't find the EFI parts that I expect to see in /boot and elsewhere.
The EFI files are not expected to beet in the boot directory but on the separate EFI partition.
For efi mode you need to create a 300mb fat32 partition flagged as efi.
The efibootmgr message indicates you are booting in legacy mode.
Are you using the 32bit or 64bit mint iso?
Last edited by colorpurple21859; 12-21-2018 at 02:33 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.