Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134293 - Gentoo-2006.0 Installer destroys MBR during installation
Summary: Gentoo-2006.0 Installer destroys MBR during installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 01:29 UTC by Lukas Razik
Modified: 2006-05-26 08:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Installation log (installer.log.failed,4.63 KB, text/plain)
2006-05-25 01:46 UTC, Lukas Razik
Details
Installation log (installer.log.failed,4.63 KB, text/plain)
2006-05-25 01:46 UTC, Lukas Razik
Details
Installprofile (installprofile.xml,5.17 KB, application/xml)
2006-05-25 02:03 UTC, Lukas Razik
Details
lspci -v output (lspci-v.txt,4.82 KB, text/plain)
2006-05-25 02:04 UTC, Lukas Razik
Details
dmesg output (dmesg,30.52 KB, text/plain)
2006-05-25 02:05 UTC, Lukas Razik
Details
system log (messages,48.35 KB, text/plain)
2006-05-25 02:06 UTC, Lukas Razik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Razik 2006-05-25 01:29:19 UTC
Hello!

OS:
Linux livecd 2.6.15-gentoo-r5 #1 SMP Mon Feb 13 20:23:47 UTC 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

boot kerneloptions: acpi=off apm=off
No manually loaded modules.

During a normal installation the gentoo installer destroys the MBR of my /dev/sda.
/dev/sda is a RAID0 volume of a 3ware 8006-2LP controller.
I've tried it two times. The problem second time was exactly the same.
The original MBR was created by FreeBSD's fdisk-linux utility and no other OS (FreeBSD, SuSE Liux, WindowsXP) has problems with it.

More information and logs you can find here:
http://net.razik.de/temp/gentoo-2006.0

Regards,
Lukas
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 01:32:28 UTC
Please, don't refer to external links with logs. Attach them here.
Comment 2 Lukas Razik 2006-05-25 01:46:14 UTC
Created attachment 87456 [details]
Installation log
Comment 3 Lukas Razik 2006-05-25 01:46:14 UTC
Created attachment 87457 [details]
Installation log
Comment 4 Lukas Razik 2006-05-25 02:03:42 UTC
Created attachment 87458 [details]
Installprofile
Comment 5 Lukas Razik 2006-05-25 02:04:52 UTC
Created attachment 87459 [details]
lspci -v output
Comment 6 Lukas Razik 2006-05-25 02:05:44 UTC
Created attachment 87460 [details]
dmesg output
Comment 7 Lukas Razik 2006-05-25 02:06:57 UTC
Created attachment 87461 [details]
system log
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2006-05-26 07:22:02 UTC
First, it didn't destroy your MBR. What happened is that the installer died while trying to recreate all the partitions, so they didn't all get recreated. The gtkfe gives you a warning about "unknown" partitions. When you get to the partitioning screen, it will pop up a Yes/No dialog box that says "One of your disks contains a partition of a type that the installer cannot currently handle. If you continue, you risk damaging your partition table. You have been warned!". Anyway, there is already code in CVS to prevent this from happening even if you ignore the warning.
Comment 9 Lukas Razik 2006-05-26 08:45:39 UTC
Hello!

O.K. You're right, sorry, it didn't "destroy" the whole MBR - only the partition table...

But I want to add my opinion:
1. I didn't ignore the warning but I thought the Installer means my other two hard disks which are connected to a software RAID controller which isn't supported by kernel v2.6. So the warning message is not really detailed.

2. I didn't want that the Installer changes the partition table. I only wanted to format a partition as ext3 (which was ext3 before) and because of that I thought that the Installer won't do anything with the partition table...

3. I think it would be no mistake if the Installer would give me the choice to restore the original partition table if an exception occurs.

So I hope the new Installer will be more user friendly - I'm curious about it.

Best regards,
Lukas