Bug 18089 - [6dev1]Partitioner module cannot create partitions on empty disk in qemu
Summary: [6dev1]Partitioner module cannot create partitions on empty disk in qemu
Status: RESOLVED DUPLICATE of bug 5801
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-28 21:44 CEST by Lutz Lacher
Modified: 2016-03-31 12:38 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
screenshot of tty3 (27.61 KB, image/png)
2016-03-28 21:45 CEST, Lutz Lacher
Details

Description Lutz Lacher 2016-03-28 21:44:45 CEST
Description of problem:

I'm using an empty (no partition table, no partitions) 16GB raw image to install Cauldron from Mageia-6-dev1-x86_64-DVD.iso (16-Mar-2016) to a VM in qemu on an Arch host with this commandline:

SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -enable-kvm -smp 2 -m 2048 -soundhw hda -monitor stdio -net nic,macaddr=00:16:3e:f4:ed:e2,model=virtio -net  bridge,br=xenbr0  -usbdevice tablet -drive  file=cauldron.img,if=virtio  -device qxl-vga -spice port=5930,disable-ticketing,streaming-video=off  -pflash ovmf/OVMF.fd -cdrom ../Iso/Mageia-6-dev1-x86_64-DVD.iso

The partitioner module recognizes the disk as "VirtIO block device (16GB)" in the pulldown menu where you can select the disk to use. Choosing "Custom disk patitioning" presents an emtpy vda-device, but cannot create any partition on it. The error message in the popup window is "Partitioning failed: current_hd called but $current_kind is not an hd ()."

Choosing "Use entire disk" takes you to the next step of the installation process, but leaves a window with the partitioner in front open.

Another workaround is to create the partition table, partitions and file systems on the host and choose "Use existing partitions"

Attached screenshot shows output of tty3 in during process of partitioning
Comment 1 Lutz Lacher 2016-03-28 21:45:39 CEST
Created attachment 7602 [details]
screenshot of tty3
Lutz Lacher 2016-03-28 21:47:56 CEST

Summary: Partitioner module cannot create partitions on empty disk in qemu => [6dev1]Partitioner module cannot create partitions on empty disk in qemu

Comment 2 Thierry Vignaud 2016-03-31 12:38:25 CEST
Dup

*** This bug has been marked as a duplicate of bug 5801 ***

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.