LinuxQuestions.org
Review your favorite Linux distribution.
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 06-20-2007, 11:33 AM   #1
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Rep: Reputation: 30
Booting?


Just install debian etch on hd1 with Slackware 12 on hd3 which I already had running with lilo bootloader, I selected Grub on debian to use for bootload, Now debian grub has 4 titles slackware /hd3 for booting and I tried to boot from the first one and got kernel panic.
Looked into grub menu and found that each of the slackware hd3 have different kernel /boot/vmlinuz. Ok which kernel is the right one?

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz-generic-2.6.21.5 root=/dev/hda3
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz-generic-smp-2.6.21.5-smp root=/dev/hda3
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz-huge-2.6.21.5 root=/dev/hda3
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz-huge-smp-2.6.21.5-smp root=/dev/hda3
savedefault
boot

frank@debian:~$
 
Old 06-20-2007, 12:20 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That config is wrong, I would read /boot/grub/grub.txt, especially this part:

Code:
Examples of the difference between Linux and GRUB device names.

Linux IDE:	GRUB IDE:	Linux SCSI:	GRUB SCSI:
/dev/hda1       (hd0,0)		/dev/sda1       (hd0,0)
/dev/hda2       (hd0,1)		/dev/sda2       (hd0,1)
/dev/hda3       (hd0,2)		/dev/sda3       (hd0,2)
/dev/hda4       (hd0,3)		/dev/sda4       (hd0,3)
/dev/hdb1       (hd1,0)		/dev/sdb1       (hd1,0)
/dev/hdb2       (hd1,1)		/dev/sdb2       (hd1,1)
/dev/hdb3       (hd1,2)		/dev/sdb3       (hd1,2)
/dev/hdb4       (hd1,3)		/dev/sdb4       (hd1,3)
you have 'root (hd0,2)' for all your options, that cannot be right.

Last edited by H_TeXMeX_H; 06-20-2007 at 12:21 PM.
 
Old 06-20-2007, 01:06 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H
you have 'root (hd0,2)' for all your options, that cannot be right.
can't it be correct if his /boot is on the third HD partition?

i think first you need to give more info about how you set up your HD? is there a separate partition for /boot that is shared by debian and slackware? or is there a /boot directory on each distro's partition?

i.e. if your slackware /boot is on /dev/hda3 then i think your grub/menu.lst should read:

Code:
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,4)
kernel /boot/vmlinuz-generic-2.6.21.5 root=/dev/hda3
savedefault
boot
but if you have a /boot partition shared amongst them at /dev/hda2 then:
Code:
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda3.
title Slackware Linux (Slackware 12.0.0) (on /dev/hda3)
root (hd0,3)
kernel vmlinuz-generic-2.6.21.5 root=/dev/hda3
savedefault
boot
 
Old 06-20-2007, 02:28 PM   #4
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Tried booth and got kernel panic?
 
Old 06-20-2007, 02:46 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Can you post what you have on each partition. I assumed they would all be separate, each with its own /boot directory. You need to say how it is arranged, what is on each partition ?
 
Old 06-20-2007, 03:11 PM   #6
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Finally got with the help of devils_casper


"just put vmlinuz only".
Code:

title Slackware Linux root (hd0,2)
kernel /boot/vmlinuz ro root=/dev/hda3
savedefault
boot
This works. Thank you.
 
  


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
Booting error in puppy linux while booting it from fedora why ? senthilarumugam LinuxQuestions.org Member Intro 1 02-22-2007 02:43 PM
Dual-booting and Multi-Booting trainee Slackware - Installation 6 06-18-2006 07:50 PM
booting Linux from an image that lost booting capabilities tgr Linux - Software 1 03-05-2006 11:28 AM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM

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

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