LinuxQuestions.org
Help answer threads with 0 replies.
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-14-2004, 06:07 PM   #1
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Rep: Reputation: 30
Adding Slackware 10 to Grub


How would I do this? I have slack installed on a virtual machine..but decided to just install it on my harddrive...since I like it so much

Now I run into a problem though..

I decided to not install the lilo boot loader, because I have fedora core 2 installed, and it has the grub boot loader already set up. I want to simply add slackware to the loader. How would I do this? I know to edit the grub.conf..I just don't know what to add to it.

I used the default kernel.
 
Old 09-14-2004, 06:59 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If grub is already installed, you shouldn't need to edit the grub.conf - try /boot/grub/menu.lst instead. You should find a file full of examples, which will help you set up various operating systems. The best thing is, once you edit that file, you're done! No re-installing the MBR like Lilo does.
 
Old 09-14-2004, 07:57 PM   #3
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308

Rep: Reputation: 30
edit /boot/grub/menu.lst

Add something like this


Quote:
title Slackware 10 K2.6.7-V2.7.2-bootsplash
root (hd0,15)
kernel /slackware/vmlinuz-2.6.7-V2.7.2-bootsplash root=/dev/hda6 ro vga=791
initrd /slackware/initrd.mai.splash
savedefault
boot

root (hd0,15) pertains to the location of /boot for your slack.

for the kernel line change
root=/dev/hda6 to the location of the / partition of slack
your kernel is probably /boot/vmlinuz-2.4.26-ide

for initrd, usually slack doesn't have an initrd.img unless you want to use one, in the example above, its a bootsplash image

Anyway just change your /boot/grub/menu.lst accordingly

Last edited by insyte; 09-14-2004 at 08:01 PM.
 
Old 09-14-2004, 08:42 PM   #4
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
I got it

Thanks!
 
Old 09-18-2004, 05:17 AM   #5
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
hi, i'm tryng setting up grub for slacky too... but i can't manage it.. here is my menu.lst:

Code:
#default is FreeBSD
default=1

#timeout is 15 secs.
timeout=15

#splash image
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

#FC 2 (/dev/hda1)
title Fedora Core 2.0
	root (hd0,1)
	kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
	initrd /boot/initrd-2.6.5-1.358.img

#FBSD 5.1 (/dev/hda2)
title FreeBSD 5.1
	rootnoverify (hd0,0)
	chainloader +1

#Slacky 9.1 (/dev/hda4)
title Slackware 9.1
	rootnoverify (hd0,3)
	chainloader +1
if i try to boot Slack it returns an error, but FreeBSD and Fedora Core boot regulary... i haven't any idea to how setting up this file, even if i read the previous messages

thanks all
 
Old 09-18-2004, 05:26 AM   #6
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
the error is the following:

Error 13: invalid or unsupported executable format
 
Old 09-18-2004, 05:58 AM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Change :
#Slacky 9.1 (/dev/hda4)
title Slackware 9.1
rootnoverify (hd0,3)
chainloader +1

to :
#Slacky 9.1 (/dev/hda4)
title Slackware 9.1
root (hd0,3)
kernel /boot/vmlinuz ro root=/dev/hda4
 
Old 09-18-2004, 06:48 AM   #8
MD3
Member
 
Registered: Apr 2004
Location: Italy
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
thanks a lot cedric... i am now typing from slack )

thanks again.. and bye
 
Old 10-25-2004, 01:16 PM   #9
Alinuxnoob
Member
 
Registered: Feb 2002
Location: Van city
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
Hey does anyone know if the slackware package from linuxpackages support "splashimage"
 
Old 10-25-2004, 02:00 PM   #10
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 308

Rep: Reputation: 30
Not sure.

Try getting the source and patch from the debian website. Their grub supports splashimage. And just install it in slack.
 
  


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 to Grub zchoyt Linux - Software 3 08-15-2005 10:34 PM
Adding to GRUB stolieman Linux - General 1 11-20-2004 12:42 AM
adding OS to Grub jturnbul Fedora 6 09-16-2004 08:29 PM
Adding Slackware to GRUB jturnbul Slackware 14 09-15-2004 03:48 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

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

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