Hello All: I've recently had to provision some RHEL and CentOS VMWare instances. There was no network connectivity so I had to use a kickstart floppy and DVD iso rather than installing from our repository. To create the floppy I used the following: As root: dd if=/dev/zero of=floppy.flp bs=1k count=360 mkfs.vfat floppy.flp mount -o loop floppy.flp /mnt/floppy cp base_kickstart.ks /mnt/floppy/ks.cfg umount /mnt/floppy It works, but now I need to automate the process and have to do with without root access. Is there a way to create a floppy iso with a single file without root access? I looked at fuseiso, but it appears that it still requires some root permissions.
James Pearson
2011-Feb-15 22:37 UTC
[CentOS] Creating floppy image without root permissions?
Kwan Lowe wrote:> As root: > dd if=/dev/zero of=floppy.flp bs=1k count=360 > mkfs.vfat floppy.flp > mount -o loop floppy.flp /mnt/floppy > cp base_kickstart.ks /mnt/floppy/ks.cfg > umount /mnt/floppy > > > It works, but now I need to automate the process and have to do with > without root access. Is there a way to create a floppy iso with a > single file without root access? I looked at fuseiso, but it appears > that it still requires some root permissions.Have a look at mtools (part of CentOS) - you can do something similar as above as a non-root user: mformat -C -i floppy.flp -f 360 :: mcopy -i floppy.flp base_kickstart.ks ::ks.cfg James Pearson