Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: domU install question
On Sat, Sep 12, 2009 at 03:09:19PM -0400, Brent Verner wrote:
> On Sat, Sep 12, 2009 at 9:38 AM, Manuel Bouyer
> <bouyer%antioche.eu.org@localhost> wrote:
> > On Sat, Sep 12, 2009 at 01:50:21AM -0400, Brent Verner wrote:
>
> >> Everything seems to work fine except that there are no partitions
> >> created on the xbd0 drive within the domU, nor can I see any partitions
> >> on the device from dom0. Is this the normal behaviour of the installer?
>
> > Didn't sysinst offer you to create partitions ?
> > Note that NetBSD doens't use fdisk-style partitions: it will create
> > one large fdisk-style partition for the NetBSD space, which will then
> > be subdivised using disklabel-style partitions.
>
>
> ISTR this being the case, too, from past installations on file-backed
> 'tap:aio' domUs, but I don't haven't tried installing that way this time
> (fdisk output from domU and dom0 at end of this message). I'll try
> installing to a file-backed domU early next week to see if that behaves
> as expected.
It should behave the same, but see below
>
> Is the domU configuration below correct for domU to see
> a "whole drive"? Is there anything special that needs to be done to the
> LV (/dev/vg0/xen-3-root) in dom0 for this to behave correctly? I've
> tried pretty much everything from zeroing out the LV to creating one
> large fdisk partition before installation.
> root = 'xbd0d' # also tried xbd0, xbd0a...doesn't seem to make a diff.
> disk = [ 'phy:/dev/vg0/xen-3-root,hda,w' ]
AFAIK this is correct.
> root@domU:~# fdisk xbd0
> fdisk: Cannot determine the number of heads
> Disk: /dev/rxbd0d
> NetBSD disklabel disk geometry:
> cylinders: 20000, heads: 1, sectors/track: 2048 (2048 sectors/cylinder)
> total sectors: 40960000
>
> BIOS disk geometry:
> cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
> total sectors: 40960000
>
> Partition table:
> 0: <UNUSED>
> 1: <UNUSED>
> 2: <UNUSED>
> 3: <UNUSED>
> No active partition.
On a standard installation done from sysinst, you should have one partition
covering the whole drive. Did you say "use the entire drive" when
sysinst asked for fdisk-style (I think it says "MBR partition" for this) ?
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index