Centos Kickstart Installation From Usb
Georghy yes but it doesn't work what i have done: creating a fat 32 partition on my USB key (4 GB) tagging it with boot flag copy MBR on the key: dd if=/dev/sdb of=/tmp/mbrsdb.bin bsQ2 count=1 Using syslinux: syslinux /dev/sdb1 Here is my key tree: `- vmlinuz Attachment: ks.cfg and syslinux.cfg Everithing is fine 'till anaconda start and try to copy rpm packages Using kickstart configuration or manual (text) configuration show the same error - Greetings, Georghy FUSCO - next part. I'm trying to set up a custom installation of CentOS using kickstarti tried many thing from how to's and tutorial web pages but nothingworked;(.I tried to install CentOS from my USB key but it says:Title: 'Missing ISO 9660'Content: 'The installer has tried to mount image #1,but cannot find iton the hard drive. 'Tried?JDCentOS mailing listCentOS at centos.orgyes but it doesn't workwhat i have done:creating a fat 32 partition on my USB key (4 GB)tagging it with boot flagcopy MBR on the key:dd if=/dev/sdb of=/tmp/mbrsdb.bin bsQ2 count=1Using syslinux:syslinux /dev/sdb1Here is my key tree. I had to ks.cfg:ignoredisk -drives=sdbbecause we don't want anaconda to write mbr on the keyharddrive -partition=sdb1 -dir=isosdb1 as one FAT32 partition so it's sdb1 in the directory isobootloader -location=mbr -driveorder=sda,sdbon syslinux.cfg:label kickstartkernel vmlinuzappend initrd=initrd.img ks=hd:sdb1:/ks/ks.cfg method=hd:sdb1:/isoIf I understand correctly, you did not do 2 partitions like in the wiki.Never tried with only one big Fat32 partition. So might not be able to help you.I don't see the /iso directory in your tree, and again neither the CentOS iso files.JD. I had to ks.cfg:ignoredisk -drives=sdbbecause we don't want anaconda to write mbr on the keyharddrive -partition=sdb1 -dir=isosdb1 as one FAT32 partition so it's sdb1 in the directory isobootloader -location=mbr -driveorder=sda,sdbon syslinux.cfg:label kickstartkernel vmlinuzappend initrd=initrd.img ks=hd:sdb1:/ks/ks.cfg method=hd:sdb1:/isoIf I understand correctly, you did not do 2 partitions like in the wiki.Never tried with only one big Fat32 partition.
So might not be able to help you.I don't see the /iso directory in your tree, and again neither the CentOS iso files.JDCentOS mailing listCentOS at centos.orgI am trying to create 2 diffrent partition like in the wikithe first one fat32 10Miothe second one ext2 the reston the fat32 partition i only have syslinux.cfgon the ext2 partition the following tree:/media/disk-1. John Doe From: Georghy I am confused.
To test that the syntax was correct I placed the kickstart file on another USB stick and loaded the same command to grab ks.cfg from the new location: linux ks=hd:sdc1:/ks.cfg This does work (providing USB sticks are mounted in order, boot - sdb1, kickstart - sdc1). The install will kickstart and complete the install with no issue. Unattended Kickstart Installation of CentOS 7 that Works Posted on March 9, 2017 January 14, 2018 by IdeanistM If you need to install CentOS 7 frequently, with the same configuration, build your own DVD media for unattended kickstart installation.
Centos 7 Kickstart
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. Does the iso work or the usb key? Quite different.
How does the installer know that the RPMs are in custom.iso.? Now I'm trying a simple taski 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 thefirst CDafter that I'll use a script which install the other packages I wantedinstead of doing it during installationUse:%packages@baseBut I don't know if base packages are all located on the first CD.Why not put all the CD isos (or DVD)?Is you usb key too small?JDCentOS mailing listCentOS at centos.orgI use%packages@base@corecore package are needed, aren't they?
Centos Kickstart Installation From Usb Drive
I'm trying to set up a custom installation of CentOS using kickstarti tried many thing from how to's and tutorial web pages but nothingworked;(.I tried to install CentOS from my USB key but it says:Title: 'Missing ISO 9660'Content: 'The installer has tried to mount image #1,but cannot find iton the hard drive. 'Tried?JDCentOS mailing listCentOS at centos.orgPS: my usb stick is recognized as /dev/sdb, and the hard drive I wantedto install CentOS is /dev/sda.