On 10/18/05, Fred Blaise <chapeaurouge@xxxxxxxxx> wrote:
> Hi all
>
> I have a stupid question...
>
> How do you actually install a new OS inside a new domainU ?
> I assumed it'd be vmware like, meaning, given the following config:
>
> kernel = "/boot/vmlinuz-2.6.12-xenU"
> memory = 512
> name = "oes1"
> disk = [ 'phy:vgdata/lv_xen_oes1,hda1,w' ]
> disk = [ 'phy:md2,hda2,w' ]
> dhcp="dhcp"
> root = "/dev/hda1 ro"
> extra = "4"
I got a little farther doing this:
disk = [ 'phy:hdd,hdd,r' , 'phy:vgdata/lv_xen_oes1,hda1,w' , 'phy:hda5,hda2,w' ]
where hdd is my cdrom device, lv_xen_oes1 the /, and hda2 my swap
space.. but i still get this:
Freeing unused kernel memory: 152k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
>
> and starting it like 'xm create oes1 -c', the console opens, sees
> nothing (lv_xen_oes1 is empty), it would prompt me to install the new
> OS..
>
> But since I get a
> VFS: Cannot open root device "hda1" or unknown-block(2,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
>
> I am assuming there needs to be something on it before I start the
> domain? In that case, how do I install a new OS inside that domain?
>
> Thanks a lot for pointing me to relevant documentation, or answering
> this stupid question.
>
> fred
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|