LinuxQuestions.org
Visit Jeremy's Blog.
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 08-21-2012, 06:51 PM   #1
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
slackware64 and grub legacy


Why is grub (legacy) not included in the slackware64-version?
Checking the source-code for '/slackware-current/extra/source/grub - there is a patch for x86_64 and also x86_64 is supported in the slackbuild - even a patch for ext4 if you are so inclined.
Yes - I most certainly will try to compile/link it - just surprised why it's not there ...

I just happen to think that grub (legacy) is the best thing since sliced bread (sorry all ya lilo-fans) - grub2 you can keep in the trash - it's an OS looking for a decent bootloader! - imnsho.
 
Old 08-21-2012, 07:02 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,493

Rep: Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437
Quote:
Originally Posted by perbh View Post
Why is grub (legacy) not included in the slackware64-version?
Checking the source-code for '/slackware-current/extra/source/grub - there is a patch for x86_64 and also x86_64 is supported in the slackbuild - even a patch for ext4 if you are so inclined.
Yes - I most certainly will try to compile/link it - just surprised why it's not there ...

I just happen to think that grub (legacy) is the best thing since sliced bread (sorry all ya lilo-fans) - grub2 you can keep in the trash - it's an OS looking for a decent bootloader! - imnsho.
The patch is to allow grub to boot an x86_64 kernel, and the $ARCH detection in the SlackBuild is just the usual boilerplate. Unless there are some more patches that I don't know about, grub1 doesn't compile on x86_64.
 
Old 08-21-2012, 07:07 PM   #3
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Original Poster
Rep: Reputation: 81
ahhh - so that's the 'raisin in the pudding' ... oh well, I'll give it a try and see if I can get the sucker to compile. I know archlinux has a x86_64-version of grub but I haven't dug properly into it yet (possible patches etc). I'll let yall know what happens ...

[edit]
oooops - the arch-version uses multilib *sigh* - so _not_ a true 64-bit version - dammit!

[yae] (yet another edit)
just thinking out loud, but ... obviously (at least to me) it has to be statically linked (it's a bootloader!!), which _should_ mean I can beg/steal/borrow the arch-version - he, he, he. (running off to try said possibility)

[yaee]
fyi - the patchset seems to be somewhat different, but that could be just packaging ... anyway - here it is:

just040_all_grub-0.96-nxstack.patch
05-grub-0.97-initrdaddr.diff
automake-pkglib.patch
ext4.patch
ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz
grub-0.97-ldflags-objcopy-remove-build-id.patch
grub-inode-size.patch
i2o.patch
install-grub
intelmac.patch
menu.lst
more-raid.patch
special-devices.patch

Last edited by perbh; 08-21-2012 at 08:14 PM.
 
Old 08-21-2012, 08:19 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by perbh View Post
it's an OS looking for a decent bootloader! - imnsho.
That would have been OpenBoot (use Forth as a bootloader!).
 
Old 08-21-2012, 08:54 PM   #5
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Original Poster
Rep: Reputation: 81
Quote:
Originally Posted by Richard Cranium View Post
That would have been OpenBoot (use Forth as a bootloader!).
*chuckles* I was more leaning towards lisp myself ... or even a pair of Dan Post boots?? ;-)

Last edited by perbh; 08-21-2012 at 08:56 PM.
 
Old 08-22-2012, 10:04 AM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
I built both 64-bit and 32-bit systems, and squirreled the 32-bit into a chroot tree. I can compile 32-bit code in there, then verify it won't run outside that chroot so I know it's 32-bit. That kind of setup I would expect to compile grub1 OK.
 
Old 08-22-2012, 10:13 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
deleted.

Last edited by vharishankar; 11-02-2012 at 12:34 PM.
 
Old 08-22-2012, 12:47 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,681
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
I used to have a server booting via grub1. It was all 32-bit. Now days I use syslinux and I doubt if the old config is easy to find.
 
  


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
[SOLVED] Will Grub legacy or Grub 1.9 find PCBSD? alfredo10 *BSD 2 08-01-2012 08:29 AM
I'd like to hear Your ideas on using Grub Legacy. udaman Slackware 16 10-27-2010 11:38 PM
How do I need to format grub entry to boot from grub2 into grub legacy? mitchell7man Linux - Software 6 04-03-2010 03:03 AM
GRUB (Legacy) Configuration uNiVerse555 Linux - Newbie 1 01-25-2007 10:19 AM
Grub Legacy or Grub2? RAVC Linux - Software 2 01-21-2006 09:43 AM

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

All times are GMT -5. The time now is 07:42 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
Open Source Consulting | Domain Registration