LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 04-23-2014, 10:08 PM   #1
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
Lightbulb Install with GPT on BIOS


Not sure how well this was covered in the Slackware Documents but I figured I'd share anyway.

For the curious, yes, you can use GPT on a BIOS PC the same as a UEFI system though there is some minor differences.

For one, there is one thing you'll need to realize:

A disk partitioned with GPT on BIOS can not boot Microsoft Windows in Dual-Boot, so don't even try. Just use a secondary HDD/SSD and use the BIOS boot selection feature for multi-booting.

Now first things first...

You're going to need a special partition to be created using gdisk, cgdisk or parted called a "BIOS Boot Partition".

All three of these utilities can create one of these. You'll need to select the Partition Type as EF02 type.

It doesn't need to be large either. So allocating at least 5-10MB is more than enough.

I borrowed this method from the Gentoo handbook with my own mods:

/dev/sda1 - BIOS Boot Partition - 5MB
/dev/sda2 - Linux EXT2/3/4 for /boot - 100MB
/dev/sda3 - Linux swap - 2-4 GB unless you're compiling a lot of software then 6-8 GB.
/dev/sda4 - Linux EXT3/4, JFS, or ReiserFS /(root file system) - remaining disk space

I left BtrFS off for a damn good reason. Don't use it! It's still experimental. XFS was left off due to issues with power loss and data corruption issues.

This method is useful for using Grub2 mostly, if not only. eLILO which is Slackware's default bootloader really doesn't require this. Not sure if this works with the syslinux/extlinux bootloader.

You don't technically have to mount the BIOS Boot Partition, but if you want you could always possibly mount it under /boot/bios in reference to how /boot/efi is mounted if you use an EFI System Partition for sh*ts and giggles.

Last edited by ReaperX7; 04-23-2014 at 10:17 PM.
 
Old 04-24-2014, 04:09 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,156

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
Quote:
Originally Posted by ReaperX7 View Post
This method is useful for using Grub2 mostly, if not only. eLILO which is Slackware's default bootloader really doesn't require this. Not sure if this works with the syslinux/extlinux bootloader.
Actually, elilo is only used instead of lilo during installation of Slackware64-14.1 in case of an EFI firmware, because then lilo doesn't work. In that case a GUID partition table (aka GPT) is mandatory but can still be used instead of the Master Boot record (MBR) for BIOS firmwares. In fact Slackware ships several boot managers: lilo, elilo, grub2 and {sys,ext,iso,pxe}linux.

To boot the Slackware64-14.1 intallation DVD grub2 is used instead of isolinux in case of EFI firmware (isolinux 6 can do an EFI boot but is not stable enough yet to be included in Slackware).

Last edited by Didier Spaier; 04-24-2014 at 05:33 PM. Reason: PS removed
 
Old 04-25-2014, 06:47 AM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Quote:
Originally Posted by ReaperX7 View Post
Not sure how well this was covered in the Slackware Documents but I figured I'd share anyway.
It is. A quick search and you would have found it.
 
Old 04-26-2014, 10:12 AM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 3,004
Blog Entries: 15

Original Poster
Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
Thanks Ruario. Oh well at least its been re-shared.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpt + lilo + legacy bios = success rdsherman Slackware 2 12-07-2013 07:02 PM
[SOLVED] Fresh install 64 14.1 with GPT without EFI in a BIOS motherboard lupe Slackware 17 11-13-2013 03:28 PM
GPT, UEFI and BIOS Legacy slaka Linux - Laptop and Netbook 8 04-17-2013 07:28 AM
[SOLVED] BIOS won't load Grub2 with GPT -- Troubleshooting Advise?? useless_s_grant Linux - General 2 09-24-2012 12:36 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration