-   Slackware (
-   -   Grub2 Installation on GPT partition (

Emrod 06-22-2013 05:24 PM

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 :scratch:
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 !

ReaperX7 06-22-2013 07:11 PM

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 along with dependencies.

Emrod 06-24-2013 08:08 AM

@ReaperX7 : thank you for the advice. Will try it -

TommyC7 06-24-2013 11:09 AM

Hmmm...why does he need to launch X in order to build grub2?

Richard Cranium 06-24-2013 06:52 PM


Originally Posted by TommyC7 (Post 4977614)
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.

ReaperX7 06-24-2013 08:59 PM

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.

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