Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102178 - GLI crashes after destroying the partition table
Summary: GLI crashes after destroying the partition table
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 17:49 UTC by Shawn
Modified: 2006-03-24 13:46 UTC (History)
0 users

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


Attachments
GLI log (gentooinstaller.log,1.32 KB, text/plain)
2005-08-11 17:53 UTC, Shawn
Details
Profile causing problem (gentooinstallprofile.xml,3.67 KB, text/plain)
2005-08-11 17:53 UTC, Shawn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn 2005-08-11 17:49:51 UTC
I am not terribly experianced with this sort of thing, so I apoligize in advance
if I wasn't able to find the bug elsewere or if it was my fault.  When trying
out the installer from the new LiveCD, when it executed at the end, when it
attempted to delete an existing partition and reformat it, it instead crashed,
and left me with no partition table.  It took me a long time to rescue it, and I
am unwilling to try it again as I have data I'd rather not lose on this system,
but I did save the installer.log and the installerprofile.xml, which I have
attached.  I am not knowledgable enough to <i>understand</i> what happened or
why, but I hope that there's enough information here to figure that out.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.

Actual Results:  
I was left with an empty partition table.  Two of the three original partitions
were recoverable with parted's "rescue" function, but the final one had to be
manually assigned onto the remaining space, which thankfully worked.

Expected Results:  
remove a reiserfs partion and format in it's place a ext3 partition, and then
continue installing Gentoo.

<a href="http://www.wireframeninjas.net/stuff/gentooinstaller.log">Installer.log</a>

<a href="http://www.wireframeninjas.net/stuff/gentooinstallprofile.xml">Install
Profile</a>
Comment 1 Shawn 2005-08-11 17:53:20 UTC
Created attachment 65709 [details]
GLI log
Comment 2 Shawn 2005-08-11 17:53:55 UTC
Created attachment 65710 [details]
Profile causing problem
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-11 19:27:42 UTC
That's an interesting error. I've never come across that before. Can you boot
the livecd again, open up a terminal, do 'sudo su -', and give me the output of
'fdisk -s /dev/hda print'? I'd like to see which flag it was choking on.
Comment 4 Shawn 2005-08-11 20:58:32 UTC
/dev/hda: 90470520

Unable to open print

...?  am I missing something here?  Here's what happens when I call fdisk and
print (note that I've allready fixed the partition table back the way it was)

Disk /dev/hda: 92.6 GB, 92641812480 bytes
255 heads, 63 sectors/track, 11263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         372     2988058+   7  HPFS/NTFS
/dev/hda2             373        1101     5855692+  83  Linux
/dev/hda3            1102       11263    81626265    c  W95 FAT32 (LBA)
Comment 5 Lorenzo Sicilia 2005-08-12 02:14:16 UTC
I have the same problem.
I try GLI and I have lost all partition in hda. :/
Anyway,'fdisk -s /dev/hda print' return 
/dev/hda: 58605120

Unable to open print

may be my old fstab can help you to understand:
/dev/hda6               /               reiserfs        defaults,noatime        1 0
/dev/hda7               none            swap            sw                      0 0
/dev/hda8               /virtual        reiserfs        defaults,noatime        1 0
/dev/hda5               /windows/d      vfat            auto,users,umask=0000   0 0
/dev/hda1               /windows/c      ntfs   

When I choose install I get this error:
http://www.kemen.it/gentoo/installer.log
here my installprofile:
http://www.kemen.it/gentoo/installprofile.xml

I restored my partions with gpart.

Many thank in advance. Your work it very appreciate here.

regards 

Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-12 05:55:14 UTC
Whoops. I meant 'parted -s /dev/hda print'
Comment 7 Brian Cappello 2005-08-12 09:27:06 UTC
Same problem here, as well. 
/dev/sda went untouched (i didn't specify any changes in the installer partitioner)
/dev/sdb got killed. (completely?)

within the installer, i wanted to change /dev/sdb2 to be my root partition and
format it to ext3 (it wouldn't let me select any filesystem type, ext2 was
gray-ed in). i left sdb3 alone (my working, er not any more, gentoo install) and
sdb4 alone (linux-raid auto-detect, 1/2 of my /home partition, sda4 being the
other half, RAID 0). 

my current partition table: (after the destruction)
livecd ~ # parted -s /dev/sdb print
Disk geometry for /dev/sdb: 0.000-156334.500 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    980.529  primary   linux-swap

after playing around with parted's rescue function and fdisk, i've restored my
table to (hopefully) working order.
Disk geometry for /dev/sdb: 0.000-156334.500 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    980.529  primary   linux-swap
2        980.530  19108.564  primary
3      19108.564  38162.219  primary   reiserfs
4      38162.219 156327.824  primary               raid
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-12 20:14:57 UTC
I have committed a fix to the first 2 people's problem in CVS. There are
instructions for running the CVS version of the installer at
<http://www.gentoo.org/proj/en/releng/installer/faq.xml#newerversion>.

As for Brian, I need more information to determine if your problem is the same
thing. Did you get the same error in /var/log/installer.log as the other 2? If
it wasn't, please re-open and attach your /var/log/install.log.
Comment 9 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:31 UTC
Moving to Release Media/Installer.