[Bug 274321] New: Formats wrong partition.
https://bugzilla.novell.com/show_bug.cgi?id=274321 Summary: Formats wrong partition. Product: openSUSE 10.2 Version: Final Platform: x86 OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kristian.askildsen@chello.no QAContact: jsrain@novell.com (I'm not used to file bug reports, but this bug ended up killing a partition. I'll make an exception) I tried to install with a DVD-image, on hda7, on my harddrive and one boot-cd. This used to be my partition table (what I can remember from it): /dev/hda1 1 1216 9767488+ 83 Linux /dev/hda2 1217 7296 48837600 5 Extended /dev/hda5 1218 ? ? 83 Linux /dev/hda6 ? 2432 ? 83 Linux /dev/hda7 2433 7173 38082051 83 Linux /dev/hda8 7174 7296 987966 82 Linux swap / Solaris Here is what happened: I manually edited the partition table. Deleted hda5 and hda6. Created one partition where hda5 and hda6 used to be. The partition table now looked like this (still what I can remember from it): /dev/hda1 1 1216 9767488+ 83 Linux /dev/hda2 1217 7296 48837600 5 Extended /dev/hda5 2433 7173 38082051 83 Linux /dev/hda6 7174 7296 987966 82 Linux swap / Solaris /dev/hda7 1218 2432 ? 83 Linux As you can see my partitions have got new device names. I have told the installation program to use hda7 as / and use hda6 as swap. I selected programs to install and went on to format my new partition; hda7. That was NOT a good idea! For some reason the kernel was still using the old partition table.(I belive) Trying to format the very same partition where I had stored the installation image. It failed misserably, but not without breaking the partition and thus I lost everything I had stored on it. (Yes, I do have backup) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321 ------- Comment #1 from kristian.askildsen@chello.no 2007-05-14 09:34 MST ------- I used these images: http://download.opensuse.org/distribution/10.2/iso/cd/openSUSE-10.2-GM-i386-... http://download.opensuse.org/distribution/10.2/iso/torrent/openSUSE-10.2-GM-... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kristian.askildsen@chello.no ------- Comment #2 from chrubis@novell.com 2007-05-15 03:36 MST ------- If it's possible try to attach yast logfiles. How to obtain it is described here: http://en.opensuse.org/Bugs/YaST Thanks! -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321 ------- Comment #3 from kristian.askildsen@chello.no 2007-05-15 16:30 MST ------- I'm sorry. I never thougth about getting the logfiles before I rebooted. And it's to late to reproduce it now, pluss I really don't want to breake more partitions/file systems. But I'll try to explain as closely as possible. I gave openSUSE a new chance, but this time i created partitions before I launched the installation. I can tell you that I had one external hadrdrive attached, switched on and discovered by the openSUSE during install. I fact the installation program suggested to use this disk. I count myself as a Linux USER, no expert, but I do have an opinion on what the problem is: If you want to reproduce it yourself, make shure you install from harddrive. Have the DVD-image stored on a partition ON THE SAME DISC AS YOU INTEND TO INSTALL openSUSE. This partition will have to be mounted(?). Thus the partition table will be in use, and the kernel will have to stick with the old partition table until reboot. (At least this is what I keep hearing from fdisk when I apply changes to the partition table on my laptop.) As you can see from my description above. The new partition, where I intended to install openSUSE, got the same device name in the new partition table as the partition where the DVD-image was stored had in the old partition table. (/dev/hda7). It was the old hda7 that got formated (but failed as it was mounted) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |fehr@novell.com |screening@forge.provo.novell| |.com | Status|NEEDINFO |NEW Info Provider|kristian.askildsen@chello.no| -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #4 from fehr@novell.com 2007-05-31 06:08 MST ------- Your opinion is quite right. It is impossible to tell the kernel that partitions hda5 and hda6 were removed while installation media is mounted on hda7. There is not much to prevent such a problem except forbidding removal of logical partitions with smaller numbers than the partition used for install media. This is one of the reasons why installation via disk partition is no officially supported way to install. I will add a check to prevent removal of such logical partitions to openSuSE 10.3. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274321#c5
Thomas Fehr
participants (1)
-
bugzilla_noreply@novell.com