Mount floppy image
I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work Next: Now mount the virtual device. # mount /dev/mnt0 /mnt _ I believe there's a typo here should be /dev/md0 I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! Any suggestions? Thanks Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount floppy image
2010-01-31 09:27, Leslie Jensen skrev: I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work Next: Now mount the virtual device. # mount /dev/mnt0 /mnt _ I believe there's a typo here should be /dev/md0 I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! Any suggestions? Thanks Of course the imagefile had to be in /tmp/ and it had to be mount_msdosfs /dev/mnt0 /mnt Sorry for the noise Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mount floppy image
On Sun, Jan 31, 2010 at 09:27:48AM +0100, Leslie Jensen wrote: I'm trying to mount a floppy image following the instructions on: http://www.bsdguides.org/guides/freebsd/beginners/mdconfig_mount_images To mount a floppy image, create a virtual device, /dev/md0, for the floppy image. # mdconfig -a -t vnode -f /tmp/boot.flp -u 0 I had to touch /tmp/boot.flp to make it work That is strange. Is /tmp/boot.flp an existing image? If so, what size is it? Note that is you use touch on a non-existing file, it will create a file 0 bytes long! If you try to mount that, you'll get an error, because there is no data to be read. Now mount the virtual device. # mount /dev/mnt0 /mnt I believe there's a typo here should be /dev/md0 Yes. I get: mount /dev/md0 /mnt mount: /dev/md0 : Input/output error I have no idea what to do now! If you want to _create_ a floppy image, you can use: dd if=/dev/zero bs=1k count=1440 of=boot.flp Then use mdconfig to make an md device out of it. Of course you'll have to create an msdos filesystem on it; newfs_msdos /dev/md0 After that you can mount it and fill it with whatever you like. -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp1eGhk47ozj.pgp Description: PGP signature
mount floppy and CD
Hi list, Using FreeBSD 6.0, how can a ordinary user (without become root) mount the floppy an CDs? Aguiar ___ Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.mail.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount floppy and CD
Hi list, Using FreeBSD 6.0, how can a ordinary user (without become root) mount the floppy an CDs? Read up on the 'sudo' utility. I believe it is available in ports. jerry Aguiar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount floppy and CD
Aguiar Magalhaes [EMAIL PROTECTED] writes: Using FreeBSD 6.0, how can a ordinary user (without become root) mount the floppy an CDs? How do I let ordinary users mount floppies, CDROMs and other removable media? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount floppy and CD
* On 12/04/06 15:47 -0300, Aguiar Magalhaes wrote: | Hi list, | | Using FreeBSD 6.0, how can a ordinary user (without | become root) mount the floppy an CDs? http://caia.swin.edu.au/reports/041130A/ is a very good tutorial as well as what Gilbert sent. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Q: How many heterosexual males does it take to screw in a light bulb in San Francisco? A: Both of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
On 7/17/05, Gary W. Swearingen [EMAIL PROTECTED] wrote: Olga Zenkova [EMAIL PROTECTED] writes: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory Maybe it's write-protectd. I've seen strange things happen with those disks. I didn't get that error when I tried just now, but now I can't unmount the thing. Neither did I when I tried yesterday, but I was able to dismount it with umount /mnt. -- Dmitry Mityugov, St. Petersburg, Russia We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
Olga Zenkova [EMAIL PROTECTED] writes: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory Maybe it's write-protectd. I've seen strange things happen with those disks. I didn't get that error when I tried just now, but now I can't unmount the thing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't mount floppy
Hi! I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? Thanks, Olga Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
On 2005-07-15 03:45, Olga Zenkova [EMAIL PROTECTED] wrote: Hi! I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? Do you have the necessary device in /dev? # ls -l /dev/fd* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't mount floppy
Olga Zenkova wrote: I can't mount floppy on FreeBSD 5.4. I run the usual command: mount -t msdos /dev/fd0 /mnt and get /dev/fd0: No such file or directory When the kernel loads I see: fdc0: floppy drive controller port ... on acpi0 What does it mean? In case you the device node /dev/fd0 exists you'll find further information in /var/log/messages. If not then show /var/run/dmesg.boot completely. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount floppy/cdrom on diskless PC: vfsload: Exec format error
Rob wrote: Hi, I have a diskless PC with a floppy and CDrom drive. I can create a dos floppy without a problem, but the mount fails: # /usr/sbin/fdformat /dev/fd0.1440 Format 1440K floppy `/dev/fd0.1440'? (y/n): y Processing done. # /sbin/disklabel -B -r -w /dev/fd0 fd1440 # /sbin/newfs_msdos /dev/fd0 /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0 # mount_msdos /dev/fd0c /mnt mount_msdos: vfsload(msdos): Exec format error Same problem occurs for a CDrom: # mount -t cd9660 /dev/acd0c /cdrom cd9660: vfsload(cd9660): Exec format error The diskless machine has: /modules/msdos.ko /modules/cd9660.ko Probably related to this are these lines in /var/log/messages: Mar 6 13:09:33 diskless //kernel: link_elf: symbol s_lock_init undefined Any ideas what's going wrong here? I'll answer my own question here: When I add two options to the KERNEL config file: options MSDOSFS options CD9660 and use that kernel for my diskless PC, I can mount floppy and CDrom. Strange, because usually this is not needed for casual mounts of these devices. Cheers, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount floppy/cdrom on diskless PC: vfsload: Exec format error
Hi, I have a diskless PC with a floppy and CDrom drive. I can create a dos floppy without a problem, but the mount fails: # /usr/sbin/fdformat /dev/fd0.1440 Format 1440K floppy `/dev/fd0.1440'? (y/n): y Processing done. # /sbin/disklabel -B -r -w /dev/fd0 fd1440 # /sbin/newfs_msdos /dev/fd0 /dev/fd0: 2840 sectors in 355 FAT12 clusters (4096 bytes/cluster) bps=512 spc=8 res=1 nft=2 rde=512 sec=2880 mid=0xf0 spf=2 spt=18 hds=2 hid=0 # mount_msdos /dev/fd0c /mnt mount_msdos: vfsload(msdos): Exec format error Same problem occurs for a CDrom: # mount -t cd9660 /dev/acd0c /cdrom cd9660: vfsload(cd9660): Exec format error The diskless machine has: /modules/msdos.ko /modules/cd9660.ko Probably related to this are these lines in /var/log/messages: Mar 6 13:09:33 diskless //kernel: link_elf: symbol s_lock_init undefined Any ideas what's going wrong here? Thanks, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount floppy
On Mon, Mar 01, 2004 at 06:40:10AM -0600, Teilhard Knight wrote: I would appreciate if someone would told me how to mount my floppy. If you could tell me the exact entries in the fstab file would be great. Thank you. Please send technical questions to freebsd-questions. That said ... open your favourite browser, go to http://www.google.com and search for 'freebsd mount floppy' :) Cheers You used more saliva than if you had answered my question. Teilhard ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount floppy (Gotta love 'Nix...)
Teilhard Knight wrote: I would appreciate if someone would told me how to mount my floppy. If you could tell me the exact entries in the fstab file would be great. Thank you. Teilhard You've already received good suggestions, and answers, and pointers to the other list --- or Google, whatever, IIRC. And this one's *not* for fstab. Just wanted to mention this for its humor ... everybody needs that on Monday, right? :-) First off, understand that I've been thinking about writing a tongue-in-cheek article called something like FreeBSD for MSDOS users ... mostly for my own entertainment, I suppose. Anyway, this is likely comfy for ex-DOS people. Make sure you've created /floppy, then put this in /root/.cshrc or /root/.profile, or wherever you keep root's aliases... here's my line from /root/.cshrc: alias a: mount_msdosfs /dev/fd0 /floppy cd /floppy ls -l :-D Nice suggestion, thanks. :o) Teilhard. 30MB 250MB Web based, POP3 IMAP4 e-mail. Sign up now: http://www.hotpost.co.uk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to mount floppy disk?
Hi All!!! I try next to mount my floppy disk driver: mount_msdosfs /dev/fd0 /floppy I/O error. But why? -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: how to mount floppy disk?
Denis, Make sure there is a floppy disk in the drive before running the command. Also, I think the actual command is mount_msdos not mount_msdosfs. :-) Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Denis Sent: Thursday, August 28, 2003 2:20 PM To: [EMAIL PROTECTED] Subject: how to mount floppy disk? Hi All!!! I try next to mount my floppy disk driver: mount_msdosfs /dev/fd0 /floppy I/O error. But why? -- Best regards, Denis [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to mount floppy disk?
Terry Tyson [EMAIL PROTECTED] writes: Make sure there is a floppy disk in the drive before running the command. There could also be a problem with that particular floppy or drive... Also, I think the actual command is mount_msdos not mount_msdosfs. :-) Depends on which version of FreeBSD is in use. Since it worked, that was clearly the right one. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]