Booting GPT with multi terabyte harddisks [SOLVED]
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
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!
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.