[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] installing a new domU
Fred Blaise wrote: Xen does paravirtualization which means that it cannot run unmodified Operating Systems (like VMware can). This makes installation a little challenging since distro installers (while just userspace processes) are very picky about how/where they are run.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: The easiest approach to installing domUs is to just use qemu. Do a normal install into a qemu disk and then use that disk image as /dev/hda in Xen. For instance, if you install a domU with the following qemu command line: qemu -hda /dev/volumnes/fedora4 -cdrom /dev/cdrom -boot d Then in Xen, you would use a config that had at least these parameters: kernel='/boot/vmlinuz-2.6-xenU' memory=512 name='oes1' disk=['phy:volumes/fedora3', 'hda', 'w'] root='/dev/hda1' And it should Just Work. Regards, Anthony Liguori 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" 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 \ _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |