Bug 18089

Summary: [6dev1]Partitioner module cannot create partitions on empty disk in qemu
Product: Mageia Reporter: Lutz Lacher <l.lacher>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: screenshot of tty3

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