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 09-04-2009, 11:54 PM   #1
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Slackware as an option in multiboot Grub system


I have a PC with Ubuntu 9.10, XP Home and am now trying to add Slackware 13
I am struggling to get Slackware loadable from Grub as I have /boot on its own partition (I have had problems with booting from JFS in the past)

I have the following disk partitioning

sda1 bootable NTFS (Windows XP)
sda2 ext3 (Ubuntu /boot)
sda5 JFS (Ubuntu root)
sda6 swap
sda7 ext3 (Slackware /boot)
sda8 JFS (Slackware root)

Grub is from Ubuntu
/boot/grub/menu.1st has

title Ubuntu 9.04, kernel 2.6.28-15-generic
uuid 845e15da-d20b-42ee-93bb-a696cf7e3288
kernel /vmlinuz-2.6.28-15-generic root=UUID=5c3c3ba2-54d5-4833-9cd7-61a5a37a1717 ro quiet splash
initrd /initrd.img-2.6.28-15-generic
quiet


### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Home Edition
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
 
Old 09-05-2009, 12:00 AM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Try adding this to your menu.lst

title Slackware 13.0 (/dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 ro vga=normal
 
Old 09-05-2009, 01:06 AM   #3
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Original Poster
Rep: Reputation: 33
Tried that and got an Error 15: file not found

Anyway now solved with

title Slackware 13
root (hd0,6)
kernel /vmlinuz root=/dev/sda8 ro vga=normal

as the kernel is at the root of the /boot partition and the real root is on sda8
 
Old 09-05-2009, 01:43 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
there is two ways to do this
1. install lilo to root of sda7 using your slackware cd, and then chainload into sda7 from ubuntu grub.
2. back up all the files in sda7 somewhere else, format sda7 to ext3 using ubuntu, restore your files back to sda7, then add slackware grub entry as previously mentioned. may have to use hda7 instead of sda7 in the kernel line
 
Old 10-03-2009, 10:42 AM   #5
instinct46
LQ Newbie
 
Registered: Dec 2005
Location: Liverpool
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Smile Thanks!! ^^

Cheers people,

I installed Slackware 13.0 and for some reason it never installed the boot loader, but left ubuntu's boot loader, so I kinda jimmied my slackware OS boot thing from the ubuntu one, which kinda left everything a little messed up.

Everything's working fine know
 
  


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
[SOLVED] Put A Slackware Boot Option In GRUB theacerguy Linux - General 13 07-19-2009 11:40 AM
GRUB multiboot: how to change the default boot system 4 one boot skipidar Linux - Software 2 06-22-2009 04:27 PM
grub overwrote lilo multiboot, missing one boot in Grub rl23455 Linux - Newbie 1 12-09-2007 01:50 PM
grub multiboot help firephenix405 Linux - Newbie 2 09-10-2006 09:51 PM
Grub ?????? [Multiboot] UsualTuxpect Linux - Software 4 09-13-2004 12:37 AM

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

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