All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Higgins <karl@packettrap.org>
To: xen-devel@lists.sourceforge.net
Subject: Re: ttylinux unable to mount root fs on gentoo
Date: Sat, 29 Jan 2005 09:20:15 -0600	[thread overview]
Message-ID: <200501290920.16199.karl@packettrap.org> (raw)
In-Reply-To: <200501291341.34926.maw48@cl.cam.ac.uk>

Yes, /dev/sda1 does exist in dom0:

l500r root # ls -l /dev/sda1
brw-rw----  1 root disk 8, 1 Oct 23 23:28 /dev/sda1
l500r root #

This box was setup as a "tweaked" udev box per the instructions in sections 1 
and 2 of:

http://www.gentoo.org/doc/en/udev-guide.xml

It seems that the gentoo init scripts detect this configuration and construct 
a set of devices early in the boot then start udevd (still running).

 Using 0801 instead of /dev/sda1 yields the following for both the file and 
lvm disk:

VFS: Cannot open root device "0801" or unknown-block(8,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

--
karl@packettrap.org

On Saturday 29 January 2005 07:41, Mark Williamson wrote:
> Interesting...
>
> Does /dev/sda1 exist in dom0?  (I'm guessing not as you'll be using udev or
> devfs).  What happens if you specify 0801 instead of /dev/sda1 in your
> config file?
>
> Cheers,
> Mark
>
> On Saturday 29 January 2005 05:56, Karl Higgins wrote:
> > Hello,
> >
> > I have a gentoo box running xen 2.0.3 which is unable to boot the
> > ttylinux image from sourceforge. I compiled xen, xen0, and xenU from
> > sources.
> >
> > I have attempted to boot the xenU kernel with / in a file and a logical
> > volume and get the same message either way.
> >
> > error message:
> >
> > VFS: Cannot open root device "sda1" or unknown-block(8,1)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(8,1)
> >
> > config file passed to "xm create ...":
> >
> > kernel = "/boot/vmlinuz-2.6.10-xenU"
> > memory = 64
> > name = "ttylinux"
> > nics = 1
> > #disk = [ 'phy:hdX_vg/ttylinux_lv,sda1,w' ]
> > disk = [ 'file:/root/ttylinux-xen,sda1,w' ]
> > root = "/dev/sda1 ro"
> > restart = "never"
> >
> > --
> > karl@packettrap.org
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  reply	other threads:[~2005-01-29 15:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29  5:56 ttylinux unable to mount root fs on gentoo Karl Higgins
2005-01-29 13:41 ` Mark Williamson
2005-01-29 15:20   ` Karl Higgins [this message]
2005-01-29 15:45     ` Mark Williamson
2005-01-29 15:55     ` Steven Hand
2005-01-29 16:51       ` Karl Higgins
2005-01-29 17:19         ` Steven Hand
2005-01-29 19:52           ` Karl Higgins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501290920.16199.karl@packettrap.org \
    --to=karl@packettrap.org \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.