[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Installing a Debian Etch DomU using debootstrap
On Sun, 2008-07-20 at 15:58 +0200, Thomas wrote: > Registering block device major 3 > hda: unknown partition table > hdb: unknown partition table at least xen sees the discs now. > I am pretty sure, that /dev/hda1 and /dev/hda2 must be used in Xen. no, i really don't think so. i tested the debootstrap procedure on my xen server and it works fine. i did: - create a logical volume with 10G - create an ext3 fs on this lv - mount the lv somewhere (/mnt/loop in my case) - debootstrap the new lv with: debootstrap lenny /mnt/loop \ ftp://ftp.at.debian.org/debian/ - mount /proc to /mnt/loop/proc, chroot into /mnt/loop and run dselect to install the rest of the required software - exit chroot, unmount /mnt/loop/proc - rsync -a /lib/modules/2.6.18-6-xen-amd64 /mnt/loop/lib/modules/ - unmount /mnt/loop i booted this domU with the following config: kernel = "/boot/vmlinuz-2.6.18-6-xen-amd64" ramdisk = "/boot/initrd.img-2.6.18-6-xen-amd64" builder='linux' memory = 256 name = "centauri" vcpus = 1 vif = [ 'mac=00:16:3e:14:07:88, bridge=xenlan' ] disk = [ 'phy:/dev/babylon/xen_test,hda,w' ] hostname="centauri" root = "/dev/hda ro" extra = "3 noirqdebug" on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' everything went fine, the domu successfully booted into runlevel 3. maybe you should give the netinstall method a try? kr, tom. -- Thomas "Duke" Hager {duke,hager}@sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |