LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-05-2013, 05:46 PM   #1
rdsherman
LQ Newbie
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware64
Posts: 21

Rep: Reputation: 3
gpt + lilo + legacy bios = success


My 3 year old Lenovo T510 has legacy bios only, no UEFI.

I have read reports that stated gpt lilo incompatibility.

Using a Patriot XT Rage 32GB USB 3.0 FD (in a 2.0 socket), I performed this test.

Partitions were originally created by fdisk in the MBR scheme.

Partitions all primary linux type 83 formatted ext4
1 10GB sandbox
2 10GB data
3 5GB Slackware64 v14.1

With gdisk, I changed partition 1 type 8300 to ef02 and wrote a new GPT on the drive. There were no errors shown. (I did NOT set the bootable flag.)

Mounted the FD and executed lilo -r /mnt/sdb3; again, no errors.

Unmounted all and rebooted into the FD (not my SSD). In a few seconds there was a perfectly functioning Slackware system; no errors whatsoever.
 
Old 12-05-2013, 08:49 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,405
Blog Entries: 15

Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
UNIX systems have all actually supported GPT with BIOS booting for quite some time now.

The only exception has been to getting full GPT support has been Windows which still ONLY supports GPT booting with UEFI only, not BIOS, much to the headache of many users.
 
Old 12-07-2013, 07:02 PM   #3
rdsherman
LQ Newbie
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware64
Posts: 21

Original Poster
Rep: Reputation: 3
The Slackware64 v14.1 optical media installer uses an el-torito-altboot image generated by grub-mkimage and standard loopback techniques.

Would it be possible to use an efi-stub-enabled kernel instead? (bzImage -> bootx64.efi -> efiboot.img all placed in the usual default locations.) And, yes, I realize that there will be no menu on boot!

I do not have a UEFI capable machine (yet) to perform the test. So ...

Has anybody tried this tangent?

I can see one possible problem. The Slackware64 image (efiboot.img) is 1.44MB, the size of a "floppy". Is this a max limit dictated by the el-torito specs? A normal kernel, even xz|lzma compressed, is larger.
 
  


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
[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
How to ensure an SSD drive's compatibility with both GPT-BIOS and EFI motherboards Admetus Linux - Newbie 2 10-16-2012 04:17 AM
[SOLVED] BIOS won't load Grub2 with GPT -- Troubleshooting Advise?? useless_s_grant Linux - General 2 09-24-2012 12:36 PM
Advisability of using a legacy MBR when the installer chooses GPT? catkin Debian 3 05-11-2011 02:47 AM


All times are GMT -5. The time now is 10:39 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