Port-xen archive

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

Re: using linux as domU. --- done!!!



On Tue, Nov 25, 2008 at 10:43:14AM -0600, John Hayward wrote:
> [...]
> =====
> ar1204# cat /etc/motd
> NetBSD 4.99.72 (XEN3_DOM0) #0: Mon Sep 29 12:08:41 PDT 2008
> ar1204# vnconfig -l vnd6
> vnd6: /Xen (/dev/wd0h) inode 1548295
> ar1204# disklabel vnd6
> # /dev/rvnd6d:
> type: vnd
> disk: vnd
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 64
> sectors/cylinder: 2048
> cylinders: 4096
> total sectors: 8388608
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 4 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  a:   8388608         0 Linux Ext2      0     0        # (Cyl.      0 -   
>  4095)
>  d:   8388608         0     unused      0     0        # (Cyl.      0 -   
>  4095)
> ar1204# newfs_ext2fs /dev/vnd6a
> newfs_ext2fs: /dev/vnd6a: open for write: Device busy

make your 'a' partition start at a small offset from the beggining (e.g. 32,
as you have 32 sectors/track). The kernel prevent writting the
first sectors because it would trash the disklabel.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index