There are a lot of posts to show to create a virtual floppy image file as a super user or users can run sudo
command. The basic steps are:
- create empty 1.44MB image file by
dd
command - format the image file by
mkfs.msdos
- mount the image file to some mount point
- copy something to the mount point
umount
the virtual floppy image file
my question is, in case I am just a common user who cannot run sudo
command, how can I follow above steps to create a virtual floppy image and write something in it?
Thanks a lot.
Yes, of course you can do this. Use
mtools
for the FAT ande2tools
orgenext2fs
for the ext2 filesystems.And of course, I have no root rights.