On Tue, Oct 3, 2017 at 3:49 AM, Jiri B <ji...@devio.us> wrote:
>> > I was able to boot opensuse from that dvd, although later on I got an
>> > error in the installer :/
>>
>> This was because the installer couldn't locate the "dvd", correct?
>
> Unable to create repository
> from URL 'hd:/?device=/dev/disk/by-id/virtio-_____U_____2_-part2'.
>
>
> It would be nice to have IDE cdrom emulation.

Sure, but that isn't actually needed to install openSUSE, and wasn't
the problem here.  The SUSE ISO images have a fake MBR added with
isohybrid, so that you can dd them to a USB key and boot that
unmodified.  This is in fact why you got as far as you did, as the ISO
"disk" looks like a disk with MBR partitions, which seabios happily
boots.  The reason the installation failed later is because it's
attempting to use the disk ID to locate the installation repo, but
that is unimplemented in vmm, as Mike Larkin has explained.  If you
manually set the installation source to the real disk device, it
works.

After a bit of trial and error, I successfully installed openSUSE Leap
42.3 under vmm with a VM configuration similar to yours.  At the
isolinux boot prompt, I entered:
    linux console=ttyS0,115200n8 install=hd:/?device=vda

The install parameter is specific to SUSE and is documented at [1].
With the disk order you have, Linux sees /dev/vda as the ISO and
/dev/vdb as the target disk.  After installation finishes, you of
course have to switch the disk order to boot from the virtual hard
drive; fortunately grub2 still finds the disk.  I may be missing
something, but it appears there's currently no way to have vmm tell
seabios to boot the second (or third, etc.) disk rather than the
first?

At some points the installation appeared to hang, but it always
recovers after a bit and you can proceed. Sometimes the display gets
screwed up, but a Ctrl+L always clears it up (pretty sure that one is
a bug in the YaST ncurses interface rather than vmm, as I've also seen
it installing openSUSE in text mode under Xen).

This was my first time trying out vmm and it was very straightforward,
once I figured out what were dumb mistakes on my part.  vmm is already
very capable and it is steadily improving!


-Andrew

[1] 
https://doc.opensuse.org/documentation/leap/startup/single-html/book.opensuse.startup/index.html#id2504

Reply via email to