Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-22-2005, 05:08 PM
|
#1
|
Member
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156
Rep:
|
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
|
|
|
11-22-2005, 05:42 PM
|
#2
|
Senior Member
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839
|
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.
|
|
|
11-22-2005, 06:34 PM
|
#3
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
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.
|
|
|
11-22-2005, 06:40 PM
|
#4
|
Member
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Rep:
|
I have Grub calling for Slackware at
/boot/vmlinuz
and no initrd.
|
|
|
05-24-2006, 02:10 AM
|
#5
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|