LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-08-2009, 10:10 PM   #1
el_b
Member
 
Registered: Apr 2009
Distribution: Slackware 13.0
Posts: 48

Rep: Reputation: 17
How do I compile GRUB 2 in Slack64?


I NEED to do this in order to use GRUB, unless there's a GRUB 2 slackbuild. Legacy WON'T work.
It won't compile, gives a "start" error. I figured out that it's because it is made for x86 only. How could I make it compile?
There's a 0.97 in Slack32-Extras, but 0.97 doesn't support EXT4, what I am using now, and it gave me errors that it couldn't find /sbin/grub, I was running grub-install as su root.
I want to run GRUB so I don't have to update LILO every time I compile a kernel...
Thanks in advance.

Last edited by el_b; 09-08-2009 at 10:24 PM.
 
Old 09-08-2009, 10:34 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
AFAIK GRUB 2 doesnt compile on 64bit either. But that might have changed as there seems to be a beta released lately. Debian switched to it.
Most people i trust who have tried the next generation of GRUB told me that its worst than legacy.
 
Old 09-08-2009, 10:45 PM   #3
el_b
Member
 
Registered: Apr 2009
Distribution: Slackware 13.0
Posts: 48

Original Poster
Rep: Reputation: 17
Update: Does the Grub in Slackware-13-32bit-extras support EXT4? There's a patch for grub-legacy that lets it handle EXT4...

I'm gonna switch over to Slack32, there's no reason to use 64 on my laptop anyway. I didn't expect so many difficulties at compiling.

Thanks for the reply

I got a slackbuild from post #6 here
http://www.linuxquestions.org/questi.../grub2-712278/
I ran grub-update (with grub 2) and got this. The file does exist, when I try to run it it gives me the same error. It doesn't seem to be a broken symlink or anything. Weird (or KDE can't get the difference between a symlink and the real thing)
/usr/sbin/grub-install: line 192: /usr/sbin/grub-mkdevicemap: No such file or directory

Last edited by el_b; 09-08-2009 at 11:02 PM.
 
Old 09-09-2009, 12:46 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by el_b View Post
Update: Does the Grub in Slackware-13-32bit-extras support EXT4? There's a patch for grub-legacy that lets it handle EXT4...
Yep, it uses this patch
 
Old 09-09-2009, 12:49 PM   #5
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Debian GNU/Linux bookworm/sid
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
You dont even need a patch
just copy the e2fs_stage_1_5 to ext4_stage_1_5 and the supplied grub legacy package will work
for compiling grub2 or grub you need to use the multilib from alien's slackbuild.

read a guide here http://www.linuxquestions.org/questi...kguide-752713/
 
Old 09-14-2009, 06:43 PM   #6
el_b
Member
 
Registered: Apr 2009
Distribution: Slackware 13.0
Posts: 48

Original Poster
Rep: Reputation: 17
I just installed Slack32, with XFS... GRUB worked out of the box. Thanks anyway.
 
  


Reply

Tags
grub, slackware64



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
Multilib slack64 wingevil Slackware 6 02-21-2010 07:53 PM
[SOLVED] slack64 : can't compile thunar-archive-plugin wingevil Slackware 6 09-03-2009 01:40 PM
slack64 -current won't upgrade wingevil Slackware 6 08-17-2009 11:01 PM
Impressions of Slack64? masonm Slackware 20 07-22-2009 09:23 PM
Grub on Slack64 rvdboom Slackware 9 06-11-2009 07:00 AM

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

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