Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124965 - Gentoo Linux installer could not partition USB drive
Summary: Gentoo Linux installer could not partition USB drive
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-03-04 09:39 UTC by Joe Womack
Modified: 2006-03-24 13:46 UTC (History)
0 users

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


Attachments
installer.log.failed (installer.log.failed,1.95 KB, text/plain)
2006-03-04 09:41 UTC, Joe Womack
Details
installprofile.xml (installprofile.xml,4.99 KB, application/xml)
2006-03-04 09:44 UTC, Joe Womack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Womack 2006-03-04 09:39:23 UTC
I was testing the "Gentoo Linux Installer" (Graphical).  I made it all the way through the wizard and the installer was starting to partition the USB drive.  The error message was:  

Exception received:
Error: Too many primary partitions.
Please submit a bug report (after searching to make sure it's not a known issue and verifying you didn't do something stupid) with the contents of /var/log/install.log and /tmp/installprofile.xml and the version of the installer you used

The partitioning scheme I was using:
sda1 = 100M /boot
sda2 = 512M swap
sda3 = 3G+ /

The install is being done on a Dell Latitude D600 laptop (docked).
I marked this bug critical only because it crashed out of the installer and did not give me the option to change the partitioning scheme.

gentoo@livecd ~ $ emerge --info

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 jpeg kde lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Joe Womack 2006-03-04 09:41:58 UTC
Created attachment 81305 [details]
installer.log.failed
Comment 2 Joe Womack 2006-03-04 09:44:00 UTC
Created attachment 81306 [details]
installprofile.xml
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-04 10:10:55 UTC
Was this using the version of the installer that came on the LiveCD?
Comment 4 Joe Womack 2006-03-04 10:15:05 UTC
I tried it again with the command line installer using the same installprofile.xml.  I recieved a similar error when I did the "actual" install.  If I ran it in the simulator mode, everything was fine.

Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-04 10:21:13 UTC
Both frontends use the same backend to perform the install. Simulation mode doesn't actually do anything, so it's understandable that it would "work" there.
Comment 6 Joe Womack 2006-03-04 10:26:15 UTC
I was able to manually partion the drive and run through the command line
installer using the attached installprofile.xml (at least so far, i've got past the privious failure point).

Here is the output from fdisk:
gentoo@livecd ~ $ sudo /sbin/fdisk -l /dev/sda

Disk /dev/sda: 4095 MB, 4095737856 bytes
126 heads, 62 sectors/track, 1024 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          26      101525   83  Linux
/dev/sda2              27         160      523404   82  Linux swap / Solaris
/dev/sda3             161        1024     3374784   83  Linux
Comment 7 Joe Womack 2006-03-04 10:31:32 UTC
(In reply to comment #3)
> Was this using the version of the installer that came on the LiveCD?
Yes.
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-04 21:22:41 UTC
It appears this happened because my code that deleted the partitions had a slight hiccup. This is fixed in CVS.
Comment 9 Joe Womack 2006-03-06 15:05:57 UTC
(In reply to comment #8)
> It appears this happened because my code that deleted the partitions had a
> slight hiccup. This is fixed in CVS.

Is there anyway to test it?  I'm not sure how to update the cd with the new version in cvs.

Comment 10 Joe Womack 2006-03-06 15:07:18 UTC
Also, I forgot to mention that I had also tried to do a layout like this, which also failed:
sda1 = 100M (primary)
sda2 = 3G+  (extended)
sda5 = 512M (logical)
sda6 = 3G+  (logical)

Hopefully, it is the same issue.
Comment 11 Andrew Gaffney (RETIRED) gentoo-dev 2006-03-06 15:34:22 UTC
Open a terminal and do '/opt/installer/misc/updategtkfe' on the LiveCD. This will grab the latest CVS snapshot and run the GTK frontend.
Comment 12 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:39 UTC
Moving to Release Media/Installer.