Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130687 - GLI Installer fails after creating new partitions
Summary: GLI Installer fails after creating new partitions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 22:00 UTC by Steven Parker
Modified: 2006-04-21 04:56 UTC (History)
0 users

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 Steven Parker 2006-04-20 22:00:59 UTC
I am using the Gentoo LiveCD 2006.0 installer, updated from the latest CVS (2006-04-19).  I will list the contents of /var/log/installer.log.failed, and /tmp/installprofile.xml.  There was no /tmp/compile_output.log file, as nothing had begun to install.

I can recreate this error by clearing the partitions on the harddrive and creating new ones.  I am trying to use ReiserFS for all partitions except for /boot, which is ext2.

/var/log/installer.log.failed:
GLI: April 20 2006 21:28:32 - Completed pre_install steps
GLI: April 20 2006 21:35:42 - Setting root password.
GLI: April 20 2006 21:35:42 - Livecd root password set.
GLI: April 20 2006 21:35:42 - Portmap started.
GLI: April 20 2006 21:35:42 - Completed pre_install steps
GLI: April 20 2006 22:00:10 - Setting root password.
GLI: April 20 2006 22:00:10 - Livecd root password set.
GLI: April 20 2006 22:00:10 - Portmap started.
GLI: April 20 2006 22:00:10 - Completed pre_install steps
GLI: April 20 2006 22:32:45 - partition(): Processing /dev/hda...
GLI: April 20 2006 22:32:49 -   No match in new layout for old minor 6...deleting
GLI: April 20 2006 22:32:49 -   No match in new layout for old minor 5...deleting
GLI: April 20 2006 22:32:49 -   No logical partitions are being resized...deleting extended
GLI: April 20 2006 22:32:49 -   No match in new layout for old minor 3...deleting
GLI: April 20 2006 22:32:49 -   No match in new layout for old minor 2...deleting
GLI: April 20 2006 22:32:49 -   No match in new layout for old minor 1...deleting
GLI: April 20 2006 22:32:49 - Partitioning: Second pass...
GLI: April 20 2006 22:32:49 - Partitioning: Third pass....creating partitions
GLI: April 20 2006 22:32:49 -   Drive has 117210240 sectors
GLI: April 20 2006 22:32:49 -   Partition 1 has 100MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 0
GLI: April 20 2006 22:32:49 -     End sector calculated to be 204800
GLI: April 20 2006 22:32:49 -   Adding primary partition 1 from 0 to 204800
GLI: April 20 2006 22:32:49 -   Partition 2 has 768MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 204801
GLI: April 20 2006 22:32:49 -     End sector calculated to be 1777665
GLI: April 20 2006 22:32:49 -   Adding primary partition 2 from 204801 to 1777665
GLI: April 20 2006 22:32:49 -   Partition 3 has 1024MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 1777666
GLI: April 20 2006 22:32:49 -     End sector calculated to be 3874818
GLI: April 20 2006 22:32:49 -   Adding primary partition 3 from 1777666 to 3874818
GLI: April 20 2006 22:32:49 -   Partition 4 has 55339MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 3874819
GLI: April 20 2006 22:32:49 -     End sector calculated to be 117209091
GLI: April 20 2006 22:32:49 -   Adding extended partition 4 from 3874819 to 117209091
GLI: April 20 2006 22:32:49 -   Partition 5 has 25600MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 117209092
GLI: April 20 2006 22:32:49 -     End sector calculated to be 169637892
GLI: April 20 2006 22:32:49 -   Adding logical partition 5 from 3874820 to 56303620
GLI: April 20 2006 22:32:49 -   Partition 6 has 10240MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 56303621
GLI: April 20 2006 22:32:49 -     End sector calculated to be 77275141
GLI: April 20 2006 22:32:49 -   Adding logical partition 6 from 56303621 to 77275141
GLI: April 20 2006 22:32:49 -   Partition 7 has 2048MB
GLI: April 20 2006 22:32:49 -     Start sector calculated to be 77275142
GLI: April 20 2006 22:32:49 -     End sector calculated to be 81469446
GLI: April 20 2006 22:32:49 -   Adding logical partition 7 from 77275142 to 81469446
GLI: April 20 2006 22:32:50 -   Partition 8 has 2048MB
GLI: April 20 2006 22:32:50 -     Start sector calculated to be 81469447
GLI: April 20 2006 22:32:50 -     End sector calculated to be 85663751
GLI: April 20 2006 22:32:50 -   Adding logical partition 8 from 81469447 to 85663751
GLI: April 20 2006 22:32:50 -   Partition 8.125 has 15403MB
GLI: April 20 2006 22:32:50 -     Start sector calculated to be 85663752
GLI: April 20 2006 22:32:50 -     End sector calculated to be 117209096
GLI: April 20 2006 22:32:50 -   Adding logical partition 8.125 from 85663752 to 117209096
GLI: April 20 2006 22:32:50 - This is a bad thing. An exception occured outside of the normal install errors. The error was: ''free''
GLI: April 20 2006 22:32:50 - Traceback (most recent call last):
GLI: April 20 2006 22:32:50 - File "../../GLIClientController.py", line 192, in run
    self._install_steps[self._install_step]['function']()
GLI: April 20 2006 22:32:50 - File "../../templates/x86ArchitectureTemplate.py", line 407, in partition
    self._partition_recreate_step(parted_disk, newparts)
GLI: April 20 2006 22:32:50 - File "../../templates/x86ArchitectureTemplate.py", line 266, in _partition_recreate_step
    self._add_partition(parted_disk, start, end, "logical", newpart['type'])
GLI: April 20 2006 22:32:50 - File "../../templates/x86ArchitectureTemplate.py", line 70, in _add_partition
    if fs: fstype = fsTypes[fs]
GLI: April 20 2006 22:32:50 - KeyError: 'free'

/tmp/installprofile.xml:
<?xml version="1.0" ?>
<gli-profile>
        <kernel-build-method>
                genkernel
        </kernel-build-method>
        <cron-daemon>
                vixie-cron
        </cron-daemon>
        <domainname>
                cg.shawcable.net
        </domainname>
        <portage-snapshot>
                file:///mnt/cdrom/snapshots/portage-20060123.tar.bz2
        </portage-snapshot>
        <kernel-source>
                gentoo-sources
        </kernel-source>
        <install-pcmcia-cs>
                False
        </install-pcmcia-cs>
        <time-zone>
                America/Edmonton
        </time-zone>
        <install-distcc>
                False
        </install-distcc>
        <boot-device>
                /dev/hda
        </boot-device>
        <dynamic-stage3>
                False
        </dynamic-stage3>
        <kernel-bootsplash>
                True
        </kernel-bootsplash>
        <bootloader-mbr>
                True
        </bootloader-mbr>
        <hostname>
                gentoo
        </hostname>
        <bootloader-kernel-args>
                vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
        </bootloader-kernel-args>
        <post-install-script-uri/>
        <nisdomainname/>
        <install-stage>
                3
        </install-stage>
        <ftp-proxy/>
        <rsync-proxy/>
        <stage-tarball>
                ftp://gentoo.arcticnetwork.ca/pub/gentoo/releases/x86/2006.0/stages/stage3-i686-2006.0.tar.bz2
        </stage-tarball>
        <bootloader>
                grub
        </bootloader>
        <root-pass-hash>
                26junula
        </root-pass-hash>
        <http-proxy/>
        <mta/>
        <grp-install>
                False
        </grp-install>
        <logging-daemon>
                syslog-ng
        </logging-daemon>
        <kernel-config/>
        <portage-tree-sync>
                sync
        </portage-tree-sync>
        <kernel-initrd>
                True
        </kernel-initrd>
        <install-rp-pppoe>
                False
        </install-rp-pppoe>
        <install-packages>
                subversion,ndiswrapper gnome xorg-x11 xpdf gnupg samba mod_php mysql apache cups traceroute slocate gvim ufed rdesktop vim logrotate ethereal ntp mozilla-firefox openoffice-bin xmms gftp mplayer gimp
        </install-packages>
        <network-interfaces>
                <device ip="dhcp" options="-t 5">
                        eth1
                </device>
        </network-interfaces>
        <network-mounts/>
        <partitions>
                <device devnode="/dev/hda" disklabel="msdos">
                        <partition format="True" mb="100" minor="1.0" mkfsopts="" mountopts="defaults,noauto" mountpoint="/boot" origminor="0" resized="False" type="ext2"/>
                        <partition format="True" mb="768" minor="2.0" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="linux-swap"/>
                        <partition format="True" mb="1024" minor="3.0" mkfsopts="" mountopts="defaults" mountpoint="/" origminor="0" resized="False" type="reiserfs"/>
                        <partition format="True" mb="55339" minor="4.0" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="extended"/>
                        <partition format="True" mb="25600" minor="5.0" mkfsopts="" mountopts="defaults" mountpoint="/home" origminor="0" resized="False" type="reiserfs"/>
                        <partition format="True" mb="10240" minor="6.0" mkfsopts="" mountopts="defaults" mountpoint="/usr" origminor="0" resized="False" type="reiserfs"/>
                        <partition format="True" mb="2048" minor="7.0" mkfsopts="" mountopts="defaults" mountpoint="/var" origminor="0" resized="False" type="reiserfs"/>
                        <partition format="True" mb="2048" minor="8.0" mkfsopts="" mountopts="defaults" mountpoint="/opt" origminor="0" resized="False" type="reiserfs"/>
                        <partition format="True" mb="15403" minor="8.125" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="free"/>
                </device>
        </partitions>
        <services>
                alsasound,apache2,hdparm,xfs,xdm
        </services>
        <users>
                <user comment="" groups="users,wheel,video,audio,usb" hash="$1$8IUezXvM$zcnWiZEU8eB3idVpBqnBW0" homedir="/home/xathin" shell="/bin/bash" uid="">                        xathin
                </user>
        </users>
        <etc-files>
                <file name="rc.conf">
                        <entry name="DISPLAYMANAGER">
                                gdm
                        </entry>
                        <entry name="XSESSION">
                                Gnome
                        </entry>
                        <entry name="EDITOR">
                                /usr/bin/vim
                        </entry>
                </file>
                <file name="conf.d/clock">
                        <entry name="CLOCK">
                                local
                        </entry>
                </file>
                <file name="conf.d/keymaps">
                        <entry name="KEYMAP">
                                us
                        </entry>
                        <entry name="SET_WINDOWSKEYS">
                                Yes
                        </entry>
                </file>
                <file name="make.conf">
                        <entry name="MAKEOPTS">
                                -j2
                        </entry>
                        <entry name="USE">
                                 3dnow 3dnowext 7zip X a52 aac acpi alsa apache apache2 -apm -arts artworkextra audiofile automount avi bash-completion bcmath berkdb bitmap-fonts bootsplash bzip2 cairo cdda cddb cdinstall cdr cdrom -clamav -clamd cli crypt css ctype cups cvs cvsgraph dba dbi dbm dbus dcc dio directfb -dlloader dpms dri dts dvd -dvdread edl eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild fbcon ffmpeg fftw firefox -flac font-server foomaticdb force-cgi-redirect fortran ftp gd gdbm geoip gif glut glx gmail gmailtimestamps gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile -gvim gzip hal hddtemp howl id3 idn ieee1394 imagemagick imlib -ipv6 java javascript jp2 jpeg jpeg2k -kde kernel_linux lame lapack lcms libg++ libwww lm_sensors -logrotate mad matroska memlimit mikmod mjpeg mmx mmxext mng motif -mozilla moznocompose moznoirc moznomail moznoxft mozsha1 mozsvg mozxmlterm mp3 mpeg mpeg2 mysql mysqli nautilus ncurses -nls nptl nptlonly nsplugin offensive ogg on-the-fly-crypt opengl oss pam pcre pdflib perl php player png pnp posix python -qt quicktime -rdesktop readline reiser4 reiserfs samba sdl sensord session simplexml skey slang soap sockets speex spell spl sse sse-filters ssl subp subtitles svg svga svgz symlink tcltk tcpd theora thesaurus tiff tokenizer transcode truetype truetype-fonts type1-fonts udev userland_GNU userlocales v4l v4l2 vcd vcdimager videos vidix vorbis wifi win32codecs wma wmf wxgtk1 wxwindows x264 x86 -xlockrc xml xml2 xmms xosd xpm xscreensaver xsl xv xvid yv12 zip zlib
                        </entry>
                        <entry name="FEATURES"/>
                        <entry name="ACCEPT_KEYWORDS">
                                ~x86
                        </entry>
                        <entry name="CFLAGS">
                                -march=athlon-xp -O2 -pipe -fomit-frame-pointers                        </entry>
                </file>
        </etc-files>
</gli-profile>
Comment 1 Steven Parker 2006-04-20 23:32:06 UTC
This error occurs when any empty space is left on the harddrive.  When I made a partition to fill the remaining space on the drive, it no longer displayed the error, and continued through the install process normally.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-04-21 04:56:09 UTC
This was a slight logic error in the new partitioning code. It's fixed in CVS. Thanks.