Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145792 - When deleting a primary and creating a logical in the same place, all subsequent primaries are made logicals
Summary: When deleting a primary and creating a logical in the same place, all subsequ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 17:24 UTC by baru reddy
Modified: 2006-12-16 20:14 UTC (History)
0 users

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


Attachments
My install profile (installprofile.xml,3.18 KB, text/xml)
2006-09-01 14:53 UTC, baru reddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description baru reddy 2006-08-31 17:24:27 UTC
I am currently using the 2006.1 installer to install my new gentoo linux. When I installed it on my laptop, it deleted my ntfs and fat32 partitions on the same drive even though I did not tell the installer to modify the partitions nor gave it mount points.

Hardware:
Gateway 9550 laptop, p3 1.066ghz, 384 megs of ram, and a single 30gig harddrive.

Steps to repeat my problem:
1. Have an existing drive with either fat32 or ntfs with free space up front to install linux. In my case I had 9gigs.

2. Start up the Gentoo GTK+ installer and go to the partition section.

3. In the unallocated space up front create swap space (580megs in my case)

4. Create a xfs (8.5gigs in my case) partition with the mount point / .

5. Continue with the installer using all grp packages and continue.

You should hopefully see the installer delete those ntfs and/or fat32 partitions.

BR
Comment 1 Preston Cody (RETIRED) gentoo-dev 2006-08-31 17:29:30 UTC
We will try to recreate this.
Can you give us the output of fdisk of the original layout.  Were the windows partitions numbered out of order?
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-08-31 17:30:22 UTC
Did it recreate them afterwards? If so, that's the way it's supposed to work.
Comment 3 baru reddy 2006-08-31 18:29:14 UTC
Actually it failed and the installer just stopped there saying it failed. It created the new partitions and deleted the ntfs and fat32. When I reopened the installer and started the install again, the installer confirmed that the partitions were gone.

Existing Partitions when I first started the installer:
hda1 ntfs 5gigs
hda2 fat32 15gigs

Created the linux partitions with the installer.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-09-01 06:46:09 UTC
What actual error did it give? Were you resizing either of those partitions? You need to give us a *lot* more information in order for us to do anything with this. It would be nice if you could attach your /tmp/installprofile.xml and /var/log/install.log.failed.
Comment 5 baru reddy 2006-09-01 14:53:42 UTC
Created attachment 95682 [details]
My install profile
Comment 6 baru reddy 2006-09-01 14:57:36 UTC
I sadly was not able to recreate it and document my error message, but I think I found out what went wrong with me trying to recreate the problem.

It seems when I delete an existing primary partition (xfs in my case) and make a new parition in its place as a logical partition. The installer will automatically turn all partitions down the disk into a logical parition even though they were primary partitions to begin with. I bet in the process it also deletes the old patition. 

Steps to recreate:
1. Have 4 paritions step up as primary partitions. In my case I have hda1=swap, hda2=xfs, hda3=ntfs, and hda4=fat32.
2. Delete hda2
3. Create a new parition in that space as a logical parition (in my case xfs).

The new hda2 place is now called hda5 (not suprising), however the old unchanged hda3 and hda4 are now called hda6 and hda7 respectively and are now logical partitions, but still retain the same file system type.
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2006-09-01 15:47:25 UTC
Oy, that's a fun one. I haven't seen that before. I really wish we could catch this stuff in testing :/
Comment 8 baru reddy 2006-09-01 17:40:54 UTC
I am glad you are able to see it. This is a really nasty bug.

In any case, thank god for backups.
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2006-12-16 20:14:33 UTC
I'm not sure how to actually fix this problem, so I'm not going to. I've added a big warning message that displays when the partitioning screen loads.