LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-07-2014, 04:20 PM   #1
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Rep: Reputation: Disabled
Booting GPT with multi terabyte harddisks [SOLVED]


Hi,

I recently built a new stationary PC that came with an UEFI boot loader. Originally I had one SDD and I used parted to create an msdos partition;

parted /dev/sda
mklabel msdos
quit

Then I could use cfdisk to add partitions in the normal manner, after switching to legacy boot in the BIOS the installation booted and everything was fine.

A week ago I added two 2TB hdd to my machine, and it would not boot.
I tried reinstalling with a gpt partition layout (in stead of mbr), using both cgdisk and then gdisk but both methods failed to boot. I then tried to use grub instead of lilo, but that also failed. Finally I tried to follow the README_UEFI.TXT and added an efi boot partition (this should not be necessary though when I only intend to install Slackware right?), the text document said that the installer would detect the efi partition and suggest using elilo instead of lilo, however it didn't, and standard lilo failed to boot.

I am at a loss here..

Does anyone have experience installing Slackware on an UEFI system with multi terabyte hard disks? PS! I am only installing Slackware, so multiboot concerns does not apply here.

Thanks in advance for any help

Last edited by dansimon; 08-08-2014 at 10:33 AM.
 
Old 08-07-2014, 04:30 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Yes an EFI partition is necessary and should be detected by the installer of Slackware64-14.1. I'd launch the installer and after the (fake) login (but before running setup), use gdisk or cgdisk to (re) partition the hdd onwhich you want to install Slackware, including an EFI partition.
 
Old 08-07-2014, 08:10 PM   #3
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
OK, but it does not detect this. From a forum post (http://www.linuxquestions.org/questi...fi-4175484843/) it seems that ELILO is only suggested if EFI firmware is detected, which I guess its not?
In any case I only get an option of installing lilo which does not boot, and a manual installation of grub does not boot either. The curious thing though is that the system booted just fine as long as I had lilo on an mbr partition on one harddrive, but it refuses to boot in any configuration when I have three...

Could the problem somehow be related to the two extra 2TB harddisks?
PS! Thanks for your quick reply
 
Old 08-07-2014, 08:36 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I installed Slackware with EFI firmware, made GPT partitions with cgdisk but at the end, setup asked me if I wanted to use Lilo, I skiped that and no elilo was offered.. I rebooted and used the USB boot disk I made during the installation, then run elilo.
 
Old 08-07-2014, 08:54 PM   #5
Goobers
Member
 
Registered: Jul 2014
Posts: 56

Rep: Reputation: Disabled
Misread, nevermind

Last edited by Goobers; 08-07-2014 at 09:08 PM.
 
Old 08-08-2014, 03:43 AM   #6
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Hm, couple of problems..

* I cannot seem to manualy run elilo

chroot /mnt
elilo
> sh: elilo: command not found
ls /var/log/packages | grep elilo
> elilo-3.14-x86_64-6

* I cannot seem to manualy boot the installation with a boot disk

huge.s root=/dev/sda1 rdinit=ro
> blablabla... kernel panic!!! call trace ect...
 
Old 08-08-2014, 03:57 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yup, its eliloconfig (/usr/sbin/eliloconfig)
Code:
# The EFI System Partition is expected to be mounted on /boot/efi before
# running this script.
So check if /boot/efi is mounted before, mine was added in /etc/fstab during install

(edit)
that could be mounted in /mnt/boot/efi too...

Last edited by keefaz; 08-08-2014 at 04:04 AM.
 
Old 08-08-2014, 04:05 AM   #8
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
OK, well I have /boot/efi and /usr/bin/eliloconfig. What parameters am I supposed to use here? I know, I am being lazy, RTM ect.. There is lots of documentation in /usr/doc/elilo, but I do not feel very confident at the moment, so any tips would be met with deep appreciation!
 
Old 08-08-2014, 04:08 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
No parameters needed AFAIK, the script does the elilo install automatically
 
Old 08-08-2014, 04:14 AM   #10
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Hm.. when I run /usr/sbin/eliloconfig I get this error message:
ERROR: System is not running under UEFI.

PS! This is from the installer USB stick, do I need to manualy boot the installed system to do this? (As mentioned I seem to have a problem with getting that to work)

Last edited by dansimon; 08-08-2014 at 04:15 AM.
 
Old 08-08-2014, 04:21 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The script assumed it was started from a running system, not an installer image (surelly because of the chroot thing)

Could you try to run eliloconfig without chrooting /mnt (but with efi partition mounted in /mnt/boot/efi)
 
Old 08-08-2014, 04:33 AM   #12
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
Well theres no error messages now
However It does not seem to have done anything, /mnt/boot/efi/EFI is empty and no elilo.conf is not found on the system.
 
Old 08-08-2014, 04:43 AM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you see all dialog pages, eg
- INSTALL ELILO
- INSTALL BOOT MENU ENTRY?
 
Old 08-08-2014, 04:50 AM   #14
dansimon
Member
 
Registered: Jun 2013
Location: Norway
Distribution: Slackware
Posts: 60

Original Poster
Rep: Reputation: Disabled
No, just

/mnt/usr/sbin/eliloconfig
>

no output
 
Old 08-08-2014, 05:04 AM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
That was not expected
Out of idea here, you do have efi partition... formated as vfat?
How much size has it?

When you type mount (without argument) you see something like this for the efi partition?
Code:
...
/dev/sda1 on /mnt/boot/efi type vfat (rw)
...
I see that eliloconfig can take one paramater: the OS root directory

Maybe use it like: eliloconfig mnt
(I don't think that will change something though)
 
  


Reply

Tags
uefi booting



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
Booting Slackware 14 with UEFI and GPT rkelsen Slackware 4 02-10-2013 05:43 AM
Problem booting on GPT partition. zuku Debian 3 01-20-2012 09:31 AM
gpt label in parted, partitions look OK. GrUB not booting 64bit OS on 8th primary digital8doug Linux - Newbie 1 12-31-2008 02:20 PM
installing and booting sles10 on a 3.5 TeraByte Disk? mtrento Linux - Server 4 06-21-2008 03:14 PM
Raid 5, >2TB, GPT, Grub, booting, mounting root dtdionne Linux - Software 6 12-18-2007 05:37 AM

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

All times are GMT -5. The time now is 05:29 PM.

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
Open Source Consulting | Domain Registration