LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 09:29 AM   #1
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

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 10:32 AM.
 
Old 07-21-2013, 11:07 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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, 11:38 AM   #3
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

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, 03:40 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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, 04:21 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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 04:23 AM.
 
Old 07-22-2013, 04:56 AM   #6
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

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 04:58 AM.
 
Old 07-22-2013, 05:43 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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, 06:29 AM   #8
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

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, 11:04 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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, 06:46 PM   #10
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
I thought LILO could boot GPT just fine, just not UEFI?
 
Old 07-22-2013, 08:44 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

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

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
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, 06:46 AM   #13
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

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

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


Reply



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

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

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