[CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread lee_yiu_ch...@yahoo.com
I am trying using a kickstart file to install CentOS 6.2 into a new virtual machine (the MBR sector of the harddisk is all zero), however I found that the installer cannot go through the harddisk partition. It failed after I chose Use All Space at harddisk partition option. The error message is:

Re: [CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread John Broome
On Wed, Jan 4, 2012 at 07:25, lee_yiu_ch...@yahoo.com lee_yiu_ch...@yahoo.com wrote: Below is the kickstart file I used (between dash lines) --- url --url=http://ftp.twaren.net/Linux/CentOS/6.2/os/i386/; interactive timezone  Asia/Hong_Kong firstboot --enable --- clearpart --all

Re: [CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread lee_yiu_ch...@yahoo.com
於 2012/1/4 下午 11:21, John Broome 提到: clearpart --all --initlabel In fact I already tried this before sending this email, and it doesn't work. BTW, I don't need this option to install CentOS 6.1. This simply suppress the unknown partition table format warning before the GUI installer starts.

Re: [CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread James A. Peltier
- Original Message - | I am trying using a kickstart file to install CentOS 6.2 into a new | virtual machine (the MBR sector | of the harddisk is all zero), however I found that the installer | cannot go through the harddisk | partition. It failed after I chose Use All Space at harddisk |

Re: [CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread lee_yiu_ch...@yahoo.com
clearpart --all --initlabel part /boot --fstype=ext4 --size=1024 part pv.0 --grow --size=1 volgroup ROOTDISK --pesize=4096 pv.0 logvol swap --name=swap --vgname=ROOTDISK --recommended logvol / --fstype=ext4 --name=root --vgname=ROOTDISK --size=1 --grow Thanks for your suggestion, but I

Re: [CentOS] Cannot use kickstart file to install CentOS 6.2 into a blank harddisk

2012-01-04 Thread lee_yiu_ch...@yahoo.com
於 2012/1/4 下午 08:25, lee_yiu_ch...@yahoo.com 提到: I am trying using a kickstart file to install CentOS 6.2 into a new virtual machine (the MBR sector of the harddisk is all zero), however I found that the installer cannot go through the harddisk partition. It failed after I chose Use All