LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-22-2013, 06:24 PM   #1
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Rep: Reputation: Disabled
Smile Grub2 Installation on GPT partition


Hi, I just installed Slackware 14 from a DVD on a GPT partition ( sda1 ext4 /, sda2 swap, sda128 biosboot partition, 10 G drive) on a P4 HP. No errors. No lilo installed. Booting from the boot-up UBS stick was not possible (chosen in bios boot options). Rebooted from Slackware-DVD, could not locate the /extra repo where grub is said to live.I restarted with an Ubuntu live-CD and downloaded grub2 : sudo apt-get install, then ran grub-install /dev/sda. error : /usr/sbin/grub-probe cannot stat aufs. Booting straight from HDD gave the grub > prompt, but no commands worked - error 1 to 27. grub-install did not work on the mounted and the unmounted drive /dev/sda.
The latest SuperGrub2 disk did not detect a grub.cfg file. Mounting a kernel 3.2.29 resulted in kernel panic. I wonder why there is no option to install grub2 from the superdisk ... this was actually what I burned it for, not to change the screen colors
I have read a few posts since 2010 with similar problems from more advanced users that I am. Suggestion : Is it possible for an experienced user to publish a step-by-step tutorial starting from the completed Slackware 14 install revealing the commands that actually install grub2 ? I read the slackbook back and forth, but it is pre-grub. The help-text during the install did not mention grub I believe. The Grub2 Wiki is exhaustive, but not slackware-specific. Thanks and a sunny weekend !

Last edited by Emrod; 06-22-2013 at 06:27 PM.
 
Old 06-22-2013, 08:11 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,849
Blog Entries: 15

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Grub2 is a SlackBuild package. Original Grub is located in \source on the second DVD. You probably shouldn't use the Ubuntu package on Slackware. You'll have to boot using the installation DVD, launch X for your chosen desktop environment, then download, build, and install Grub2 from www.slackbuilds.org along with dependencies.

Last edited by ReaperX7; 06-22-2013 at 08:12 PM.
 
Old 06-24-2013, 09:08 AM   #3
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
@ReaperX7 : thank you for the advice. Will try it -
 
Old 06-24-2013, 12:09 PM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 439

Rep: Reputation: Disabled
Hmmm...why does he need to launch X in order to build grub2?
 
Old 06-24-2013, 07:52 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,578

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
Originally Posted by TommyC7 View Post
Hmmm...why does he need to launch X in order to build grub2?
Well, if he isn't running sbopkg, then he'll need some way to access the Slackbuilds web site. Since it's 2013, I think it is the exception versus the rule that someone would access a web site using a non-graphical interface.

But yes, you don't really need a graphical interface to run any of the scripts provided at the Slackbuilds web site.

Last edited by Richard Cranium; 06-24-2013 at 07:54 PM. Reason: I felt the need to state the obvious.
 
Old 06-24-2013, 09:59 PM   #6
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,849
Blog Entries: 15

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
I think lynx browser also still is available on Slackware, but yes, running X is optional, but because I don't know the extent of the system being used, and it's primary usage, I'm only assuming X is being used in some way.
 
  


Reply

Tags
gpt, grub2


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
Step-by-step tutorial for Grub2 Install under GPT ? Emrod Linux - Newbie 4 05-26-2013 06:35 AM
[SOLVED] BIOS won't load Grub2 with GPT -- Troubleshooting Advise?? useless_s_grant Linux - General 2 09-24-2012 01:36 PM
[SOLVED] Grub2 does not boot with GPT gldearman Linux - Software 1 07-02-2012 08:47 PM
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 09:01 AM
The same problem; GPT partition id and EFI issue in server during installation neonate Linux - Server 1 04-18-2011 03:19 AM


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