LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-01-2010, 10:29 AM   #1
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Rep: Reputation: 0
Exclamation Unable to boot Slackware off SUSE GrUB


Hi,

I've a multiboot machine and I recently installed Slackware64-13.1 on sda33. I added menu entry in SUSE boot loader and configured menu list as per http://www.linuxquestions.org/questi...oblems-244455/, it returns GrUB error 15.

Here is my menu list entry for Slackware -
Code:
###Don't change this comment - YaST2 identifier: Original name: other###
title Slackware64-13.1
    root (hd0,32)
    kernel /boot/vmlinuz root=/dev/sda33 ro hdd=scsi
    savedefault
    boot
Here is lilo configuration file -

During Lilo install on sda33 it returned error saying unable to install Lilo on sda33, please configure it manually. I mounted the partition and found lilo.conf in '/'.

Secondly, I will like to label Slackware '/' & '/home', can I use gparted and label them or I need to make further configurations, have not seen any label on '/etc/fstab' or '/etc/lilo.conf'

Best,

David

Last edited by grumpy.biatch; 11-01-2010 at 10:38 AM.
 
Old 11-01-2010, 10:37 AM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
I boot my Slackware from my Suse Grub. I installed LILO on the Salckware boot partition, and chainload it from the Grub bootloader. Here's the call in /boot/grub/menu.lst

Code:
###  manually added
title Slackware 13.1
    root (hd2,0)
    chainloader (hd2,0)+1
That calls LILO, and LILO boot Slackware.
 
Old 11-01-2010, 10:47 AM   #3
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by udaman View Post
I boot my Slackware from my Suse Grub. I installed LILO on the Salckware boot partition, and chainload it from the Grub bootloader. Here's the call in /boot/grub/menu.lst

Code:
###  manually added
title Slackware 13.1
    root (hd2,0)
    chainloader (hd2,0)+1
That calls LILO, and LILO boot Slackware.
Thanks mate, will try that now.
 
Old 11-01-2010, 10:51 AM   #4
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Doesnt boot, GrUB error 13.
 
Old 11-01-2010, 10:57 AM   #5
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
Paste your menu.lst here, just the part that calls Slackware. Are you using the drive and partition that LILO is on? It looks like it isn't even seeing the LILO boot partition. In Legacy Grub 0.97, (hd0) is the first drive sda, and (hd0,0) is the first partition, sda1. So you would need for sda33, (hd0,34).
 
Old 11-01-2010, 11:00 AM   #6
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by udaman View Post
Paste your menu.lst here, just the part that calls Slackware. Are you using the drive and partition that LILO is on? It looks like it isn't even seeing the LILO boot partition. In Legacy Grub 0.97, (hd0) is the first drive sda, and (hd0,0) is the first partition, sda1. So you would need for sda33, (hd0,34).
Here is Slack section -

Quote:
###Don't change this comment - YaST2 identifier: Original name: other###
title Slackware64-13.1
root (hd0,32)
chainloader (hd0,32)+1
 
Old 11-01-2010, 11:08 AM   #7
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
oops, my mistake. (hd0,32) is correct.

Here's my /etc/lilo.conf section:

Code:
# Linux root partition section
image = /boot/vmlinuz-huge-2.6.33.4
 initrd=/boot/initrd-huge-2.6.33.4.gz
 root = /dev/sdc1
 label = Linux
 read-only
# End root Linux partition section

My root = /dev/sdc1 corresponds to (hd2,0)

Check that you have it right in your lilo.conf. And check that you're using grub 0.97 and not grub 1.98
 
Old 11-01-2010, 11:10 AM   #8
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by udaman View Post
oops, my mistake. (hd0,32) is correct.

Here's my /etc/lilo.conf section:

Code:
# Linux root partition section
image = /boot/vmlinuz-huge-2.6.33.4
 initrd=/boot/initrd-huge-2.6.33.4.gz
 root = /dev/sdc1
 label = Linux
 read-only
# End root Linux partition section

My root = /dev/sdc1 corresponds to (hd2,0)

Check that you have it right in your lilo.conf. And check that you're using grub 0.97 and not grub 1.98
i guess i should try rootnoverify. Even if Lilo is failed this should boot slack, it works with bsd & solaris kernel.

i dont see any of those entries in my lilo.conf, check this http://pastebin.com/zD4YsgMj

that doesnt work either. guess i need to reinstall lilo. is there any restriction like >sdx16 or something.

Last edited by grumpy.biatch; 11-01-2010 at 11:16 AM.
 
Old 11-01-2010, 12:17 PM   #9
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
Quote:
Originally Posted by grumpy.biatch View Post
is there any restriction like >sdx16 or something.

It doesn't appear that there a restriction in your particular case. Check this post.
http://www.linuxquestions.org/linux/...ading_in_Linux

And this post as a tutorial:

http://www.justlinux.com/forum/showthread.php?t=144294
 
Old 11-01-2010, 10:25 PM   #10
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by udaman View Post
It doesn't appear that there a restriction in your particular case. Check this post.
http://www.linuxquestions.org/linux/...ading_in_Linux

And this post as a tutorial:

http://www.justlinux.com/forum/showthread.php?t=144294
Please correct me if I am wrong -

1. Boot Slackware DVD
2. mount /dev/sda33 /mnt
3. liloconfig
4. put lilo on '/' @ /dev/sda33

How do i change the disk labels or they are irrelevant during boot.
 
Old 11-02-2010, 02:09 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You can change them e.g. with fdisk but they are irrelevant for boot. Even if your /etc/fstab uses /dev/disk/by-id/..... labels, these are different from the names one can stick on ones partitions.
 
Old 11-02-2010, 05:06 AM   #12
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JZL240I-U View Post
You can change them e.g. with fdisk but they are irrelevant for boot. Even if your /etc/fstab uses /dev/disk/by-id/..... labels, these are different from the names one can stick on ones partitions.
Thanks.
 
Old 11-02-2010, 05:10 AM   #13
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
[solved]

i reinstalled Slackware without Lilo and added it to menu.lst in SUSE -

Code:
Title Slackware64-13.1
root (hd0,32)
kernel /boot/vmlinuz root=/dev/sda33 ro
boot
This logs me in console, I guess I will need to change the runlevel. How do I do that in Slack.

Best,

David
 
Old 11-02-2010, 05:12 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
That is determined in /etc/inittab. Just have a look, it is pretty obvious (I can't post an example, I'm sitting in front of a windows box).
 
Old 11-02-2010, 05:28 AM   #15
grumpy.biatch
Member
 
Registered: Jun 2010
Posts: 48

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JZL240I-U View Post
That is determined in /etc/inittab. Just have a look, it is pretty obvious (I can't post an example, I'm sitting in front of a windows box).
I guess I need to set that to '4'

Is that right?
 
  


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
Redhat 4 on HP server unable to boot up. Shows grub grub message cghcgh Linux - Server 5 10-13-2009 09:25 PM
Unable to boot into GRUB loader: GRUB command shell boots up: urgent issue wombat53 Linux - Software 9 09-04-2009 06:20 AM
how to recover Suse 11.0 /boot files if Ubuntu's grub lost them & can't boot to suse streams &dragonflies SUSE / openSUSE 6 10-18-2008 08:17 PM
Dual Boot Slackware and SUSE - Grub or Lilo? nix2ways Slackware 7 09-26-2006 03:26 AM
use suse/grub to boot slackware ? muddywaters SUSE / openSUSE 2 08-18-2005 01:10 PM

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

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