Port-xen archive

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

Trying to create first Xen guest...



Trying to create first Xen guest, a NetBSD 6.1.5 (later I'll need a
linux). I have a dom1 config with 2 disks (see dom1 config file below):

	1st is a 10G dom1-xbd0 image file,
	2nd is the NetBSD-6.1.5-amd64-install.img (USB install) (xbd1)

I then:

	xl create -c dom1

and run through the installer steps, selecting disk "xbd0", full disk,
single partition, full sets.  All is fine until the installation of the
kernel and sets.

I set the install media device to "xbd1a" from "cd0a" and continue only
to have it fail. I've tried with xbd1a, xbd1c, xbd1d, and xbd1 based on
the two tutorials available:

http://wiki.netbsd.org/tutorials/how_to_set_up_a_guest_os_using_xen3/#index12h2

> xm create dom1 -c
> 
> The reserved partition will appear as /dev/xbd0. Proceed as you would
> with a normal NetBSD installation using xbd0 as the target drive and
> xbd1 as the CDROM.
> 
> When you have finished, run shutdown -hp now to dom1.

http://wiki.netbsd.org/ports/xen/howto/

> After booting the domain, the option to install via CDROM may be
> selected. The CDROM device should be changed to xbd1d.

Dropping to a shell during the install appears to be broken: the dom1
console appears to no longer scroll, so diagnosing is problematic;
unclear if this is related to screen(1) or Xen console code.

---/usr/pkg/etc/xen/dom1---

# -*- mode: python; -*-

name="dom1"
#kernel = "/netbsd-XEN3_DOMU.gz"
kernel = "/netbsd-INSTALL_XEN3_DOMU.gz"
memory = 2048
vif = [ 'bridge=bridge0' ]
disk = [
        'file:/spare/xen/dom1-xbd0,0x0,w',
        'file:/home/iso/NetBSD-6.1.5-amd64-install.img,0x02,r',
]
# USB install
#       'phy:/dev/sd0a,0x01,r',
# CDROM (if I had one)
#       'phy:/dev/cd0a,0x01,r',

---

-- 
Anthony C Howe            Skype: SirWumpus                  SnertSoft
                        Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/

-- 
Anthony C Howe            Skype: SirWumpus                  SnertSoft
                        Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/


Home | Main Index | Thread Index | Old Index