Re: Creating floppy image without root permissions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux