[fedora-livecd-list] liveinst creating wrong partition

dzho002 zhou_dx at yahoo.com
Mon Nov 12 08:40:37 UTC 2007


Hi folks, 

I created a Fedora Core 8 live CD using the
livecd-creator tool successfully. It boots up fine
from a USB pen drive and is able to install to hard
drive. But there is a problem with the size of "/"
partition (dev/sda2) on the hard disk. The commands df
and fdisk report different size. 

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.0G  2.7G  1.3G  68% /
/dev/sda5              26G  209M   24G   1% /var
tmpfs                 252M   12K  252M   1% /dev/shm

fdisk /dev/sda -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005e0df

   Device Boot      Start         End      Blocks   Id
 System
/dev/sda1   *           1          25      200781   83
 Linux
/dev/sda2              26        1299    10233405   83
 Linux
/dev/sda3            1300        1430     1052257+  82
 Linux swap / Solaris
/dev/sda4            1431        4865    27591637+   5
 Extended
/dev/sda5            1431        4865    27591606   83
 Linux

I noticed that the layout of my "/" paritition is same
as /dev/mapper/livecd-rw on the live image. Looks like
liveinst created a wrong partition table somehow when
dumping the image to my hard disk. I have not seen
this problem before on FC 7. Is this likely a bug with
liveinst or livecd-creator?  Or I just messed
something up.

I created the FC8 live cd on a FC7 system. Because I
only have 1.9 GB free space after installation, I do
not have enough space to create a live CD from the new
FC8 system. So during the installation, I created a
custom layout that puts /var onto /dev/hda5 (a 24G
partition). I thought that would give livecd tool
enough temp space to work with. But I got an error
like this, 

Error creating Live CD : Unable to install:
[('installing package glibc-common-2.7-2 needs 33MB on
the /var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
33722368L)), ('installing package
gnome-backgrounds-2.20.0-1.fc8 needs 34MB on the
/var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
35389440L)), ('installing package
rt73usb-firmware-1.8-4 needs 34MB on the
/var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
35401728L)), ('installing package words-3.0-12.fc7
needs 39MB on the
/var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
40628224L)),  
....
....
....
 ('installing package
system-config-keyboard-1.2.11-3.fc8 needs 1806MB on
the /var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
1893142528L)), ('installing package
anaconda-11.3.0.50-2 needs 1823MB on the
/var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
1910513664L)), ('installing package
system-config-boot-0.2.17-1.fc8 needs 1823MB on the
/var/tmp/livecd-creator-jrowT1/install_root
filesystem', (9,
'/var/tmp/livecd-creator-jrowT1/install_root',
1910923264L))]
Failed to build the live image!!!

Some of those size are nonsense to me, e.g.,
system-config-boot-0.2.17-1.fc8 needs 1823MB???

Can anyone explain what went wrong? Any help would be
appreciated. Thank you.

Dan



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Fedora-livecd-list mailing list