LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2019, 07:25 AM   #16
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Debian, Xubuntu
Posts: 258
Blog Entries: 1

Rep: Reputation: 91

Quote:
Originally Posted by masonm View Post
Mostly because of the advantages of gpt vs mbr
If GPT is your only issue, then there really is no need to run in UEFI mode. My laptop runs in Legacy BIOS mode, with a GPT-partitioned disk. Works perfectly. Just ensure that, if you use GRUB as your master boot loader, you have a “BIOS Boot Partition” (Type Code ‘EF02’), into which GRUB will dump its core module (this partition replaces the “empty space” between the Master Boot Record and the first partition on an MBR-partitioned disk).

Just for your information, here is what the ‘gdisk’ utility has to say about the partition table on this disk:
Code:
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: ST1000LM024 HN-M
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 38EF380D-5A78-4757-A695-F2635093AC5D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 128-sector boundaries
Total free space is 1517 sectors (758.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1             128            2047   960.0 KiB   EF02  BIOS boot partition
   2            2048          262143   127.0 MiB   8300  Linux filesystem
   3          262144       100925439   48.0 GiB    8300  Linux filesystem
   4       100925440       201588735   48.0 GiB    8300  Linux filesystem
   5       201588736       302252031   48.0 GiB    8300  Linux filesystem
   6       302252032       402915327   48.0 GiB    8300  Linux filesystem
   7       402915328       503578623   48.0 GiB    8300  Linux filesystem
   8       503578624       604241919   48.0 GiB    8300  Linux filesystem
   9       604241920       704905215   48.0 GiB    8300  Linux filesystem
  10       704905216      1953523711   595.4 GiB   8300  Linux filesystem
One caveat: Windows will not (to the best of my knowledge) support booting from a GPT disk under Legacy BIOS mode. However, to be honest, to me that feels more like a plus than a disadvantage.
 
Old 06-10-2019, 08:24 AM   #17
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,293

Original Poster
Rep: Reputation: 83
Quote:
Originally Posted by luvr View Post
If GPT is your only issue, then there really is no need to run in UEFI mode. My laptop runs in Legacy BIOS mode, with a GPT-partitioned disk. Works perfectly. Just ensure that, if you use GRUB as your master boot loader, you have a “BIOS Boot Partition” (Type Code ‘EF02’), into which GRUB will dump its core module (this partition replaces the “empty space” between the Master Boot Record and the first partition on an MBR-partitioned disk).

Just for your information, here is what the ‘gdisk’ utility has to say about the partition table on this disk:
Code:
GPT fdisk (gdisk) version 1.0.4

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: ST1000LM024 HN-M
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 38EF380D-5A78-4757-A695-F2635093AC5D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 128-sector boundaries
Total free space is 1517 sectors (758.5 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1             128            2047   960.0 KiB   EF02  BIOS boot partition
   2            2048          262143   127.0 MiB   8300  Linux filesystem
   3          262144       100925439   48.0 GiB    8300  Linux filesystem
   4       100925440       201588735   48.0 GiB    8300  Linux filesystem
   5       201588736       302252031   48.0 GiB    8300  Linux filesystem
   6       302252032       402915327   48.0 GiB    8300  Linux filesystem
   7       402915328       503578623   48.0 GiB    8300  Linux filesystem
   8       503578624       604241919   48.0 GiB    8300  Linux filesystem
   9       604241920       704905215   48.0 GiB    8300  Linux filesystem
  10       704905216      1953523711   595.4 GiB   8300  Linux filesystem
One caveat: Windows will not (to the best of my knowledge) support booting from a GPT disk under Legacy BIOS mode. However, to be honest, to me that feels more like a plus than a disadvantage.
Thanks for the info, for Slack I use LILO which didn't want to install MBR on GPT and I couldn't figure out how to make it do so. Got the UEFI issue sorted by using -current so all is well.

I couldn't care less what Windows does or doesn't support LOL
 
Old 06-10-2019, 08:54 AM   #18
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Debian, Xubuntu
Posts: 258
Blog Entries: 1

Rep: Reputation: 91
Quote:
Originally Posted by masonm View Post
Thanks for the info, for Slack I use LILO which didn't want to install MBR on GPT and I couldn't figure out how to make it do so.
I seem to remember running into this very issue with Slackware 14.1. When I installed 14.2, I didn’t expect it to work, but to my surprise, it did!

I currently use GRUB, under the control of Debian, as my master boot loader, but I’ve seriously been considering replacing it with a custom-built GRUB copy that I would maintain manually. I used to install a custom-built GRUB 0.97 as the master boot loader, but that doesn’t support GPT. That “manual maintenance” doesn’t really mean all that much, actually; with a little bit of careful attention, it only requires intervention when an operating system is added to or removed from the computer.

P.S.: Me, too, I don’t give a hoot about what Windows does or does not support…
 
  


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
Is there a usb-pendrive (ISO-hybrid) for ANTIX with classical Installer (debian/installer)? patrick295767 Linux - Distributions 1 01-21-2016 05:48 PM
Creating the ultimate Grub2 setup: Windows installer + Live, Linux installer + live + todda7 Linux - General 47 08-05-2010 11:22 AM
Red Hat Installer, vs Debian Installer rmckayfleming Linux - General 6 10-19-2005 01:23 PM
(K)Ubuntu installer failing to load installer components from CD. slackyoda Ubuntu 5 07-20-2005 03:06 PM
What Does The UT2004 Installer Do Behind The Fancy GUI Installer? Tsuroerusu Linux - Games 2 09-09-2004 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration