Hi Dan,

On Tue, 22 Nov 2011, Dan White wrote:
> Did anyone ever come up with a reliable recipe for making a bootable 
> USB-stick from a generated.iso ?

try the following out and let me know how relieable it is :)

Let's assume you have your USB-stick on "/dev/sdb" and you have "syslinux" 
>= 3.0 installed on your Linux box, then:

(1) by using "fdisk /dev/sdb" make sure you create a bootable FAT 
partition "/dev/sdb1"

(2) create new fat filesystem on the USB stick by using 
"mkfs.vfat /dev/sdb1"

(3) setup the bootloader by executing "syslinux /dev/sdb1"
 
(4) create your buildiso "cobbler buildiso --systems='host.domain.net'"

(5) step 4 should have created beside the "generated.iso" file also a 
"buildiso" directory; copy the created files from "buildiso/isolinux/*" to 
"/dev/sdb1" (mount it)

(6) rename the "isolinux.cfg" on "/dev/sdb1" to "syslinux.cfg"

(7) umount "/dev/sdb1" and try to boot with the USB-stick, just don't 
forget to disconnect it on time if you are using "clearpart" in your 
kickstart file.

> If so, I could use it.

Hope that helps,

best regards,

Alex

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to