NetBSD-Users archive

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

Re: Linux domU disk questions

On Sat, Jan 01, 2011 at 07:08:52PM +0000, Gerard Lally wrote:
> NetBSD 5.1 amd64
> Xen 3.3.2 from pkgsrc-2010Q3
> I want to install a Slackware domU under my NetBSD dom0. I am following
> the Xen howto guide at NetBSD and the Xen wiki tutorial cached at
> aydogan.
> I have two 36GB SCSI disks - the first is for the dom0 and a number of
> NetBSD domUs.
> I want to use the second for a Slackware 13.1 i386 domU.
> Do I fdisk and disklabel this second disk in NetBSD or just leave it
> blank for Slackware's fdisk to partition?

If you want to dedicate the whole drive to Slackware, just leave it
blank and export it to the domU via phy:/dev/sd1d

> If I then put an ext4 or xfs filesystem on the Slackware partition will
> the NetBSD dom0 be able to export this physical disk in the domU
> configuration file?

yes, the dom0 doesn't looks at what is in the (virtual) disks.

> And lastly, is it OK to perform a standard installation of Slackware on
> the second disk, and then compile a vanilla kernel with the Xen options
> enabled? When I reboot into Xen the Slackware domU will start as a PV
> guest? Are there other options in the Linux kernel configuration I
> should enable in order to run Slackware as a domU in a NetBSD dom0?

This is a harder question; it is hightly distrib-dependant.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index