[Bug 741216] New: KDE x86_64 LiveCD image appears to write faulty partition table to USB stick
https://bugzilla.novell.com/show_bug.cgi?id=741216 https://bugzilla.novell.com/show_bug.cgi?id=741216#c0 Summary: KDE x86_64 LiveCD image appears to write faulty partition table to USB stick Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: iceman@fastmail.com.au QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 I have two USB sticks, both different sizes and from different manufacturers, which had the Opensuse 12.1 KDE x86_64 image written onto them with Suse Studio Imagewriter. In both cases no matter which partitioner I tried (YAST Partitioner, cfdisk, fdisk) the partition table was not properly deleted/re-initialised. The only thing that helped was letting dd run for half a minute or so writing zeroes to the first few MB's of the USB stick. Maybe the x86_64 KDE image is writing the partition table in a slightly wrong way, perhaps in slightly the wrong area or with some offset not set right? IMHO this is a serious bug, even if it doesn't occur in all cases, since it forces ordinary users to run an incredibly dangerous dd command to get back usage of their USB stick after using it to install Opensuse. Try explaining to someone who's not experienced with Linux how they should carefully find out which /dev/sdX device their USB stick is, otherwise the command could destroy everything on their computer! Reproducible: Always Steps to Reproduce: 1.Write Opensuse 12.1 KDE LiveCD x86_64 image to a USB stick using Suse Studio Imagewriter 2.Boot or install a machine using the USB stick, just to verify that it was all written properly and works 3.Once finished try deleting all the partitions using YAST Partitioner and using the 'expert' option to create a new partition table. Actual Results: YAST throws up some errors during the process of wiping the partition table. After physically removing and re-inserting the stick (even if re-inserting into a different machine entirely) KDE still shows partitions on the stick named 'Opensuse live KDE' (whatever it's called) partition plus another one. However all partitioning programs tried (YAST Partitioner, cfdisk, fdisk) show no partitions present. Further, if you then go on to create a new partition on the stick with any partitioning program, and format it, this new partition will never be visible when inserting the stick into a computer, not even on Windows 7. Expected Results: Partition table on the USB stick is correctly written so that it can be manipulated or removed by standard partitioning programs mentioned above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c1
--- Comment #1 from Tim Edwards
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c3
Tim Edwards
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c4
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c5
Tim Edwards
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c6
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c7
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c8
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c9
--- Comment #9 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c10
--- Comment #10 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c12
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c13
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c14
Stephen Parry
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c15
--- Comment #15 from Steffen Winterfeldt
I don't understand the recommendation to prevent the use of dd to dump the iso on a storage disk. imho that invalidates the entire use case of hybrid images which provides the iso and the disk layout in one
I was just summarizing our options.
By the way by today it's also possible to just store a standard live iso (not hybrid) on the stick as a file on e.g a fat filesystem and install the grub2 bootloader in a way that it boots the iso directly. For details see #746351.
Aha! Here you suggest exactly the same. The catch is, of course, that a simple dd isn't enough. You also have to install a bootloader. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=741216
https://bugzilla.novell.com/show_bug.cgi?id=741216#c16
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com