Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102351 - creation of fat32 partition failed
Summary: creation of fat32 partition failed
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-13 05:17 UTC by Lorenzo Sicilia
Modified: 2006-03-24 13:46 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 Lorenzo Sicilia 2005-08-13 05:17:25 UTC
I upgrade my installer to test bug:102178
My goal it is a dual boot winxp/gentoo

Reproducible: Didn't try
Steps to Reproduce:
1.check my partition here:
http://www.kemen.it/gentoo/fat32/installprofile.xml

2.make alle step
3.click install

Actual Results:  
The installer crash and I get this error:
GLIException: PartitionFormatError :FATAL: partition: could't create fat32
filesystem on /dev/hda2



Expected Results:  
The installer start :)

you can found more info here:
http://www.kemen.it/gentoo/fat32/installer.log
http://www.kemen.it/gentoo/fat32/installprofile.xml


My old linux partion are lost.
#parted -s /dev/hda print
Disk geometry for /dev/hda: 0.000-57231.562 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  20002.807  primary   ntfs        boot
2      20002.808  29957.146  primary   fat32


# gpart /dev/hda
Checking partitions...
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(DOS or Windows 95 with 32 bit FAT): primary
Partition(Linux swap or Solaris/x86): primary
Partition(Linux ext2 filesystem): primary
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
   size: 20002mb #s(40965680) s(63-40965742)
   chs:  (0/1/1)-(1023/15/63)d (0/1/1)-(40640/9/56)r

Primary partition(2)
   type: 011(0x0B)(DOS or Windows 95 with 32 bit FAT)
   size: 9546mb #s(19551105) s(40965750-60516854)
   chs:  (1023/15/63)-(1023/15/63)d (40640/10/1)-(60036/8/63)r

Primary partition(3)
   type: 130(0x82)(Linux swap or Solaris/x86)
   size: 1913mb #s(3919856) s(60516855-64436710)
   chs:  (1023/15/63)-(1023/15/63)d (60036/9/1)-(63925/4/59)r

Primary partition(4)
   type: 131(0x83)(Linux ext2 filesystem)
   size: 25768mb #s(52773520) s(64436715-117210234)
   chs:  (1023/15/63)-(1023/15/63)d (63925/5/1)-(116279/15/58)r
Comment 1 Lorenzo Sicilia 2005-08-13 06:23:01 UTC
After fat32 problem I restore my partion with gpart.
I crate a new setup:
http://www.kemen.it/gentoo/swap/installprofile.xml

and when I start the the install I get this error:
FATAL: partition: could't create linux-swap filesystem on /dev/hda6
more info:
http://www.kemen.it/gentoo/swap/installer.log

I checked installprofile.xml and this entry it's stange:
<partition format="True" mb="0" minor="5" mkfsopts="" mountopts="defaults"
mountpoint="/boot" origminor="0" type="ext2"/>

My /boot partion it would be 30MB but in the graphic installer I get always 0MB

anyway I hope this report can help you to understand the problem

regards
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-13 10:23:09 UTC
I see that the fat32 already exists in the second run. Were you able to create
the fat32 filesystem by hand with 'mkfs.vfat -F 32 /dev/hda2'?

The failure to create the swap probably has something to do with partition 5
being 0MB. I'm pretty sure I know why that's happening. Currently, in the GTK
frontend, you can only size a partition in chunks of (<available space> / <width
of slider widget in pixels (~500)>). In your case, it looks like the smallest
/boot partitions you would have been able to make is 55MB. Next time, use the
slider and only go one "notch" above zero. This should give you ~55MB in the
text field below the slider. I'm guessing you were entering 30 in the text field
below the slider. When focus went away from that text field, the value was
translated into a slider position, which would have been <1 and set to 0 again.
Comment 3 Lorenzo Sicilia 2005-08-16 01:20:40 UTC
(In reply to comment #2) 
> I see that the fat32 already exists in the second run. Were you able to 
create 
> the fat32 filesystem by hand with 'mkfs.vfat -F 32 /dev/hda2'? 
 
Yes I do. 
 
> I'm guessing you were entering 30 in the text field 
> below the slider. When focus went away from that text field, the value was 
> translated into a slider position, which would have been <1 and set to 0 
again. 
 
I get a gentoo from GLI after I used fdisk. In GLI I just add mount points ("/" 
and "/boot"). Anyway, you are right about boot partition dimension. I have see 
a message in console "float divison by zero" . 
 
 
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2005-09-02 21:31:23 UTC
I'm going to go out on a limb and assume that the original failure described was
due to the disappearing act udev likes to pull on the /dev nodes. The way the
partitioning code does the formatting has been modified in a way that will let
it handle this situation much better.
Comment 5 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:31 UTC
Moving to Release Media/Installer.