 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] question regarding booting custom guest kernel
 Thanks for the prompt response. Please find answers inline On 27 September 2013 15:00, Wei Liu <wei.liu2@xxxxxxxxxx> wrote: 
 Here is the top of the log for the guest1 that I tried to create using custom kernel: <Guest1-log> General Information -------------------- Hostname       :  ubuntu-3.11.0-guest1 Distribution   :  precise 
Mirror         :  http://de.archive.ubuntu.com/ubuntu/ Partitions     :  swap            512M  (swap) 
                  /               20G   (ext3) Image type     :  sparse Memory size    :  128M Kernel path    :  /boot/vmlinuz-3.11.0-guest Module path    :  /lib/modules/3.11.0-guest/ Initrd path    :  /boot/initrd.img-3.11.0-guest ... </Guest1-log> This is the same mirror which I used in the second case, where I managed to create the image using the mirror: <Precise-log> General Information -------------------- Hostname       :  precise-guest Distribution   :  precise Mirror         :  http://de.archive.ubuntu.com/ubuntu/ Partitions     :  swap            128M  (swap)                   /               20G   (ext3) Image type     :  sparse Memory size    :  512mb ... Done Installation method: debootstrap Using /usr/sbin/debootstrap as debootstrap command Copying files from host to image. Copying files from /var/cache/apt/archives/ -> /tmp/Jk_qr78n4J/var/cache/apt/archives Done Done I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 630239CC130E1A7FD81A27B140976EAF437D05B5) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Checking component main on http://de.archive.ubuntu.com/ubuntu... I: Validating adduser I: Validating apt I: Validating apt-utils I: Validating base-files ... </Precise-log> What do I need to checkout about the debootstrap? 
 Xen (4.4-unstable) is also custom built. I have following hotplug scripts in /etc/xen/scripts: hotplugpath.sh  
hotplugpath.sh.dpkg-dist xen-hotplug-common.sh xen-hotplug-common.sh.dpkg-dist vtpm-hotplug-common.sh xen-hotplug-cleanup 
Below is the content of the guest1 config file: <begin-config> kernel     = '/boot/vmlinuz-3.11.0-guest' ramdisk  = '/boot/initrd-3.11.0-guest' 
vcpus     = '1' memory = '2048' root       = '/dev/xvda2 ro' disk      = [                   'file:/home/domains/ubuntu-3.11.0-guest1/disk.img,xvda2,w',                   'file:/home/domains/ubuntu-3.11.0-guest1/swap.img,xvda1,w',                ] name    = 'ubuntu-3.11.0-guest1' dhcp     = 'dhcp' vif         = [ 'mac=00:16:35:46:82:E4' ] > <end-config> Wei. Aastha Mehta _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |