LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-21-2013, 10:29 AM   #1
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.1-64bit
Posts: 77

Rep: Reputation: Disabled
Slackware install on GPT HDD


Dear Slackers
My hand was itching to convert MBR to GPT. gdisk was saying some 33 blocks are overlapping, and that it has to be re-sized using other utilities. With system rescue CD, I moved my partitions, so that space was there between sdb1, sdb2. After doing this, slackware did not boot. 99 99 was displayed on monitor. Got fed up. Using gdisk, converted entire disk to GPT. re formatted. Made 3 partitions. Sdb1-swap, sdb2-ef02 for bios-gpt, sdb3 for /, install. Installed slackware14 64 bit. But, I did not install lilo, since I want to install grub2, which is not on install dvd.
I have stopped at this, and posting here. Pl. inform how and where on these three partitions, grub2 is to be installed

Tried to boot second hdd (sdb) from SystemRescue CD, but gave only 99 99 99

Last edited by san2ban; 07-21-2013 at 11:32 AM.
 
Old 07-21-2013, 12:07 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Is UEFI in there somewhere? If so, GPT or MBR is a big deal, and you have a lot of reading to do.
 
Old 07-21-2013, 12:38 PM   #3
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.1-64bit
Posts: 77

Original Poster
Rep: Reputation: Disabled
No UEFI, BIOS

Businesskid,
I had earlier done this on Archlinux (before being banned due to systemd comments) I am familiar with GPT on funtoo linux also. But in slackware, documentation on this is not exhaustive, or I cannot find it
 
Old 07-22-2013, 04:40 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
99 99

as a boot error is a symptom of an incorrectly set up lilo (or grub). I believe grub2 and some later lilo were for uefi, so you might do better sticking with earlier versions. The bios points the boot at the first 512 bytes of a selected disk. Lilo needs to be rerun each change, grub not so much - which is good because personally I find grub a pig.

The rest of the documentation on slackware is "Figure it out yourself." :-)). You promote yourself to slackware when that's not a big deal for you. Glad to have you on board. As a creature of habit, I always set up /boot as sda1, and swap maybe as sda2. If I go to a GPT disk, I wake up the UEFI in this box (Samsung) which might better be named NLFI (No Linux Firmware Interface
 
Old 07-22-2013, 05:21 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
As you mention sdb, not sda:

Do you try to make an installation on an USB hard disk?

Out of curiosity, what do you have on /dev/sda?

Out of curiosity, why grub2 instead of lilo? I ask that because if you have only one system, you would make you life easier simply using lilo.

Last edited by Didier Spaier; 07-22-2013 at 05:23 AM.
 
Old 07-22-2013, 05:56 AM   #6
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.1-64bit
Posts: 77

Original Poster
Rep: Reputation: Disabled
WinXP on sda. GRUB2, as a support to GNU. Also, it is in active development.
I did not make a USB installation disk.

I need to know, using systemrescue cd, after chroot into my slackware14 on sdb, how to install GRUB2

Last edited by san2ban; 07-22-2013 at 05:58 AM.
 
Old 07-22-2013, 06:43 AM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
As grub2 is not shipped in Slackware but can be built on a running Slackware system using the SlackBuild available @ http://slackbuilds.org, I'd suggest you first install lilo, then build and install a grub2 package, then replace lilo with grub2.

Or you could skip the "install lilo" step and built grub2 just after you chrooted on your slackware 14, provided you first set up a network connection and download what you need to build a grub2 package.
 
Old 07-22-2013, 07:29 AM   #8
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.1-64bit
Posts: 77

Original Poster
Rep: Reputation: Disabled
Didier
Finally, that is what I did. Came here to mark it 'solved', saw your post. Posting from slackware14_64bit. I will change over to grub2 later.

Thanks to all
 
Old 07-22-2013, 12:04 PM   #9
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
FWIW, Fedora 18 shipped grub2 with this sort of helpful remark beside it:

"Actually, this thing doesn't work, but we are supplying it for people who want to experiment (read fart about) with it."
 
Old 07-22-2013, 07:46 PM   #10
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 439

Rep: Reputation: Disabled
I thought LILO could boot GPT just fine, just not UEFI?
 
Old 07-22-2013, 09:44 PM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,676

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
Quote:
Originally Posted by TommyC7 View Post
I thought LILO could boot GPT just fine, just not UEFI?
Yes.
 
Old 11-13-2013, 04:58 AM   #12
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
I hope people don't mind but I am bumping this thread for the benefit of future users who stumble across it. I have now added a short tutorial on docs.slackware.com about using GPT and BIOS, with the various bootloaders now included with Slackware 14.1.
 
1 members found this post helpful.
Old 11-13-2013, 07:46 AM   #13
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
EDIT: Scratch all that liloconfig works fine for me.

Last edited by ruario; 11-13-2013 at 03:38 PM.
 
  


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
slackware uefi gpt install porphyry5 Slackware - Installation 18 09-18-2013 05:06 PM
[SOLVED] How to Install Slackware current with SSD/GPT/Btrfs/separate partitions JohnV2 Slackware 5 05-16-2012 02:20 PM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 05:46 PM
Slackware Install from HDD kahnakha Linux - Newbie 4 02-16-2007 07:31 PM
how to install slackware from hdd with a floppy salahuddin_66 Slackware 7 08-09-2004 12:57 AM


All times are GMT -5. The time now is 12:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration