LinuxQuestions.org
Register a domain and help support LQ
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 11-22-2005, 05:08 PM   #1
cormack
Member
 
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
Slack and suse dual boot. boot error


I ahve been using suse for a while now and i wanted to give slack 10.2 a try. I installed it onto hdb1, with suse / on hda1 and /disk2 on hda3, with the swap on hda2. Slack shares the swap partition. I did not install the Lilo boot loader when installing slack, because i thought i could add it in my grub bootloader in yast in suse. i kept the default vmlinuz kernel for slack. i set grub up for suse as default, and slack with the the kernel at /slackware (where i mounted hdb1) at /slackware/boot/vmlinuz. the intitial RAM disk at /boot/initrd and the root device /dev/hdb1.
then save the settings and shutdown. On reboot i selected slackware for my grub list and i got a paraising error. with 'press any key to continue' i then booted into suse. tried it again but noluck.

Does anyone dual with suse and slack?


Thanks Ryan
 
Old 11-22-2005, 05:42 PM   #2
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,621

Rep: Reputation: 142Reputation: 142
Yes, I have a multiboot system with SuSE and Slackware. However, I am not trying to boot Slackware with the SuSE Grub, and I don't even know if it is possible. Instead I use a chainloader configuration, with Grub calling Lilo when I select Slackware.

My configuration looks like so:


<SuSE 10.0 /boot/grub/menu.ls>

Modified by YaST2. Last modification on Do Okt 6 04:56:12 CEST 2005

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,4)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,4)
kernel /vmlinuz root=/dev/hda6 vga=0x317 selinux=0 resume=/dev/hda2 splash=silent showopts
initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: linux###
title Slackware 10.2
chainloader (hd0,8)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,4)
kernel /vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /initrd


<SuSE 10.0 /boot/grub/menu.ls>


In Slackware I use an automatically generated /etc/lilo.conf with a manually added section for kernel 2.6.13:

[...]
Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.13
initrd = /boot/initrd.gz
root = /dev/hda9
label = Linux2613
read-only
# Linux bootable partition config ends
[...]


As far as I remember I installed LILO to my /root partition, not as MBR, but I'm not sure.
The only difficult part is counting the partitions right in Grub's menu.lst. I strongly suggest that you read the relevant section in the SuSE manual. Just type 'help' and Return on the command line as a normal user. In KDE a Konqueror window should open with a search engine. Search for Grub.

Hope that helps.

gargamel

Last edited by gargamel; 11-22-2005 at 05:47 PM.
 
Old 11-22-2005, 06:34 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
I understand your favourite solution would be using grub as bootloader, so consider this as a spare solution.
I have Slackware installed on my second hard drive (second ide channel slave) together with Suse.
Suse has been installed without any bootloader, so I created a mount point on Slackware (/suse) where I mounted the Suse /boot partition b4 updating Slackware's Lilo.
My lilo.conf looks lke

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb3
label = Linux-2.6.13.4
read-only
image = /suse/boot/vmlinux-suse-bla-bla
root = /dev/hdb6
initrd = /suse/boot/initrd-suse-bla-bla
label = Suse
read-only
# Linux bootable partition config ends

Hope this helps
Ciao

Last edited by urka58; 11-22-2005 at 06:35 PM.
 
Old 11-22-2005, 06:40 PM   #4
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
I have Grub calling for Slackware at
/boot/vmlinuz
and no initrd.
 
Old 05-24-2006, 02:10 AM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Quote:
Originally Posted by urka58
I understand your favourite solution would be using grub as bootloader, so consider this as a spare solution.
I have Slackware installed on my second hard drive (second ide channel slave) together with Suse.
Suse has been installed without any bootloader, so I created a mount point on Slackware (/suse) where I mounted the Suse /boot partition b4 updating Slackware's Lilo.
My lilo.conf looks lke

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb3
label = Linux-2.6.13.4
read-only
image = /suse/boot/vmlinux-suse-bla-bla
root = /dev/hdb6
initrd = /suse/boot/initrd-suse-bla-bla
label = Suse
read-only
# Linux bootable partition config ends

Hope this helps
Ciao
thanks for posting this it helped me out. only thing I did differently was to:

-slackware install it's own lilo to the partition that slackware sits on.
-in suse made folder "/mnt/slak" and then told the lilo in suse to load the "/mnt/slak/boot/vmlinuz" and I got it working.
-also in suse's lilo under the section for slackware i added "read-only"

thanks again.
 
  


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
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr Suse/Novell 9 08-17-2005 01:57 PM
Dual boot SuSe 9.1 Pro/ Windows XP , Error kruptos Linux - Newbie 5 02-07-2005 10:00 AM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai Suse/Novell 1 12-14-2004 06:04 PM
dual boot Slack/Suse cphase Linux - Software 4 10-01-2004 02:38 PM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 11:49 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration