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

[Xen-users] NetBSD domU on Debian dom0

Hi all!

I'm trying to install a NetBSD domU because I want learn to use BSD
systems and I think that it could be a interesting alternative. Dom0 is
Xen 3.0.3-1 installed from Debian packages. But I've problems in access
to ISO image.

DomU config file:

sirius:~# cat /etc/xen/netbsd
kernel = "/boot/netbsd-INSTALL_XEN3_DOMU"
memory = 128
name = "netbsd3.1"
#disk = [ 'phy:vm/netbsd-3.1,0x3,w' ]
disk = [ 'file:tmp/i386cd-3.1.iso,0x04,r', 'phy:vm/netbsd-3.1,0x03,w' ]
root = "0x04"

# Replace with your IP info
ip = ""
netmask = ""
gateway = ""

Out of "xm create -c netbsd":

Using config file "netbsd".
Started domain netbsd3.1
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.1 (INSTALL_XEN3_DOMU) #0: Tue Oct 31 05:09:39 UTC 2006
total memory = 121 MB
avail memory = 118 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Unknown K7 (Athlon) (686-class), 2200.07 MHz,
id 0x20ff2
cpu0: features 78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 78bfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMX>
cpu0: features 78bfbff<FXSR,SSE,SSE2>
hypervisor0 at mainbus0
debug virtual interrupt using event channel 3
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xenbus0: using event channel 1
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: console major 143, unit 0
xencons0: using event channel 2
npx0 at hypervisor0: using exception 16
Xen clock: using event channel 4
raidattach: Asked for 8 units
Kernelized RAIDframe activated
md0: internal 5000 KB image area
xbd0 at xenbus0 id 4: Xen Virtual Block Device Interface
xbd0: using event channel 5
xbd1 at xenbus0 id 3: Xen Virtual Block Device Interface
xbd1: using event channel 6
xbd0: 207 MB, 512 bytes/sect x 425184 sectors
xbd1: 4096 MB, 512 bytes/sect x 8388608 sectors
Searching for RAID components...
backend_changed backend
boot device: xbd0
root on md0a dumps on md0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
warning: no /dev/console
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
init: Creating mfs /dev (413 blocks, 1024 inodes)
erase ^?, werase ^W, kill ^U, intr ^C

According to I can see:

xbd0: 207 MB, 512 bytes/sect x 425184 sectors   ---> ISO image
xbd1: 4096 MB, 512 bytes/sect x 8388608 sectors ---> LVM device

The problem is the selection of the medium/filesystem, I think. Could
someone help me? I test "unmounted fs" with:

device:         xbd0
file system:    cd9660
base directory: mnt2
set directory:  i386/binary/sets

But I get:

Status: Command failed
Command: /sbin/mount -rt cd9660 /dev/xbd0 /mnt2

Thanks in advance.

Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

Attachment: signature.asc
Description: Digital signature

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.