LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-23-2007, 05:07 PM   #1
DIGITAL39
Member
 
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Rep: Reputation: 15
LILO Multiboot problem


I am quad booting Backtrack, Slackware, Fedora, and Windows XP on my laptop. The problem comes in when I try to boot Fedora. This is the error I receive.

Code:
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
Kernel panic - not syncing: Attempted to kill init!
Here is my lilo.conf

Code:
boot = /dev/hda
prompt
timeout = 50
bitmap = /boot/splash.bmp
change-rules
reset
vga = 0x317

# BackTrack 2.0 Final
image = /boot/vmlinuz
  root = /dev/hda1
  label = BackTrack
  initrd = /boot/splash.initrd
  read-only

# Slackware 12.0
image = /mnt/hda2/boot/vmlinuz
  root = /dev/hda2
  label = Slackware
  read-only

# Fedora 7
image = /mnt/hda5/boot/vmlinuz-2.6.21-1.3194.fc7
  root = /dev/hda5
  label = Fedora
  initrd = /mnt/hda5/boot/initrd-2.6.21-1.3194.fc7.img
  read-only

# Windows XP
other = /dev/hda3
  label = Windows
  table = /dev/hda

# EOF
Any help would be greatly appreciated.

- Pete
 
Old 08-23-2007, 05:28 PM   #2
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Rep: Reputation: 46
What is your Fedora version?
Because Fedora 7 has grave problems with SATA hard drives.
I am forced to install Fedora 7 on an IDE hard drive.

Many people who benefits by participating in this forum have problems installing Fedora 7 on SATA hard drives.
 
Old 08-23-2007, 05:31 PM   #3
DIGITAL39
Member
 
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Gins View Post
What is your Fedora version?
Because Fedora 7 has grave problems with SATA hard drives.
I am forced to install Fedora 7 on an IDE hard drive.

Many people who benefits by participating in this forum have problems installing Fedora 7 on SATA hard drives.
I am running Fedora 7.

The hard drive is a IDE drive in a laptop.
 
Old 08-23-2007, 05:47 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Fedora likes to sell every user a LVM. Did you have one? If you do then the root should point to the LVM partition.
 
Old 08-23-2007, 05:54 PM   #5
DIGITAL39
Member
 
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by saikee View Post
Fedora likes to sell every user a LVM. Did you have one? If you do then the root should point to the LVM partition.
I used a custom layout and specified sda5 in Fedora. Thinking about it that might be an issue, if I am setting root in lilo.conf as /dev/hda5 maybe Fedora is not seeing it because it expects /dev/sda5.

I tried specifying sda5 just for kicks in lilo and it wouldnt take. What are some thoughts on that?
 
Old 08-23-2007, 06:34 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
The 2.6.20 and newer kernel abandon the Pata disk names and group Pata devices same as Sata/SCSI/USB disks.

It is highly probably the the Fedora 7 only recognise sda5 although I know some distros still support hda devices.

Before I can advise you any further I need your confirmation of the following

(1) Have you got Grub inside Fedora or you just use Lilo throughout?
(2) It is highly irregular to put the kernel and initrd in /mnt directory. Should you not have the red bits removed?
Code:
# Fedora 7
image = /mnt/hda5/boot/vmlinuz-2.6.21-1.3194.fc7
  root = /dev/hda5
  label = Fedora
  initrd = /mnt/hda5/boot/initrd-2.6.21-1.3194.fc7.img
  read-only
For example My Fedora 7 menu.lst looks like this
Code:
title Fedora (2.6.22.1-41.fc7)
        root (hd1,5)
        kernel /boot/vmlinuz-2.6.22.1-41.fc7 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.22.1-41.fc7.img
As far as I am aware all distros put their kernel and initrd in the /boot directory, although there is nothing to stop a user to place them somewhere else.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[LiLo] can't multiboot WinXP Rikra Linux - Software 4 11-01-2004 09:00 AM
Multiboot Problem with LILO fati Linux - General 0 06-14-2004 02:33 AM
multiboot problem with lilo bashrc2 Slackware 1 04-09-2004 03:26 AM
Mandrake LILO - Multiboot mailmarshall Linux - Newbie 3 02-17-2004 02:08 AM
Using LiLo to multiboot more than one distro Slakje Linux - General 7 07-08-2003 06:36 PM


All times are GMT -5. The time now is 10:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration