Re: [opensuse-virtual] Booting opensuse installer iso as Xen PV DomU drops to grub prompt?
On Thu, Apr 9, 2015, at 12:50 PM, Charles Arnold wrote:
Did `zypper in vm-install` miss some dependencies?
By default vm-install will use libvirt to create VMs. Using the '--use-xl' flag when starting vm-install will ignore libvirt and just use Xen's 'xl' toolstack directly.
Also when you were asked,
Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] >
You should select '1' here and it won't start a graphical installation (should run in the same window as vm-install is running).
vm-install --use-xl Gathering settings... Please specify the type of operating system that will run within the virtual machine. This defines many defaults, and helps decide how to start paravirtualized operating systems. Press 'q' or the Escape key to exit. 1: Novell Open Enterprise Server 2 (Linux) 2: Novell Open Enterprise Server 2 (NetWare) 3: Novell Open Enterprise Server 11 4: Other operating system 5: PXE 6: RedHat (other) 7: RedHat Enterprise Linux 3 8: RedHat Enterprise Linux 4 9: RedHat Enterprise Linux 5 10: RedHat Enterprise Linux 6 11: RedHat Enterprise Linux 7 12: Relax and Recover 13: SUSE (other) 14: SUSE Linux Enterprise Desktop 10 15: SUSE Linux Enterprise Desktop 11 16: SUSE Linux Enterprise Desktop 12 17: SUSE Linux Enterprise Server 8 18: SUSE Linux Enterprise Server 9 19: SUSE Linux Enterprise Server 10 20: SUSE Linux Enterprise Server 11 21: SUSE Linux Enterprise Server 12 22: Solaris 9 and older 23: Solaris 10 24: Ubuntu 10 (Lucid Lynx, Maverick Meerkat) 25: Ubuntu 11 (Natty Narwhal, Oneiric Ocelot) 26: Ubuntu 12 (Precise Pangolin) 27: Ubuntu (other) 28: Windows 8 29: Windows 8 (x64) 30: Windows (other) 31: Windows (other, x64) 32: Windows NT 33: Windows Server 2008 34: Windows Server 2008 (x64) 35: Windows Server 2012 (x64) 36: Windows Vista, Windows 7 37: Windows Vista, Windows 7 (x64) 38: Windows XP, 2000, 2003 39: Windows XP, 2003 (x64) 40: openSUSE 41: openSUSE 11 42: openSUSE 12 43: openSUSE 13 [43] > Virtual machines can use paravirtualization or full virtualization. Paravirtualization is faster but requires operating system support. Full virtualization runs a broader range of operating systems but requires hardware support. Which do you prefer? 1: Full virtualization 2: Paravirtualization [2] > PXE Boot (Y / N) [N] > Please choose a name for the virtual machine. [opensuse13] > Description > Specify the amount of memory and number of processors to allocate for the VM. Initial Memory [768] > Maximum Memory [768] > Virtual Processors [1] > Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] > 1 <------------------------------------------------ Virtual Disks: (None) Do you want to add another virtual disk? (Y / N) [Y] > Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 2 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse13/xvda] > Size (GB) [8.0] > 1 Create a sparse image file for the virtual disk? (Y / N) [Y] > Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse13/xvda) Do you want to add another virtual disk? (Y / N) [N] > y Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 1 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse13/xvdb] > /home/lt/work/openSUSE-13.2-DVD-x86_64.iso Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse13/xvda) 4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso) Do you want to add another virtual disk? (Y / N) [N] > Network Adapters (None) Do you want to add another virtual network adapter? (Y / N) [Y] > Network Adapters Paravirtualized; Randomly generated MAC address Do you want to add another virtual network adapter? (Y / N) [N] > Specify the bootable virtual disk (often labeled as Disk 1) or the network installation source URL. Each CD, DVD, or ISO image required for installation must be added as a virtual disk. 1: Network URL (ftp://, http://, nfs://, smb://) 2: Virtual Disk (4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso)) [1] > 2 Some operating systems support automating the installation by specifying a URL or file(s). Select a directory to include multiple files. AutoYaST file > Some operating systems accept additional arguments, used to customize the installation or boot process. Additional Arguments > Preparing to start the installation... Installing... Error: [Errno 2] No such file or directory Performing post-installation checks... Error: [Errno 2] No such file or directory: '/var/lib/xen/images/opensuse13/xvda' Exception OSError: (2, 'No such file or directory', '/etc/xen/vm/opensuse13.xml') in <bound method Job.__del__ of <vminstall.job.Job object at 0x7fbd5dc18210>> ignored Where ls -al /var/lib/xen/images/opensuse13 /etc/xen/vm/ /etc/xen/vm/: total 8.0K drwxr-xr-x 2 root root 4.0K Apr 9 13:03 ./ drwx------ 6 root root 4.0K Apr 9 06:19 ../ /var/lib/xen/images/opensuse13: total 8.0K drwxr-xr-x 2 root root 4.0K Apr 9 13:03 ./ drwx------ 3 root root 4.0K Apr 9 12:28 ../ The script doesn't create/dd the xvda HD? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On 4/9/2015 at 02:11 PM, <lyndat3@your-mail.com> wrote:
On Thu, Apr 9, 2015, at 12:50 PM, Charles Arnold wrote:
Did `zypper in vm-install` miss some dependencies?
By default vm-install will use libvirt to create VMs. Using the '--use-xl' flag when starting vm-install will ignore libvirt and just use Xen's 'xl' toolstack directly.
Also when you were asked,
Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] >
You should select '1' here and it won't start a graphical installation (should run in the same window as vm-install is running).
vm-install --use-xl Gathering settings...
Please specify the type of operating system that will run within the virtual
machine. This defines many defaults, and helps decide how to start
paravirtualized operating systems.
Press 'q' or the Escape key to exit.
1: Novell Open Enterprise Server 2 (Linux)
2: Novell Open Enterprise Server 2 (NetWare)
3: Novell Open Enterprise Server 11
4: Other operating system
5: PXE
6: RedHat (other)
7: RedHat Enterprise Linux 3
8: RedHat Enterprise Linux 4
9: RedHat Enterprise Linux 5
10: RedHat Enterprise Linux 6
11: RedHat Enterprise Linux 7
12: Relax and Recover
13: SUSE (other)
14: SUSE Linux Enterprise Desktop 10
15: SUSE Linux Enterprise Desktop 11
16: SUSE Linux Enterprise Desktop 12
17: SUSE Linux Enterprise Server 8
18: SUSE Linux Enterprise Server 9
19: SUSE Linux Enterprise Server 10
20: SUSE Linux Enterprise Server 11
21: SUSE Linux Enterprise Server 12
22: Solaris 9 and older
23: Solaris 10
24: Ubuntu 10 (Lucid Lynx, Maverick Meerkat)
25: Ubuntu 11 (Natty Narwhal, Oneiric Ocelot) 26: Ubuntu 12 (Precise Pangolin) 27: Ubuntu (other) 28: Windows 8 29: Windows 8 (x64) 30: Windows (other) 31: Windows (other, x64) 32: Windows NT 33: Windows Server 2008 34: Windows Server 2008 (x64) 35: Windows Server 2012 (x64) 36: Windows Vista, Windows 7 37: Windows Vista, Windows 7 (x64) 38: Windows XP, 2000, 2003 39: Windows XP, 2003 (x64) 40: openSUSE 41: openSUSE 11 42: openSUSE 12 43: openSUSE 13 [43] >
Virtual machines can use paravirtualization or full virtualization. Paravirtualization is faster but requires operating system support. Full virtualization runs a broader range of operating systems but requires hardware support. Which do you prefer? 1: Full virtualization 2: Paravirtualization [2] >
PXE Boot (Y / N) [N] > Please choose a name for the virtual machine. [opensuse13] >
Description >
Specify the amount of memory and number of processors to allocate for the VM. Initial Memory [768] > Maximum Memory [768] > Virtual Processors [1] >
Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] > 1 <------------------------------------------------
Virtual Disks: (None) Do you want to add another virtual disk? (Y / N) [Y] >
Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 2 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse13/xvda] > Size (GB) [8.0] > 1 Create a sparse image file for the virtual disk? (Y / N) [Y] >
Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse13/xvda) Do you want to add another virtual disk? (Y / N) [N] > y
Create a virtual disk based on a device (CD or other block device), an existing image file (ISO), or a new file. Specify a device by its device node, such as /dev/cdrom, not its mount point. What type of virtual disk do you want to add? 1: CD-ROM or DVD 2: Hard Disk [2] > 1 Where will the virtual disk physically reside? [/var/lib/xen/images/opensuse13/xvdb] > /home/lt/work/openSUSE-13.2-DVD-x86_64.iso
Virtual Disks: 1.0 GB Hard Disk (file:/var/lib/xen/images/opensuse13/xvda) 4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso) Do you want to add another virtual disk? (Y / N) [N] >
Network Adapters (None) Do you want to add another virtual network adapter? (Y / N) [Y] >
Network Adapters Paravirtualized; Randomly generated MAC address Do you want to add another virtual network adapter? (Y / N) [N] >
Specify the bootable virtual disk (often labeled as Disk 1) or the network installation source URL. Each CD, DVD, or ISO image required for installation must be added as a virtual disk. 1: Network URL (ftp://, http://, nfs://, smb://) 2: Virtual Disk (4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso)) [1] > 2
Some operating systems support automating the installation by specifying a URL or file(s). Select a directory to include multiple files. AutoYaST file >
Some operating systems accept additional arguments, used to customize the installation or boot process. Additional Arguments >
Preparing to start the installation...
Installing...
Error: [Errno 2] No such file or directory Performing post-installation checks...
Error: [Errno 2] No such file or directory: '/var/lib/xen/images/opensuse13/xvda' Exception OSError: (2, 'No such file or directory', '/etc/xen/vm/opensuse13.xml') in <bound method Job.__del__ of <vminstall.job.Job object at 0x7fbd5dc18210>> ignored
Where
ls -al /var/lib/xen/images/opensuse13 /etc/xen/vm/ /etc/xen/vm/: total 8.0K drwxr-xr-x 2 root root 4.0K Apr 9 13:03 ./ drwx------ 6 root root 4.0K Apr 9 06:19 ../
/var/lib/xen/images/opensuse13: total 8.0K drwxr-xr-x 2 root root 4.0K Apr 9 13:03 ./ drwx------ 3 root root 4.0K Apr 9 12:28 ../
The script doesn't create/dd the xvda HD?
It is working for me although I think you should specify more that a 1 Gig disk which is to small to fit even a base system with a swap file. - Charles -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Thu, Apr 9, 2015, at 02:00 PM, Charles Arnold wrote:
The script doesn't create/dd the xvda HD?
It is working for me
although I think you should specify more that a 1 Gig disk which is to small to fit even a base system with a swap file.
Sure. I'll use reasonable values for that and RAM and etc once it actually works. At the moment, it doesn't. Whether I use 1 GB, or the default 8 GB for the disk size. LT -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
The output of vm-install --use-xl --debug ... DEBUG Running: ['/usr/bin/xenstore-list', '/local/domain'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/9/memory/target'] Preparing to start the installation... DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/opensuse13-1'] DEBUG Installation source: 4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso) DEBUG Examining '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso' for partitions... DEBUG Running: ['/sbin/sfdisk', '--force', '-d', '-uS', '--', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso'] DEBUG Try LVM scan: vdev /home/lt/work/openSUSE-13.2-DVD-x86_64.iso DEBUG Mounting a disk: ['/bin/mount', '-o', 'loop,ro', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso', '/tmp/tmpH0R9TE'] DEBUG Running: ['/bin/mount', '-o', 'loop,ro', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso', '/tmp/tmpH0R9TE'] DEBUG Media roots: ['.'] DEBUG Checking for /tmp/tmpH0R9TE/./boot/x86_64/vmlinuz-xen... DEBUG Unpacked kernel/initrd found: /tmp/tmpH0R9TE/./boot/x86_64/vmlinuz-xen /tmp/tmpH0R9TE/./boot/x86_64/initrd-xen DEBUG Copying to temporary file '/tmp/kernel.H8168m' DEBUG Copying to temporary file '/tmp/install-initrd.q6D2EL' DEBUG Unmounting a disk: ['/bin/umount', '/tmp/tmpH0R9TE'] DEBUG Running: ['/bin/umount', '/tmp/tmpH0R9TE'] INFO Writing install-time configuration file... Installing... DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', '6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/vm/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/sbin/xl', 'shutdown', 'opensuse13-1'] DEBUG xl delete failed for opensuse13-1 DEBUG Running: ['/usr/sbin/xl', 'create', '-f', '/etc/xen/vm/opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] INFO Starting a console, and will wait for it to finish DEBUG Viewer is text DEBUG Running: ['/usr/bin/xenstore-list', '/local/domain'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/9/vm'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/vm'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/domid'] DEBUG Domain 6c5b254c-44c5-3b09-f780-506454537e13 has ID 10 DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/console/tty'] INFO Domain ID 10 has tty /dev/pts/3 DEBUG /dev/pts/3 may not be accessible, attempting to use anyways INFO Opened a console in an xterm. DEBUG Running: ['/usr/bin/xterm', '+u8', '-fg', 'white', '-bg', 'black', '-geometry', '80x24', '-T', 'opensuse13-1', '-e', 'xl', 'console', '10'] DEBUG Not detached so waiting on PID INFO Exception caught in job.run: [Errno 2] No such file or directory INFO Installation failed, so destroying VM DEBUG Running: ['/usr/sbin/xl', 'list', '6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/vm/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/vm/6c5b254c-44c5-3b09-f780-506454537e13/name'] DEBUG Running: ['/usr/sbin/xl', 'shutdown', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG shutdown not working, use destroy DEBUG Running: ['/usr/sbin/xl', 'destroy', '6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/sbin/xl', 'shutdown', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG shutdown not working, use destroy DEBUG Running: ['/usr/sbin/xl', 'destroy', 'opensuse13-1'] INFO Installation failed, so cleaning up disks Error: [Errno 2] No such file or directory DEBUG ParaVirtGuest.__del__ DEBUG Job.__del__ INFO Removing configuration file /etc/xen/vm/opensuse13-1.xml INFO Removing configuration file /etc/xen/vm/opensuse13-1 INFO Job exiting while in state 2; assuming canceled DEBUG Running: ['/usr/sbin/xl', 'list', '6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/vm/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/6c5b254c-44c5-3b09-f780-506454537e13'] Performing post-installation checks... INFO Post install check... DEBUG Post install check, loopsetup... DEBUG losetup /dev/loop0 '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso' DEBUG Examining '/dev/loop0' for partitions... DEBUG Running: ['/sbin/sfdisk', '--force', '-d', '-uS', '--', '/dev/loop0'] DEBUG Try LVM scan: vdev /dev/loop0 DEBUG Raise Error No Kernel r[0]:None, r[1]:None INFO vminstall.Error caught in job.run: No kernel was found. The installation may have failed. INFO Installation failed, so destroying VM DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'shutdown', 'opensuse13-1'] DEBUG xl delete failed for opensuse13-1 INFO Installation failed, so cleaning up disks Error: No kernel was found. The installation may have failed. DEBUG ParaVirtGuest.__del__ DEBUG Job.__del__ INFO Removing configuration file /etc/xen/vm/opensuse13-1.xml Exception OSError: (2, 'No such file or directory', '/etc/xen/vm/opensuse13-1.xml') in <bound method Job.__del__ of <vminstall.job.Job object at 0x7fc42ef53250>> ignored -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On 4/9/2015 at 03:31 PM, <lyndat3@your-mail.com> wrote: The output of
vm-install --use-xl --debug ... DEBUG Running: ['/usr/bin/xenstore-list', '/local/domain'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/9/memory/target'] Preparing to start the installation...
DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/opensuse13-1'] DEBUG Installation source: 4.4 GB CD-ROM or DVD (file:/home/lt/work/openSUSE-13.2-DVD-x86_64.iso) DEBUG Examining '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso' for partitions... DEBUG Running: ['/sbin/sfdisk', '--force', '-d', '-uS', '--', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso'] DEBUG Try LVM scan: vdev /home/lt/work/openSUSE-13.2-DVD-x86_64.iso DEBUG Mounting a disk: ['/bin/mount', '-o', 'loop,ro', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso', '/tmp/tmpH0R9TE'] DEBUG Running: ['/bin/mount', '-o', 'loop,ro', '/home/lt/work/openSUSE-13.2-DVD-x86_64.iso', '/tmp/tmpH0R9TE'] DEBUG Media roots: ['.'] DEBUG Checking for /tmp/tmpH0R9TE/./boot/x86_64/vmlinuz-xen... DEBUG Unpacked kernel/initrd found: /tmp/tmpH0R9TE/./boot/x86_64/vmlinuz-xen /tmp/tmpH0R9TE/./boot/x86_64/initrd-xen DEBUG Copying to temporary file '/tmp/kernel.H8168m' DEBUG Copying to temporary file '/tmp/install-initrd.q6D2EL' DEBUG Unmounting a disk: ['/bin/umount', '/tmp/tmpH0R9TE'] DEBUG Running: ['/bin/umount', '/tmp/tmpH0R9TE'] INFO Writing install-time configuration file... Installing...
DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', '6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/vm/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/6c5b254c-44c5-3b09-f780-506454537e13'] DEBUG Running: ['/usr/sbin/xl', 'shutdown', 'opensuse13-1'] DEBUG xl delete failed for opensuse13-1 DEBUG Running: ['/usr/sbin/xl', 'create', '-f', '/etc/xen/vm/opensuse13-1'] DEBUG Running: ['/usr/sbin/xl', 'list', 'opensuse13-1'] INFO Starting a console, and will wait for it to finish DEBUG Viewer is text DEBUG Running: ['/usr/bin/xenstore-list', '/local/domain'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/9/vm'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/vm'] DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/domid'] DEBUG Domain 6c5b254c-44c5-3b09-f780-506454537e13 has ID 10 DEBUG Running: ['/usr/bin/xenstore-read', '-s', '/local/domain/10/console/tty'] INFO Domain ID 10 has tty /dev/pts/3
DEBUG /dev/pts/3 may not be accessible, attempting to use anyways INFO Opened a console in an xterm. DEBUG Running: ['/usr/bin/xterm', '+u8', '-fg', 'white', '-bg', 'black', '-geometry', '80x24', '-T', 'opensuse13-1', '-e', 'xl', 'console', '10'] DEBUG Not detached so waiting on PID INFO Exception caught in job.run: [Errno 2] No such file or directory INFO Installation failed, so destroying VM
Is the install failing at the start or after it has completed and there is a reboot? Do you have /usr/bin/xterm? Another flag you can use with vm-install is '--preserve-on-error' which will keep the disk image around on a failure (useful if the install finishes but fails on reboot). You can then inspect the image or use a configuration file to try and start it. - Charles -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
On Thu, Apr 9, 2015, at 03:22 PM, Charles Arnold wrote: First, Starting with 'xl create -c ...' At the grub prompt, if I enter grub> configfile (xen/hdc,msdos1)/efi/boot/grub.cfg where cat /mnt/iso/EFI/BOOT/grub.cfg with_gfx=1 gfxmode=auto locale_dir=$prefix/locale lang=en_US search --no-floppy --file /boot/x86_64/efi --set prefix=($root)/boot/x86_64/grub2-efi insmod efi_gop insmod efi_uga insmod gzio insmod gettext color_normal=light-gray/black color_highlight=white/light-gray if [ "$with_gfx" = 1 ] ; then insmod gfxterm insmod gfxmenu insmod png terminal_output gfxterm theme=$prefix/themes/openSUSE/theme.txt export theme loadfont $prefix/unicode.pf2 loadfont $prefix/themes/openSUSE/DejaVuSans10.pf2 loadfont $prefix/themes/openSUSE/DejaVuSans12.pf2 loadfont $prefix/themes/openSUSE/DejaVuSans-Bold14.pf2 fi if sleep --interruptible 0 ; then timeout=60 fi menuentry 'Installation' --class opensuse --class gnu-linux --class gnu --class os { set gfxpayload=keep echo 'Loading kernel ...' linuxefi /boot/x86_64/loader/linux splash=silent echo 'Loading initial ramdisk ...' initrdefi /boot/x86_64/loader/initrd } menuentry 'Upgrade' --class opensuse --class gnu-linux --class gnu --class os { set gfxpayload=keep echo 'Loading kernel ...' linuxefi /boot/x86_64/loader/linux splash=silent upgrade=1 echo 'Loading initial ramdisk ...' initrdefi /boot/x86_64/loader/initrd } menuentry 'Rescue System' --class opensuse --class gnu-linux --class gnu { set gfxpayload=keep echo 'Loading kernel ...' linuxefi /boot/x86_64/loader/linux splash=silent rescue=1 echo 'Loading initial ramdisk ...' initrdefi /boot/x86_64/loader/initrd } menuentry 'Check Installation Media' --class opensuse --class gnu-linux --class gnu { set gfxpayload=keep echo 'Loading kernel ...' linuxefi /boot/x86_64/loader/linux splash=silent mediacheck=1 echo 'Loading initial ramdisk ...' initrdefi /boot/x86_64/loader/initrd } I DO get the grub menu GNU GRUB version 2.02~beta2 +----------------------------------------------------------------------------+ | | |*Installation | | Upgrade | | Rescue System | | Check Installation Media | | | +----------------------------------------------------------------------------+ But if I select/enter "Installation", it returns error: file `/boot/x86_64/grub2-efi/x86_64-xen/echo.mod' not found. error: can't find command `linuxefi'. error: file `/boot/x86_64/grub2-efi/x86_64-xen/echo.mod' not found. error: can't find command `initrdefi'. In the iso find /mnt/iso | egrep -i "linuxefi|initrdefi|echo.mod" there's none of those.
Is the install failing at the start or after it has completed and there is a reboot?
At the start.
Another flag you can use with vm-install is '--preserve-on-error' which will keep the disk image around on a failure (useful if the install finishes but fails on reboot).
Not applicable here, then.
Do you have /usr/bin/xterm?
Yes. Like above, I can launch it just fine. I completely unninstalled/reinstalled 'xterm'. That fixed something. Now, using vm-install --use-xl --preserve-on-error I finally get the ncurses "YaST2 - installation" window in my 'ssh -X' shell Initializing... ������������������������������Ŀ � Your computer does not fulfill all requirements for � � a graphical installation. There is either less than 96 MB � � memory or the X server could not be started. � � � � As fallback, the text front-end of YaST2 will guide you � � through the installation. This front-end offers the � � same functionality as the graphical one, but the screens � � differ from those in the manual. � � � � [OK] � ������������������������������� If I want to see the Graphical opensuse installer isn't the X server supposed to be FROM the iso installer? I had selected Please specify the type of virtualized graphics hardware. 1: No Graphics Support 2: Paravirtualized Graphics Adapter [2] > 1 as you suggested earlier. If I select [2] instead, I don't get to the Yast2 installer. It stops at Failed to display the VM's console. Please connect a viewer manually. What minimal set of pkgs needs to get installed on Dom0 to bring the DomU installer up in the usual graphical mode? Also, if I Abort the install, there's still no config file in /etc/xen/vm. LT -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
Charles Arnold
-
lyndat3@your-mail.com