LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-31-2012, 07: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

Quote:
Originally Posted by Cedrik View Post
[edit]
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, 08:06 AM   #17
captain_sensible
Member
 
Registered: Apr 2010
Posts: 352

Rep: Reputation: 145Reputation: 145
ok that explains my problems.
 
Old 01-31-2012, 12:15 PM   #18
francois.e
Member
 
Registered: Sep 2008
Posts: 72

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

Quote:
#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
2)standard
3)boot directory:
/dev/sda2 (for antix partition)
4)grub is mbr:
sda

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:
http://www.linuxforums.org/forum/sla...ware-grub.html

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 12:41 PM.
 
Old 01-31-2012, 12:48 PM   #19
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

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

Rep: Reputation: 145Reputation: 145
ok

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 03:18 PM. Reason: didn't thank those above
 
Old 01-31-2012, 03:47 PM   #21
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
@francois.e
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.
 
  


Reply



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 07:47 PM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM
Installing GRUB and mounting my HDD on DSL thru USB? avD,ZeeK DamnSmallLinux 0 10-24-2007 08:52 AM
grub cant mount usb hdd creon Linux - General 1 06-08-2007 07:23 AM
how to boot sda1 in grub (usb HDD) surfbass Linux - General 5 05-07-2006 04:01 PM

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

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