Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BIOS boot using GPT
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Thu Aug 20, 2015 5:28 am    Post subject: BIOS boot using GPT Reply with quote

I have an SSD drive w/ a new install on it. I have partitioned it almost like the handbook for the first two partitions. My partitions are setup as:

/dev/sda1 - bootloader, 2M, BIOS boot partition
/dev/sda2 - vfat, 128M, Boot partition
/dev/sda3 - LUKS/LVM, Rest of disk, Root partition

The problem is, the machine I currently have (about 6 yrs old) does not support GPT. But I've been building this install to support GPT because I will move the drive to a new machine w/ GPT support in 1 month.

Should I be able to get this machine w/ a regular BIOS to boot this drive which is setup for GPT? Or make it work w/ minor changes?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Aug 20, 2015 12:43 pm    Post subject: Reply with quote

You should inform about MSDOS partition table.
You can install your system without GPT, when you create less than 8 partitions.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Aug 20, 2015 1:42 pm    Post subject: Reply with quote

You can boot your GPT disk using BIOS, some crappy BIOS'es require MBR boot flag though, you can have that with GPT, too. There can be protective MBR even on GPT disks.
_________________
Life is a tragedy for those who feel and a comedy for those who think.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Thu Aug 20, 2015 2:15 pm    Post subject: Reply with quote

some old bioses expect a bootable flag in the partition table

Code:
parted /dev/disk disk_set pmbr_boot on


Quote:

/dev/sda1 - bootloader, 2M, BIOS boot partition
/dev/sda2 - vfat, 128M, Boot partition


vfat is normally used only for EFI / ESP boot - if you designated sda2 to be esp, that won't work with old bios, you need regular grub with bios boot partition.

if your sda2 is a regular /boot partition that's fine, if you thought you could use esp, that's your problem
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri Aug 21, 2015 6:56 am    Post subject: Reply with quote

If you don't want to touch your Gpt partionned disk, you can create an independant media like a Usb key, an Sd card or a Cd/Dvd with a bootloader in for Bios mode. Than your Bios will be able to boot that media and the bootloader to load Linux and his initramfs. The rest is done by Linux who can deal with your Gpt disk.

Of course, your Bios must be able to boot one of those medias.
_________________
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum