Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127231 - installer fails during partitioning. old partitions deleted
Summary: installer fails during partitioning. old partitions deleted
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 13:47 UTC by Felix Dorner
Modified: 2006-03-24 13:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Dorner 2006-03-22 13:47:30 UTC
I had four partitions on my disk, marked one of them to mount on /
a second one to mount on / . Specified the / partition to be formatted. The installer failed with the following output. Unfortunately it appears the old partitions have all been deleted :(

GLI: March 22 2006 20:25:46 - partitioning: Processing /dev/hda...
GLI: March 22 2006 20:25:46 -   Partition 1 has origminor 1...saving start sector 63 and end sector 28322594
GLI: March 22 2006 20:25:46 -   Partition 2 has origminor 2...saving start sector 28322595 and end sector 77144129
GLI: March 22 2006 20:25:46 -   Partition 4 has origminor 4...saving start sector 116214210 and end sector 117210239
GLI: March 22 2006 20:25:46 -   Deleting old minor 1 to be recreated later
GLI: March 22 2006 20:25:46 -   Deleting old minor 2 to be recreated later
GLI: March 22 2006 20:25:46 -   Deleting old minor 4 to be recreated later
GLI: March 22 2006 20:25:46 - Partitioning: Second pass...
GLI: March 22 2006 20:25:46 - Partitioning: Third pass....creating partitions
GLI: March 22 2006 20:25:46 -   Drive has 117210240 sectors
GLI: March 22 2006 20:25:46 -   Partition 1 has 13829MB
GLI: March 22 2006 20:25:46 -     Old start sector 63 retrieved
GLI: March 22 2006 20:25:46 -     Retrieved start sector is not the same as the
calculated next start sector
GLI: March 22 2006 20:25:46 -     Old end sector 28322594 retrieved
GLI: March 22 2006 20:25:46 -   Adding primary partition 1 from 63 to 28322594
GLI: March 22 2006 20:25:46 - This is a bad thing. An exception occured outside
of the normal install errors. The error was: ''unknown''
Comment 1 Felix Dorner 2006-03-22 13:48:36 UTC
(In reply to comment #0)
> I had four partitions on my disk, marked one of them to mount on /
> a second one to mount on /data

thats what i meant...
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-22 13:50:45 UTC
There was more to the error after that. Also, can you attach your /tmp/installprofile.xml and /var/log/installer.log.failed?
Comment 3 Felix Dorner 2006-03-22 14:08:10 UTC
The whole /var/log/installer.log.failed follows. The file /tmp/installprofile.xml is not up to date anymore since i try to get a system now :D However I am absolutely sure I did not select any partition to be deleted.

GLI: March 22 2006 18:56:45 - Setting root password.
GLI: March 22 2006 18:56:46 - Livecd root password set.
GLI: March 22 2006 18:56:46 - Portmap started.
GLI: March 22 2006 18:56:46 - Completed pre_install steps
GLI: March 22 2006 20:17:02 - Partition table for /dev/hda is unchanged...skipping
GLI: March 22 2006 20:17:05 - Mounted mountpoint: /
GLI: March 22 2006 20:17:05 - Mounted mountpoint: /data
GLI: March 22 2006 20:18:57 - Setting root password.
GLI: March 22 2006 20:18:57 - Livecd root password set.
GLI: March 22 2006 20:18:58 - Portmap started.
GLI: March 22 2006 20:18:58 - Completed pre_install steps
GLI: March 22 2006 20:25:46 - partitioning: Processing /dev/hda...
GLI: March 22 2006 20:25:46 -   Partition 1 has origminor 1...saving start sector 63 and end sector 28322594
GLI: March 22 2006 20:25:46 -   Partition 2 has origminor 2...saving start sector 28322595 and end sector 77144129
GLI: March 22 2006 20:25:46 -   Partition 4 has origminor 4...saving start sector 116214210 and end sector 117210239
GLI: March 22 2006 20:25:46 -   Deleting old minor 1 to be recreated later
GLI: March 22 2006 20:25:46 -   Deleting old minor 2 to be recreated later
GLI: March 22 2006 20:25:46 -   Deleting old minor 4 to be recreated later
GLI: March 22 2006 20:25:46 - Partitioning: Second pass...
GLI: March 22 2006 20:25:46 - Partitioning: Third pass....creating partitions
GLI: March 22 2006 20:25:46 -   Drive has 117210240 sectors
GLI: March 22 2006 20:25:46 -   Partition 1 has 13829MB
GLI: March 22 2006 20:25:46 -     Old start sector 63 retrieved
GLI: March 22 2006 20:25:46 -     Retrieved start sector is not the same as the
calculated next start sector
GLI: March 22 2006 20:25:46 -     Old end sector 28322594 retrieved
GLI: March 22 2006 20:25:46 -   Adding primary partition 1 from 63 to 28322594
GLI: March 22 2006 20:25:46 - This is a bad thing. An exception occured outside
of the normal install errors. The error was: ''unknown''
GLI: March 22 2006 20:25:46 - Traceback (most recent call last):
GLI: March 22 2006 20:25:46 - File "/opt/installer/GLIClientController.py", line 165, in run
    self._install_steps[self._install_step]['function']()
GLI: March 22 2006 20:25:46 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 336, in partition
    self._add_partition(parted_disk, start, end, "primary", newpart['type'])
GLI: March 22 2006 20:25:46 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 69, in _add_partition
    if fs: fstype = fsTypes[fs]
GLI: March 22 2006 20:25:46 - KeyError: 'unknown'
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-22 14:21:49 UTC
Were you using the graphical or commandline frontend?
Comment 5 Felix Dorner 2006-03-22 14:25:56 UTC
I use the graphical installer.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-22 14:30:14 UTC
Then you ignored the warning that the partitioning screen pops up when you first go to it that tells you that continuing with unsupported partition types will likely do bad things to your partition table.
Comment 7 Felix Dorner 2006-03-22 15:00:44 UTC
Indeed I did not notice any warnings...

My particular partitioning scheme was:

hda1 : NTFS
hda2 : FAT32
hda3 : EXT3
hda4 : Linux Swap

So I guess the NTFS type is what is considered unsupported. Anyway, why is this a problem for the installer? Just leave-as-is not possible? 
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-22 15:18:06 UTC
NTFS is supported. Although, if you had created the partition and not formatted it, the installer wouldn't have recognized it.
Comment 9 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:42 UTC
Moving to Release Media/Installer.