Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xenU install fails on newfs.



John Hayward wrote:
> I'm no expert on Xen and NetBSD but I think the issue may be related
> to the specification of root and index - Here is what you have:
>
> ====
>> disk = [ 'file:/home/glen/img/netbsd.img,3,w','phy:/dev/cd0a,0x4,r' ]
>> extra = ""
>> root = "xbd0"
> ====
>
> The following works for me:
> ====
> disk = [ 'file:/Xen/fs/netbsd-4.0.1.fs,0x01,w',
> 'file:/Xen/ISO/i386cd-4.0.1.iso,0x2,r' ]
> # Set root device. This one does matter for NetBSD
> #root = "/dev/wd0a"
> #below for run
> root = "xbd0a"
> #below for install
> #root = "xbd1d"
> ====
>
> Note: for install I have root pointing to the "d" partition of the CD
> image which has index 2 and after install I have root pointing to the
> "a" partition of the disk image which has index 1.
>
> johnh...
I copied over a NetBSD install image to my system and tried following
your example.  It did work just like you said.  Below is the disk line I
used.
disk = [ 'file:/home/glen/img/netbsd.img,0x1,w',
'file:/home/glen/img/i386cd-5.0.1.iso,0x2,r' ]

So the template I followed from you was:
disk = [ 'file:/path/to/image/filename.img,0x1,w',
'file:/path/to/install/image/install.img,0x2,r' ]

I am still trying to do this using the install cd so I can install other
OSes.  Currently I have:
disk = [ 'file:/path/to/image/filename.img,0x1,w', 'phy:/dev/cd0a,0x2,r' ]
I keep seeing this "xbd IO domain 2: error 22" message.  I am not sure
exactly what to do with this.



Home | Main Index | Thread Index | Old Index