[CentOS] kickstart installation from usb key

Georghy fusco at wanagain.net
Wed Feb 3 13:37:52 UTC 2010

John Doe a écrit :
> From: Georghy <fusco at wanagain.net>
>>>> harddrive --partition=sdb1 --dir=iso
>>>>   append initrd=initrd.img  ks=hd:sdb1:/ks/ks.cfg method=hd:sdb1:/iso
>> I am trying to create 2 diffrent partition like in the wiki
>> the first one fat32 10Mio
>> the second one ext2 the rest
>> on the fat32 partition i only have syslinux.cfg
>> on the ext2 partition the following tree :
>> ...
> I am confused...
> If you have indeed a second partition where you did put your iso, you should point to sdb2 and not sdb1...
> In my syslinux.cfg (which is on sda1):
>  append initrd=initrd.img ks=hd:sda2:/ks.cfg method=hd:sda2:/centos
> In my kickstart:
>   harddrive --partition=sda2 --dir=/centos
> So it boots on sda1, but the iso files and kickstart stuff are on sda2...

You are right it is sdb2 not sdb1
>> My CentOS iso file is : custom.iso
>> It is a custom CentOS distro that i have made and it worked perfectly on 
>> my Virtual Machine on virtual box
> Does the iso work or the usb key?  quite different...
> How does the installer know that the RPMs are in custom.iso...?
the iso work on a VM, i don't know if it work on a USB key
>> No such file or directory 'sdb1:vfat/iso'
> vfat/iso?
> JD
Previously i used the iso dir for my custom.iso
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Now I'm trying a simple task
i only want to install package wich are in the first cd-rom of CentOS 
(not my custom.iso), the official iso but I just want the package in the 
first CD

after that I'll use a script which install the other packages I wanted 
instead of doing it during installation

Georghy FUSCO

More information about the CentOS mailing list