Extra partition being created
Carl J. Van Arsdall
cvanarsdall at mvista.com
Mon Nov 27 20:14:05 CET 2006
It would appear to me as though somehow an extra partition is being
created during the disk setup. Here is my partition setup file, the
partition.sda from the logs, is there a script somewhere adding an extra
partition?
#disk_config/FAIBASE
# generic disk configuration for one small disk
# disk size from 500Mb up to what you can buy today
#
# <type> <mountpoint> <size in mb> [mount options] [;extra options]
disk_config disk1
primary / 3000- rw,errors=remount-ro ; -c -j ext3
logical swap 1000 rw
# logical /home preserve9 rw,nosuid ; -m 1 -j ext3
#logs/partition.sda
glue:/var/log/fai/node-27/last# cat partition.sda
# partition table of device: /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 33784632, Id= 83, bootable
/dev/sda2 : start= 33784695, size= 2056320, Id= 5
/dev/sda3 : start= 0, size= 0, Id= 0
/dev/sda4 : start= 0, size= 0, Id= 0
/dev/sda5 : start= 33784758, size= 2056257, Id= 82
The partition on /dev/sda2 is extra and not something I defined. I just
want one big partition and a 1 gig swap, is my configuration wrong?
Furthermore, I looked at the partition table via fdisk, these partitions
are assigned to the same starting point?
Command (m for help): p
Disk /dev/sda: 18.3 GB, 18351967232 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2103 16892316 83 Linux
/dev/sda2 2104 2231 1028160 5 Extended
/dev/sda5 2104 2231 1028128+ 82 Linux swap / Solaris
Thanks,
-carl
--
Carl J. Van Arsdall
cvanarsdall at mvista.com
Build and Release
MontaVista Software
More information about the linux-fai
mailing list