[CentOS] CentOS 6.2 KS/Installer

George Mihaiescu George.Mihaiescu at Q9.com
Thu Jan 19 14:39:50 UTC 2012

The virtio disk driver uses "/dev/vda" instead of "sda", give it a try.

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Turbo Fredriksson
Sent: Thursday, January 19, 2012 5:47 AM
To: centos at centos.org
Subject: [CentOS] CentOS 6.2 KS/Installer

 I'm using the kickstart file we developed for v5 on 6.2 in VM (kvm/qemu 
 running on a CentOS 5.6),
 but it fails:

    Error partitioning. Could not allocate requested partitions: not 
 enough free space on disks.

 There's nothing wrong with the disk. Both fdisk and parted works fine, 
 I can view, partition
 and write a partition table and the disk is 10.5GB.

 However, looking through the logs, it tries to run 'dmsetup info 
 /dev/sda' which fails!

    Device /dev/sda not found
    Command failed

 The disk setup part looks like this:

    clearpart --drives=sda --initlabel
    part /boot --fstype ext3 --size 200 --ondrive=sda
    part swap --recommended --ondrive=sda
    part / --fstype ext3 --size 40000 --ondrive=sda
    part /scratch --fstype ext3 --size 1 --grow --ondrive=sda

 Running without a KS, the GUI works (but I still got the problem with 
 dmsetup in the logs).

 Any ideas?
 ... but you know as soon as Oracle starts waving its wallet at a 
 Company it's time to run - fast.
 /illumos mailing list
CentOS mailing list
CentOS at centos.org

More information about the CentOS mailing list