Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-31-2012, 08:57 AM   #16
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229

Originally Posted by Cedrik View Post
Actually, you can not install grub in Slackware's /boot if /boot is not separate partition and Slackware's root partition is ext4 formated :/
I believe there is a patch for grub legacy and ext4 file system. Suse still uses legacy and by default is ext4.

I agree when using multiple distros that chainloading with a separate /boot partition is the easy way in the long run.

I also gave up on grub legacy and have found grub2 as easy as grub legacy to install when using a live cd.
Old 01-31-2012, 09:06 AM   #17
Registered: Apr 2010
Posts: 86

Rep: Reputation: 3
ok that explains my problems.
Old 01-31-2012, 01:15 PM   #18
Registered: Sep 2008
Posts: 47

Original Poster
Rep: Reputation: 0
Personnally I prefer grub legacy or 0.97 to grub2. It is more simple to modify.

#installpkg grub-0.97-i486-9.txz ,so without using a network how do you install the patch?
With grub-0.97-i486-9.txz you do not need to install the patch. It is included.

From there you can use grubconfig to install the menu.lst on sda2 (antix) or on sda3, and if grubconfig provides the right menu.lst entry for slackware (what it should do), you should be able to boot slackware.

Was there some menu.lst entries for /boot/grub/ on sda2 for antix? If there were make a backup of them outside /boot/grub of sda2, to use them later, if the grubconfig generated entries are not appropriate.

Then using cli mode with grubconfig command access the dialog:
1)simple option
3)boot directory:
/dev/sda2 (for antix partition)
4)grub is mbr:

Then reboot, it should boot slackware and maybe also antix. If not you need the appropriate entry in menu.lst for slackware and/or antix.

Here is a model of menu.lst entry grub legacy for slackware, see post 2:

title Slackware
root (hd0,x)
kernel /<vmlinuz_filename> ro root=/dev/hda<partition>
initrd /<initrd_filename>

Are these partition on hard disk or are they on usb? (I have the impression that you are talking about a hdd installation) Where are located the vmlinuz_filename and initrd_filename?

Last edited by francois.e; 01-31-2012 at 01:41 PM.
Old 01-31-2012, 01:48 PM   #19
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Note that this menu entry is for separate /boot partition.
If /boot is not separate, entry should be:
title Slackware
  root (hd0,x)
  kernel /boot/<vmlinuz_filename> ro root=/dev/sda<partition>
  initrd /boot/<initrd_filename>
Old 01-31-2012, 04:12 PM   #20
Registered: Apr 2010
Posts: 86

Rep: Reputation: 3

thanks all posts above valuable & helpful

I've done it for a hard drive with windows and slackware dual boot with grub 0.97

Windows on first sda1
swap sda2
slackware sda3 (installed as ext2)

toggle boot flag for sda3

It actually wasn't that bad at lilo set up stage of slackware installation I skipped it, then I re-booted using installation disc. Then I found grub 0.97 on fourth disc (extras)

Drop & dragged txz file to desktop & installed using installpkg

then as root
#grubconfig I selected to root, couple of steps was done & this time I found menu.lst
in sda3 /boot/grub

can't wait to try(not) grub2

Last edited by captain_sensible; 01-31-2012 at 04:18 PM. Reason: didn't thank those above
Old 01-31-2012, 04:47 PM   #21
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
Ubuntu's (and fedora's among others) version of legacy grub can handle ext4. Since grub has no dependencies, you can simply copy it into the /boot directory of another distribution.


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
adding SATA ext3 HDD into new Suse11.4 box with ext4 system HDD Mail2me Linux - Hardware 4 10-26-2011 08:47 PM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 12:58 PM
Installing GRUB and mounting my HDD on DSL thru USB? avD,ZeeK DamnSmallLinux 0 10-24-2007 09:52 AM
grub cant mount usb hdd creon Linux - General 1 06-08-2007 08:23 AM
how to boot sda1 in grub (usb HDD) surfbass Linux - General 5 05-07-2006 05:01 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration