LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-25-2005, 02:52 PM   #1
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Rep: Reputation: 15
Xen Can't Mount Root Device ?


I've installed Xen and trying to load 10.0

10.0 works fine.

But Xen reports a problem trying to mount the root device.

Here's the problem report:

Quote:
VFS: Cannot open root device "hdc2" or unknown-block (0,0)

Please append a corrent "root=" boot option

VFS: Unable to mount root fs on unknown-block (0,0)
Here's the GRUB definitions:

Quote:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,1)
kernel /boot/vmlinuz root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1 splash=silent showopts
initrd /boot/initrd-2.6.13-15-xen

###Don't change this comment - YaST2 identifier: Original name: xen
title Xen 3.0 /XenLinux 2.6
kernel /boot/xen-3.0.gz dom0_mem=131072
module /boot/vmlinuz-xen root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1
module /boot/initrd
I'm stuck on what 'unknown-block means and how to fix it.

Anyone have experience of this or know how to fix it ?

Thanks

Pete
 
Old 11-25-2005, 03:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well there's no root() entry in the Xen section is there? you gotta tell it where it's root is, that's why it's an unknown block....
 
Old 11-25-2005, 04:07 PM   #3
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
module /boot/vmlinuz-xen root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1
 
Old 11-25-2005, 04:17 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well... super... good for you.


so anyway - there's still no root() command.
 
Old 11-25-2005, 04:28 PM   #5
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1

Which is part of:

module /boot/vmlinuz-xen root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1

Which, as far as I understand it (not much) is the equivalent of:

kernel /boot/vmlinuz root=/dev/hdc2 vga=0x317 selinux=0 resume=/dev/hdc1

Which loads 10.0 native just fine.

Which is why I'm asking, 'cos I'm stuck, man

Pete
 
Old 11-26-2005, 01:51 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
blimey... you need a line like "root (hd1,1)" as is clearly visible in your existing working entry. this command is for grub to know where to find your kernel image etc... in the "kernel" line there, you start with a path "/boot/vmlinuz" where is that supposed to be? I suppose the fact that you appear to have inadvisably decided not to have a dedicated /boot partition blurs it a little bit, as normally that'd just say "/vmlinuz" or such like. but either way... you still need that root() command to get the kernel in the first place, as the boot=/dev/hdc2 line is an option used by the boot process later on.
 
Old 11-27-2005, 08:50 AM   #7
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
Some days I despair of myself. Of course.

Thanks for your help, Chris, and thanks for your patience with an old fool

Pete
 
  


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
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
New Kernel unable to mount root device xprometeus Linux - General 6 11-27-2005 10:17 AM
kernel panic - cant mount root device. -Nw- neX Linux - Software 18 09-19-2004 02:56 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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