Bugzilla – Bug 382431
YaST2 wants to set disk label of /dev/sda to msdos
Last modified: 2010-08-04 15:52:49 UTC
YaST2 wants to set disk label of /dev/sda to msdos.
Created attachment 209671 [details] setting-disk-label-of-sda-to-msdos.png Error Failure occured during following action: Setting disk label of disk /dev/sda to msdos System error code was -1008 [ OK ]
I tried to install with qemu: qemu-system-x86_64 -std-vga -no-quit -m 512 \ -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1-DVD-x86_64.iso \ -boot d \ -hda $NAME.img \ -monitor stdio \ -net nic,model=rtl8139 \ -net user,hostname=$NAME \ -vnc :3 \ $@ In linuxrc I selected Japanese. Then I selected KDE4 and US English keyboard. Apart from that I accepted the defaults.
I tried again. It’s reproducible.
I tried one more time, this time selecting German in linuxrc and a network installation source in order to have network access to copy the yast2 log files. It was reproducible in German as well. Log files will be attached in the next comment.
Created attachment 209715 [details] yast2-logs.tar.bz2 YaST2 log files.
According to the logs parted succeeds in creating the partition table but does not recognize it afterwards.
This is only reproducible with the qemu mentioned in comment #2. It works without problem however when qemu-kvm with the kvm module is used: qemu-kvm -std-vga -no-quit -m 512 \ -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1- DVD-x86_64.iso \ -boot d \ -hda $NAME.img \ -monitor stdio \ -net nic,model=rtl8139 \ -net user,hostname=$NAME \ -vnc :2 \ $@
Arvin tested the qemu-installation (started like described in comment #2) at the point where it failed and found: Neither parted nor fdisk are able to write a partition table. Copying from /dev/urandom to /dev/sda using “dd” doesn’t seem to copy anything at all. Checking the contents of /dev/sda after trying to copy stuff there with “dd” shows that there are only null-bytes at /dev/sda.
Reassign to qemu maintainer Uli Hecht <uli@novell.com>.
Do you have write permissions on the hda file? Does it work with -snapshot?
The image file has write permisions: mfabian@magellan:~$ ll /local2/qemu-images/qemu-11.0-magellan.* -rw-r--r-- 1 mfabian suse 28672 2008-04-25 12:17 /local2/qemu-images/qemu-11.0-magellan.img -rwxr-xr-x 1 mfabian suse 743 2008-04-22 16:54 /local2/qemu-images/qemu-11.0-magellan.sh* mfabian@magellan:~$ I’ll try “-snapshot” now …
The problem occurs also with “-snapshot”: qemu-system-x86_64 -snapshot -std-vga -no-quit -m 512 \ -cdrom /mounts/dist/install/openSUSE-11.0-Beta1/openSUSE-11.0-Beta1-DVD-x86_64.iso \ -boot d \ -hda $NAME.img \ -monitor stdio \ -net nic,model=rtl8139 \ -net user,hostname=$NAME \ -vnc :3 \ $@
If it works with KVM but fails with the emulator it's likely to be an emulation problem, which in turn is likely to have been fixed since 2008.