WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Problems with loopback and sda1

> With:
> disk = [ 'phy:loop0,xda1,w', 'phy:sda1,sda1,r' ]
> root = "/dev/xda1 ro"
>
> I get error msg:
>  >>error begin
>
> VFS: Cannot open root device "xda1" or unknown-block(2,0)
>    Please append a correct "root=" boot option
>    Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)

The xda devices got removed.  Any sd* or hd* device node should work instead 
though.

Did you realise you can now specify file:/path/to/file as the source device 
instead of running losetup manually and using phy:loop0?

HTH,
Mark

>  >>error end
>
> Does Xen deny use of anything else than logical sda1 for HD? When my
> physical HD is sda1, how can I use another logical drive for my
> loopback?
>
> To save space I want to read-only mount my pysical HD from the
> loopbacks.
> (If I try to mount sda1 now, I mount the loopback, not the pysical HD)
>
> Cheers,
> Rune


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel