FAQ
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 count60
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.

Search Discussions

  • James Pearson at Feb 15, 2011 at 5:37 pm

    Kwan Lowe wrote:

    As root:
    dd if=/dev/zero of=floppy.flp bs=1k count60
    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
  • Kwan Lowe at Feb 16, 2011 at 9:50 am

    On Tue, Feb 15, 2011 at 5:37 PM, James Pearson wrote:
    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
    Well, hey now! That works nicely. Thank you!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedFeb 15, '11 at 3:57p
activeFeb 16, '11 at 9:50a
posts3
users2
websitecentos.org
irc#centos

2 users in discussion

Kwan Lowe: 2 posts James Pearson: 1 post

People

Translate

site design / logo © 2022 Grokbase