Re: [expert] Problem Mounting Floppy Disk
Have you tried a different floppy drive? Have you double-checked the connections on the back of the floppy drive and to the motherboard? Also, we're NOT talking about an LS-120 are we? If so all bets are off, 'cause it won't work with /dev/fd0. John
Re: [expert] Problem Mounting Floppy Disk
John Aldrich wrote: > > On Sat, 04 Mar 2000, you wrote: > > Ramon, > > Thankyou for your concise and thoughtful reply. I have saved it for future > > reference. I have tried the entries you suggested for my fstab file and > > it just isn't working. I am including a copy of my fstab file in hopes > > someone can point out what I'm doing wrong here. I am able to mount vfat > > floppies, just can't get the ext2 working. I've tried all the > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > 7.0: > > > One suggestion is to remove the "supermount" and go back to the way > things were before that. ie: > /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 > (straight from my Mandrake 6.0 system.) > You might also want to do the same for the CDROM, as others have > reported problems with it. Dunno why, but that "supermount" seems to > be problematic for many. I haven't tried it yet, as I"m still using > Mandrake 6.0. :-) > John This will not work on my system, but I have yet to try supermount disable. Surely the simplest solution is for Mandrake to fix the bug which causes supermount to not work with ext2 files on floppies in some systems. Adding ext2 to /etc/filesystems and changing vfat to auto are not fixes. -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
Alan Shoemaker wrote: > > DennisI can read both. Here's my fstab: > > /dev/sda1 /mnt/dos_sda1 vfatuser,exec,umask=0 0 0 > /dev/sdb1 /mnt/dos_sdb1 vfatuser,exec,umask=0 0 0 > /dev/sda5 /boot ext2defaults1 2 > /dev/sda6 swapswapdefaults0 0 > /dev/sda7 / ext2defaults1 1 > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd00 0 > /mnt/floppy2/mnt/floppy2supermount fs=vfat,dev=/dev/fd10 0 > none/proc procdefaults0 0 > none/dev/ptsdevpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > /mnt/zip/mnt/zipsupermount fs=vfat,dev=/dev/zip0 0 > /dev/hda/mnt/ls-120 vfatnoauto,user,exec0 0 > > to read a floppy w/ext2 I use this console command: > > mount -t ext2 /dev/fd0 /mnt/tmp > > There is, of course, a /tmp directory in the /mnt directory. > > Alan > > Dennis Robertson wrote: > > > > Dale Morris wrote: > > > > > > Ramon, > > > Thankyou for your concise and thoughtful reply. I have saved it for future > > > reference. I have tried the entries you suggested for my fstab file and > > > it just isn't working. I am including a copy of my fstab file in hopes > > > someone can point out what I'm doing wrong here. I am able to mount vfat > > > floppies, just can't get the ext2 working. I've tried all the > > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > > 7.0: > > > > > > /dev/hda1 /boot ext2 defaults 1 2 > > > /dev/hda5 / ext2 defaults 1 1 > > > /dev/hda6 swap swap defaults 0 0 > > > /dev/hda7 /home ext2 defaults 1 2 > > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > > none /proc proc defaults 0 0 > > > none /dev/pts devpts mode=0620 0 0 > > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > > > thanks again > > > > > > --dale > > > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." > > > > If I could add my 2 cents worth, I have tried every combination > > suggested by Ramon and Silkythreads without success. For me, I have to > > change the device entry to /mnt/fd0 to get even vfat to work > > (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I > > believe the problem is related to supermount and would be interested to > > see the fstab file from anyone who is able to read both vfat and ext2 > > floppies in L-M7.0 with supermount enabled. > > As a matter of interest man fs says that /proc/filesystems shows the > > filesystems currently supported by the kernel; that file is empty on my > > system. Is that related? > > -- > > Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA > > Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup. Got me beat. Tried that; got: Couldn't open /dev/fd0 no such device or address. -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
"Brian T. Schellenberger" wrote: > > On Sat, 04 Mar 2000, you wrote: > | Ramon, > | Thankyou for your concise and thoughtful reply. I have saved it for future > | reference. I have tried the entries you suggested for my fstab file and > | it just isn't working. I am including a copy of my fstab file in hopes > | someone can point out what I'm doing wrong here. I am able to mount vfat > | floppies, just can't get the ext2 working. I've tried all the > | obvious.. Here's the fstab file, the way it came configured in Mandrake > | 7.0: > | > | /dev/hda1 /boot ext2 defaults 1 2 > | /dev/hda5 / ext2 defaults 1 1 > | /dev/hda6 swap swap defaults 0 0 > | /dev/hda7 /home ext2 defaults 1 2 > | /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > The "fs=vfat" says: > > I want this to work for vfat. > > if you want to mount ext2 floppies, you can at a minimum just change > that to > > "fs=ext2" Does not work. Response is: Could not listdirectory contents file:/mount/floppy > > Though there's something terrily wrong if > > /dev/fd0 /mnt/floppy auto noauto,user 0 0 There is something terribly wrong > > doesn't do it for you. Of course if you use this above you do have to > "mount" it before you can use it. This is the Unix Classic approach. > I've had very little luck with supermount myself, and use this approach. > > That is, to use it, you do > > mount /mnt/floppy > ls /mnt/floppy > > and when done (this is important!) before removing it do > > umount /mnt/floppy > > If that doesn't work, please copy-and-paste the precise error messages > you are getting. > > | none /proc proc defaults 0 0 > | none /dev/pts devpts mode=0620 0 0 > | /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > | > | > | thanks again > | > | > | --dale > | > | "my mind is scheduled to clear tomorrow, then not again for another 400 years." > -- > I am "Brian, the man from babble-on" (Brian T. Schellenberger). > I can be reached at [EMAIL PROTECTED] . > I support http://www.eff.org & http://www.programming-freedom.org . > I boycott amazon.com. See http://www.gnu.org/philosophy/amazon.html . -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
Larry Sword wrote: > > Dale Morris wrote: > > > Ramon, > > Thankyou for your concise and thoughtful reply. I have saved it for future > > reference. I have tried the entries you suggested for my fstab file and > > it just isn't working. I am including a copy of my fstab file in hopes > > someone can point out what I'm doing wrong here. I am able to mount vfat > > floppies, just can't get the ext2 working. I've tried all the > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > 7.0: > > > > /dev/hda1 /boot ext2 defaults 1 2 > > /dev/hda5 / ext2 defaults 1 1 > > /dev/hda6 swap swap defaults 0 0 > > /dev/hda7 /home ext2 defaults 1 2 > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > none /proc proc defaults 0 0 > > none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > thanks again > > > > I don't have your original message, however: > > >From the entries in you fstab I see that you have fd0 as supermount, vfat. This > means that when using KDE you can simply click on the floppy icon to mount and > read your vfat floppy. SO in order to mount an ext2 format floppy you must FIRST > umount /mnt/floppy THEN you should be able to place an ext2 format floppy in your > drive and mount -t ext2 /dev/fd0 /mnt/floppy. > > Larry I get the message: Couldn't open /dev/fd0 no such device or address -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
On Sun, 05 Mar 2000, you wrote: > Civilemethat's what it says to do at mandrakeuser.org, but > did you try it? I did. It didn't work here. Your > instructions differed slightly from mandrakeuser.org's > instructions however, in that you say to add a line containing > 'ext2fs' to the /etc/filesystems file and mandrakeuser.org's > instructions were to add a line containing 'ext2'. So, if that > might make a difference, I don't know. > > Alan Most probably that was a mistake on my part. It DOES work for me on a slow and decrepit system I use at work. I use the slowest and least capable system here at work for obvious reasons--if it works on mine it should(tm) work on everyone else's here. I also loaded a supermount system yesterday in my experimental throwaways and tried various things. I discovered that supermount plus LS120 in a truth table of combinations could put Mandrake 7.0 in a klein bottle, but ordinary floppies do work. I think we're still missing mknod() support for the LS120 floppy boot sector. Civileme > > > Civileme wrote: > > > > Civileme wrote: > > > > > > Dennis Robertson wrote: > > > > > > > > Dale Morris wrote: > > > > > > > > > > Ramon, > > > > > Thankyou for your concise and thoughtful reply. I have saved it for future > > > > > reference. I have tried the entries you suggested for my fstab file and > > > > > it just isn't working. I am including a copy of my fstab file in hopes > > > > > someone can point out what I'm doing wrong here. I am able to mount vfat > > > > > floppies, just can't get the ext2 working. I've tried all the > > > > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > > > > 7.0: > > > > > > > > > > /dev/hda1 /boot ext2 defaults 1 2 > > > > > /dev/hda5 / ext2 defaults 1 1 > > > > > /dev/hda6 swap swap defaults 0 0 > > > > > /dev/hda7 /home ext2 defaults 1 2 > > > > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > > > > none /proc proc defaults 0 0 > > > > > none /dev/pts devpts mode=0620 0 0 > > > > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > > > > > > > thanks again > > > > > > > > > > --dale > > > > > > > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 >years." > > > > > > > > If I could add my 2 cents worth, I have tried every combination > > > > suggested by Ramon and Silkythreads without success. For me, I have to > > > > change the device entry to /mnt/fd0 to get even vfat to work > > > > (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I > > > > believe the problem is related to supermount and would be interested to > > > > see the fstab file from anyone who is able to read both vfat and ext2 > > > > floppies in L-M7.0 with supermount enabled. > > > > As a matter of interest man fs says that /proc/filesystems shows the > > > > filesystems currently supported by the kernel; that file is empty on my > > > > system. Is that related? > > > > -- > > > > Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA > > > > Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup. > > > > > > [shadow@civileme shadow]$ cat /proc/filesystems > > > ext2 > > > nodev proc > > > iso9660 > > > nodev devpts > > > vfat > > > nodev nfs > > > [shadow@civileme shadow]$ > > > > > > is for a system without supermount installed (Mandrake 7.0 > > > Development, loaded with all the stuff I'll never use.) > > > > Now with a system specifically built for supermount > > > > I got identical results > > > > Supermount mounts the device empty on startup and polls it to see > > if media has changed on a frequent basis. According to > > Mandrakeuser.org the proper thing to do to see ext2 floppies is > > > > a) make the change of fs=auto in the floppy supermount line > > > > b) make sure ext2fs is listed in /etc/filesystems > > > > http://www.mandrakeuser.org/admin/amount2.html#super > > > > is the relevant URL. > > > > I also set up a test system and discovered a few things. > > > > 1. the ide-floppy module does not help you supermount an LS120 as > > a floppy > > 2. dev=/dev/hdx on supermount lines in /etc/fstab (where x is the > > LS120 location) is an extraordinarily inept idea. I managed to > > have my first RESET in months thanks to that. After locking up > > the wm it halted the shutdown sequence at "unmounting > > filesystems" for a measured 30 minutes before I decided I would > > have to hit the dreaded button. > > > > 3. Dragging a file to a supermount icon won't work. I > > previously described the workaround for that. > > > > Civileme > > > > -- > > experimentation involving more than 500 trials with an > > ordinary slice of bread and a tablespoon of peanut butter > > has determined that the probability a random toss will > > land sticky side down (SSD) is approximately .98
Re: [expert] Problem Mounting Floppy Disk
If Brian's suggestion works for you, I suggest adding an icon to the desktop to save yourself from manually mounting the floppy each time. HTH, Matt >From: "Brian T. Schellenberger" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [expert] Problem Mounting Floppy Disk >Date: Mon, 6 Mar 2000 00:10:05 -0500 > >On Sat, 04 Mar 2000, you wrote: >| Ramon, >| Thankyou for your concise and thoughtful reply. I have saved it for >future >| reference. I have tried the entries you suggested for my fstab file and >| it just isn't working. I am including a copy of my fstab file in hopes >| someone can point out what I'm doing wrong here. I am able to mount vfat >| floppies, just can't get the ext2 working. I've tried all the >| obvious.. Here's the fstab file, the way it came configured in Mandrake >| 7.0: >| >| /dev/hda1 /boot ext2 defaults 1 2 >| /dev/hda5 / ext2 defaults 1 1 >| /dev/hda6 swap swap defaults 0 0 >| /dev/hda7 /home ext2 defaults 1 2 >| /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > The "fs=vfat" says: > >I want this to work for vfat. > >if you want to mount ext2 floppies, you can at a minimum just change >that to > >"fs=ext2" > >Though there's something terrily wrong if > >/dev/fd0 /mnt/floppy auto noauto,user 0 0 > >doesn't do it for you. Of course if you use this above you do have to >"mount" it before you can use it. This is the Unix Classic approach. >I've had very little luck with supermount myself, and use this approach. > >That is, to use it, you do > >mount /mnt/floppy >ls /mnt/floppy > >and when done (this is important!) before removing it do > >umount /mnt/floppy > >If that doesn't work, please copy-and-paste the precise error messages >you are getting. > > >| none /proc proc defaults 0 0 >| none /dev/pts devpts mode=0620 0 0 >| /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 >| >| >| thanks again >| >| >| --dale >| >| "my mind is scheduled to clear tomorrow, then not again for another 400 >years." >-- >I am "Brian, the man from babble-on" (Brian T. Schellenberger). >I can be reached at [EMAIL PROTECTED] . >I support http://www.eff.org & http://www.programming-freedom.org . >I boycott amazon.com. See http://www.gnu.org/philosophy/amazon.html . __ Get Your Private, Free Email at http://www.hotmail.com
Re: [expert] Problem Mounting Floppy Disk
Larry Sword wrote: > > Dale Morris wrote: > > > Ramon, > > Thankyou for your concise and thoughtful reply. I have saved it for future > > reference. I have tried the entries you suggested for my fstab file and > > it just isn't working. I am including a copy of my fstab file in hopes > > someone can point out what I'm doing wrong here. I am able to mount vfat > > floppies, just can't get the ext2 working. I've tried all the > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > 7.0: > > > > /dev/hda1 /boot ext2 defaults 1 2 > > /dev/hda5 / ext2 defaults 1 1 > > /dev/hda6 swap swap defaults 0 0 > > /dev/hda7 /home ext2 defaults 1 2 > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > none /proc proc defaults 0 0 > > none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > thanks again > > > > I don't have your original message, however: > > >From the entries in you fstab I see that you have fd0 as supermount, vfat. This > means that when using KDE you can simply click on the floppy icon to mount and > read your vfat floppy. SO in order to mount an ext2 format floppy you must FIRST > umount /mnt/floppy THEN you should be able to place an ext2 format floppy in your > drive and mount -t ext2 /dev/fd0 /mnt/floppy. > > Larry Thanks Larry. When I tried to umount /mnt/floppy I got the message: only root can unmount /mnt/fd0 from /mnt/floppy. So I su'd and unmounted then tried your suggested mount -t ext2 /dev/fd0 /mnt/floppy and got: wrong fs type, bad option, bad superblock on /dev/fd0 or too many mounted filesystems. Thanks Donna. dmesg says: Floppy drive(s): fd0 is 1.44M (which I take to be OK). Thanks Civileme. The fix? at Mandrakeuser.org does not work. Evidently supermount doesn't recognise fs=auto, because when I revert to fs=vfat it works. Thanks Lee. Could you explain your entry, please? Thanks John. I think the no-supermount way is the way I must go. Surely there is irony, if not a counter-revolutionary element, in the fact that supermount will only read files using the arch-enemy's filesystem. Or is there more than a passing coincidence in the name Mandrakesoft? :-) -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
Civilemethat's what it says to do at mandrakeuser.org, but did you try it? I did. It didn't work here. Your instructions differed slightly from mandrakeuser.org's instructions however, in that you say to add a line containing 'ext2fs' to the /etc/filesystems file and mandrakeuser.org's instructions were to add a line containing 'ext2'. So, if that might make a difference, I don't know. Alan Civileme wrote: > > Civileme wrote: > > > > Dennis Robertson wrote: > > > > > > Dale Morris wrote: > > > > > > > > Ramon, > > > > Thankyou for your concise and thoughtful reply. I have saved it for future > > > > reference. I have tried the entries you suggested for my fstab file and > > > > it just isn't working. I am including a copy of my fstab file in hopes > > > > someone can point out what I'm doing wrong here. I am able to mount vfat > > > > floppies, just can't get the ext2 working. I've tried all the > > > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > > > 7.0: > > > > > > > > /dev/hda1 /boot ext2 defaults 1 2 > > > > /dev/hda5 / ext2 defaults 1 1 > > > > /dev/hda6 swap swap defaults 0 0 > > > > /dev/hda7 /home ext2 defaults 1 2 > > > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > > > none /proc proc defaults 0 0 > > > > none /dev/pts devpts mode=0620 0 0 > > > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > > > > > thanks again > > > > > > > > --dale > > > > > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." > > > > > > If I could add my 2 cents worth, I have tried every combination > > > suggested by Ramon and Silkythreads without success. For me, I have to > > > change the device entry to /mnt/fd0 to get even vfat to work > > > (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I > > > believe the problem is related to supermount and would be interested to > > > see the fstab file from anyone who is able to read both vfat and ext2 > > > floppies in L-M7.0 with supermount enabled. > > > As a matter of interest man fs says that /proc/filesystems shows the > > > filesystems currently supported by the kernel; that file is empty on my > > > system. Is that related? > > > -- > > > Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA > > > Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup. > > > > [shadow@civileme shadow]$ cat /proc/filesystems > > ext2 > > nodev proc > > iso9660 > > nodev devpts > > vfat > > nodev nfs > > [shadow@civileme shadow]$ > > > > is for a system without supermount installed (Mandrake 7.0 > > Development, loaded with all the stuff I'll never use.) > > Now with a system specifically built for supermount > > I got identical results > > Supermount mounts the device empty on startup and polls it to see > if media has changed on a frequent basis. According to > Mandrakeuser.org the proper thing to do to see ext2 floppies is > > a) make the change of fs=auto in the floppy supermount line > > b) make sure ext2fs is listed in /etc/filesystems > > http://www.mandrakeuser.org/admin/amount2.html#super > > is the relevant URL. > > I also set up a test system and discovered a few things. > > 1. the ide-floppy module does not help you supermount an LS120 as > a floppy > 2. dev=/dev/hdx on supermount lines in /etc/fstab (where x is the > LS120 location) is an extraordinarily inept idea. I managed to > have my first RESET in months thanks to that. After locking up > the wm it halted the shutdown sequence at "unmounting > filesystems" for a measured 30 minutes before I decided I would > have to hit the dreaded button. > > 3. Dragging a file to a supermount icon won't work. I > previously described the workaround for that. > > Civileme > > -- > experimentation involving more than 500 trials with an > ordinary slice of bread and a tablespoon of peanut butter > has determined that the probability a random toss will > land sticky side down (SSD) is approximately .98
Re: [expert] Problem Mounting Floppy Disk
On Sat, 04 Mar 2000, you wrote: | Ramon, | Thankyou for your concise and thoughtful reply. I have saved it for future | reference. I have tried the entries you suggested for my fstab file and | it just isn't working. I am including a copy of my fstab file in hopes | someone can point out what I'm doing wrong here. I am able to mount vfat | floppies, just can't get the ext2 working. I've tried all the | obvious.. Here's the fstab file, the way it came configured in Mandrake | 7.0: | | /dev/hda1 /boot ext2 defaults 1 2 | /dev/hda5 / ext2 defaults 1 1 | /dev/hda6 swap swap defaults 0 0 | /dev/hda7 /home ext2 defaults 1 2 | /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 The "fs=vfat" says: I want this to work for vfat. if you want to mount ext2 floppies, you can at a minimum just change that to "fs=ext2" Though there's something terrily wrong if /dev/fd0 /mnt/floppy auto noauto,user 0 0 doesn't do it for you. Of course if you use this above you do have to "mount" it before you can use it. This is the Unix Classic approach. I've had very little luck with supermount myself, and use this approach. That is, to use it, you do mount /mnt/floppy ls /mnt/floppy and when done (this is important!) before removing it do umount /mnt/floppy If that doesn't work, please copy-and-paste the precise error messages you are getting. | none /proc proc defaults 0 0 | none /dev/pts devpts mode=0620 0 0 | /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 | | | thanks again | | | --dale | | "my mind is scheduled to clear tomorrow, then not again for another 400 years." -- I am "Brian, the man from babble-on" (Brian T. Schellenberger). I can be reached at [EMAIL PROTECTED] . I support http://www.eff.org & http://www.programming-freedom.org . I boycott amazon.com. See http://www.gnu.org/philosophy/amazon.html .
Re: [expert] Problem Mounting Floppy Disk
Civileme wrote: > > Dennis Robertson wrote: > > > > Dale Morris wrote: > > > > > > Ramon, > > > Thankyou for your concise and thoughtful reply. I have saved it for future > > > reference. I have tried the entries you suggested for my fstab file and > > > it just isn't working. I am including a copy of my fstab file in hopes > > > someone can point out what I'm doing wrong here. I am able to mount vfat > > > floppies, just can't get the ext2 working. I've tried all the > > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > > 7.0: > > > > > > /dev/hda1 /boot ext2 defaults 1 2 > > > /dev/hda5 / ext2 defaults 1 1 > > > /dev/hda6 swap swap defaults 0 0 > > > /dev/hda7 /home ext2 defaults 1 2 > > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > > none /proc proc defaults 0 0 > > > none /dev/pts devpts mode=0620 0 0 > > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > > > thanks again > > > > > > --dale > > > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." > > > > If I could add my 2 cents worth, I have tried every combination > > suggested by Ramon and Silkythreads without success. For me, I have to > > change the device entry to /mnt/fd0 to get even vfat to work > > (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I > > believe the problem is related to supermount and would be interested to > > see the fstab file from anyone who is able to read both vfat and ext2 > > floppies in L-M7.0 with supermount enabled. > > As a matter of interest man fs says that /proc/filesystems shows the > > filesystems currently supported by the kernel; that file is empty on my > > system. Is that related? > > -- > > Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA > > Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup. > > [shadow@civileme shadow]$ cat /proc/filesystems > ext2 > nodev proc > iso9660 > nodev devpts > vfat > nodev nfs > [shadow@civileme shadow]$ > > is for a system without supermount installed (Mandrake 7.0 > Development, loaded with all the stuff I'll never use.) Now with a system specifically built for supermount I got identical results Supermount mounts the device empty on startup and polls it to see if media has changed on a frequent basis. According to Mandrakeuser.org the proper thing to do to see ext2 floppies is a) make the change of fs=auto in the floppy supermount line b) make sure ext2fs is listed in /etc/filesystems http://www.mandrakeuser.org/admin/amount2.html#super is the relevant URL. I also set up a test system and discovered a few things. 1. the ide-floppy module does not help you supermount an LS120 as a floppy 2. dev=/dev/hdx on supermount lines in /etc/fstab (where x is the LS120 location) is an extraordinarily inept idea. I managed to have my first RESET in months thanks to that. After locking up the wm it halted the shutdown sequence at "unmounting filesystems" for a measured 30 minutes before I decided I would have to hit the dreaded button. 3. Dragging a file to a supermount icon won't work. I previously described the workaround for that. Civileme -- experimentation involving more than 500 trials with an ordinary slice of bread and a tablespoon of peanut butter has determined that the probability a random toss will land sticky side down (SSD) is approximately .98
Re: [expert] Problem Mounting Floppy Disk
DennisI can read both. Here's my fstab: /dev/sda1 /mnt/dos_sda1 vfatuser,exec,umask=0 0 0 /dev/sdb1 /mnt/dos_sdb1 vfatuser,exec,umask=0 0 0 /dev/sda5 /boot ext2defaults1 2 /dev/sda6 swapswapdefaults0 0 /dev/sda7 / ext2defaults1 1 /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd00 0 /mnt/floppy2/mnt/floppy2supermount fs=vfat,dev=/dev/fd10 0 none/proc procdefaults0 0 none/dev/ptsdevpts mode=0620 0 0 /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 /mnt/zip/mnt/zipsupermount fs=vfat,dev=/dev/zip0 0 /dev/hda/mnt/ls-120 vfatnoauto,user,exec0 0 to read a floppy w/ext2 I use this console command: mount -t ext2 /dev/fd0 /mnt/tmp There is, of course, a /tmp directory in the /mnt directory. Alan Dennis Robertson wrote: > > Dale Morris wrote: > > > > Ramon, > > Thankyou for your concise and thoughtful reply. I have saved it for future > > reference. I have tried the entries you suggested for my fstab file and > > it just isn't working. I am including a copy of my fstab file in hopes > > someone can point out what I'm doing wrong here. I am able to mount vfat > > floppies, just can't get the ext2 working. I've tried all the > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > 7.0: > > > > /dev/hda1 /boot ext2 defaults 1 2 > > /dev/hda5 / ext2 defaults 1 1 > > /dev/hda6 swap swap defaults 0 0 > > /dev/hda7 /home ext2 defaults 1 2 > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > none /proc proc defaults 0 0 > > none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > thanks again > > > > --dale > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." > > If I could add my 2 cents worth, I have tried every combination > suggested by Ramon and Silkythreads without success. For me, I have to > change the device entry to /mnt/fd0 to get even vfat to work > (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I > believe the problem is related to supermount and would be interested to > see the fstab file from anyone who is able to read both vfat and ext2 > floppies in L-M7.0 with supermount enabled. > As a matter of interest man fs says that /proc/filesystems shows the > filesystems currently supported by the kernel; that file is empty on my > system. Is that related? > -- > Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA > Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
Civilemeneat concept. Next we could create a 'My Computer' icon on the Desktop to put all of those device icons in, wdaya'think? :-) Alan P.S. do you REALLY have a user with that id? ;-) Civileme wrote: > > Dale Morris wrote: > > > > Ramon, > > Thankyou for your concise and thoughtful reply. I have saved it for future > > reference. I have tried the entries you suggested for my fstab file and > > it just isn't working. I am including a copy of my fstab file in hopes > > someone can point out what I'm doing wrong here. I am able to mount vfat > > floppies, just can't get the ext2 working. I've tried all the > > obvious.. Here's the fstab file, the way it came configured in Mandrake > > 7.0: > > > > /dev/hda1 /boot ext2 defaults 1 2 > > /dev/hda5 / ext2 defaults 1 1 > > /dev/hda6 swap swap defaults 0 0 > > /dev/hda7 /home ext2 defaults 1 2 > > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > > none /proc proc defaults 0 0 > > none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > thanks again > > > > --dale > > > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." > > Dale, > > Supermount is a new feature in filesystems which came about > basically with mandrake 7. Use the > /dev/fd0 /somemountpoint auto sync,rw,user,nosuid,unhide 0 0 > as a line in fstab while putting a # in front of the /mnt/floppy > line and see if that helps > You will then have to specifically and explicitly > > $ mount /dev/fd0 > > before reading or writing ext2 filesystems > and > > $ umount /dev/fd0 > > when you are ready to remove them. > > Supermount seems to have been a concession to windows users, and > I have made use of it. Since /dev/fd0 was automounting when a > floppy was inserted, I did > > ln -s /mnt/floppy /home/msbrainwasheduser/Desktop > > and then I changed the icon of that "shortcut" folder to a > mounted floppy--(it changes to a locked folder when no floppy is > inserted) and hid the supermount icon by adding a dot to the name > of the kdelnk > > Now ex-windows users can drag a file to the floppy icon in > complete comfort. (Hey, you can't do that in windows that > way--only in MAC was the icon on the desktop.) > > Of course, they had trouble saving to floppy from StarOffice, > because they had to navigate ALL the way to /mnt/floppy from > /home/msbrainwasheduser/Office51/work and then they might have to > mount the floppy as well SO > > ln -s /mnt/floppy /home/msbrainwasheduser/Office51/work > > made them even more unhappy because now they can't cry to their > bosses that there are too many steps to using linux to save a > file to floppy. They know they are losing the campaign to bring > windows back. > > Civileme > > -- > experimentation involving more than 500 trials with an > ordinary slice of bread and a tablespoon of peanut butter > has determined that the probability a random toss will > land sticky side down (SSD) is approximately .98
Re: [expert] Problem Mounting Floppy Disk
Ramonwow, great post! I've archived it under Ramon's_Rants (as suggested by someone in an earlier thread on modems). Anyhow, Dale's fstab lines w/supermount are not wrong, just different than the normal syntax we are used to. In fact supermount (along with its associated fstab lines) works fine on my system. But like the device icons in KDE they are defaulted to vfat file systems. In fact, it appears to me that supermount dosen't work with ext2 (or possibly any other fs than vfat, I've only tried ext2) file systems. There's a KDE filetype called 'File system device' that is used in KDE to mount, unmount and access filesystems. The default filesystem in all removable media devices except cdroms seems to be vfat. In fact adding another filesytem type to the icon complicates the process enough so that I don't do that (after experimenting a while) any more on my system. If I have an ext2 formatted zip or floppy or ls-120 to mount I open a console and use mount/umount. Well the same basic approach seems to be valid when the system uses supermount, the only difference is you can't really unmount a supermounted device/disc. So you can't use the same mount point because you just get the error: mount: /dev/fd0 already mounted or /mnt/floppy busy But if you mount to a directory that isn't associated with a supermount fstab line, the device/disc with ext2 (or, I imagine, any non vfat filesystem) mounts just fine. For instance: mount -t ext2 /dev/fd0 /mnt/floppy_ext2 Of course you'll still get the KDE error applet in KDE saying: Could not list directory contents fill:/mount/floppy if you try and navigate to the supermount-associated directory in Kwm (while the non-vfat disc is in the drive or with no media at all in the drive). If you try and access the supermount-associated directory (with either a non-vfat disc or no disc at all in the drive) in a console you'll also get errors like: bash: cd: /mnt/floppy: Input/output error or ls: /mnt/floppy: Input/output error Something else worth noting is that the new KDE desktop icons associated with supermounted devices are not the old 'File system device' type, but simply a '.kdelnk' pointing to the mount point. I realize that probably none of the above helps Dale in finding out why his system is having mount problems, but I thought the info was worth adding to the archives. I hope I've been clear. Alan Ramon Gandia wrote: > > Dale Morris wrote: > > > > I first posted this to the Newbie list, but got no reply. Hopefully, someone > > here can help. > > I just decided to give Mandrake 7.0 a try after using Redhat 6.1 for about a > > month and a half. Here's my problem: > > When I try to mount floppies I made with Redhat 6.1, I get an error > > message, "could not list directory contents, file/mnt/floppy.." what do I > > need to do to -- "So many idiots.. get this working correctly. I'm amazed > > that I can't mount a ext2 floppy. I so few comets.." edited the fstab as > > follows: H Henry /dev/hda1 /boot ext2 defaults 1 2 /dev/hda5 / ext2 > > defaults 1 1 /dev/hda6 swap swap defaults 0 0 /dev/hda7 /home ext2 > > defaults 1 2 /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 > > 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > (I added ext2 in fs=..) > > Therefore, your current floppy line in /etc/fstab looks like this: > > /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 0 0 > > That is clearly wrong. It should be this: > > /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide > 0 0 > > Or even just this: > > /dev/fd0 /mnt/floppy ext2 noauto 0 0 > ^^ ^^ > item 1item 2 item 3 item 4 item 5 > > item 1 = physical device. MUST be in /dev in this case /dev/fd0 > you are using a mount point in item 1, which will not work. > > item 2 = mount point. Classically /mnt/floppy but you could > use any blank or empty directory you want. Some peope use > /drive_A > or something similar. Just create an empty directory and use it. > In most Linux distros, /mnt/floppy is the default. But make sure > it actually exists BEFORE you try mounting something to it. > > item 3 = file system type. Could be msdos, could be ext2 or > could be "auto" for automatic detection of the file type in > the floppy. Auto was not allowed here until recently, when > auto-detection was implemented for floppy mounts. > > item 4 These are options, and there are many. In the second > example above, "noauto" means not to mount the floppy > automatically > when it is inserted in the drive. When a floppy is inserted in > the drive, it closes a tiny switch which can be detected by the > operating system, which can then mount it. MSDOS and Win95 are > examples of OS's that do this, but you should know that this is > just by design and is not inherent. You have to make the OS > recogni
Re: [expert] Problem Mounting Floppy Disk
Here's my fstab, I'm running Mandrake 7.02 /dev/sda1 /mnt/DOS_sda1 vfatuser,exec,conv=auto 0 0 /dev/sda5 /mnt/DOS_sda5 vfatuser,exec,conv=auto 0 0 /dev/hda1 /mnt/DOS_hda1 vfatuser,exec,conv=auto 0 0 /dev/hda5 /mnt/DOS_hda5 vfatuser,exec,conv=auto 0 0 /dev/hda6 /mnt/DOS_hda6 vfatuser,exec,conv=auto 0 0 /dev/hda7 /mnt/DOS_hda7 vfatuser,exec,conv=auto 0 0 /dev/hda8 /mnt/DOS_hda8 vfatuser,exec,conv=auto 0 0 /dev/hda9 /mnt/DOS_hda9 vfatuser,exec,conv=auto 0 0 /dev/hdb1 /boot ext2defaults 1 2 /dev/hdb5 /usrext2defaults 1 2 /dev/hdb6 /usr/local ext2defaults 1 2 /dev/hdb7 /home ext2defaults 1 2 /dev/hdb8 /usr/srcext2defaults 1 2 /dev/hdb9 swap_upgradeswapdefaults 0 0 /dev/hdb10 /varext2defaults 1 2 /dev/hdb11 /tmpext2defaults 1 2 /dev/hdb12 /optext2defaults 1 2 /dev/hdb13 / ext2defaults 1 1 /dev/hdc/mnt/ls120 vfatuser,exec,nodev,nosuid,rw,noauto 0 0 /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 none/proc procdefaults 0 0 none/dev/ptsdevpts mode=0620 0 0 If nothing else works, try my ol'faithful re-install. What does "dmesg" tell you about your floppy ?? It's possible that your BIOS and OS are not in sync. Ramon Gandia wrote: > > Dale Morris wrote: > > > > I first posted this to the Newbie list, but got no reply. Hopefully, someone > > here can help. > > I just decided to give Mandrake 7.0 a try after using Redhat 6.1 for about a > > month and a half. Here's my problem: > > When I try to mount floppies I made with Redhat 6.1, I get an error > > message, "could not list directory contents, file/mnt/floppy.." what do I > > need to do to -- "So many idiots.. get this working correctly. I'm amazed > > that I can't mount a ext2 floppy. I so few comets.." edited the fstab as > > follows: H Henry /dev/hda1 /boot ext2 defaults 1 2 /dev/hda5 / ext2 > > defaults 1 1 /dev/hda6 swap swap defaults 0 0 /dev/hda7 /home ext2 > > defaults 1 2 /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 > > 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 > > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > > > (I added ext2 in fs=..) > > Therefore, your current floppy line in /etc/fstab looks like this: > > /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 0 0 > > That is clearly wrong. It should be this: > > /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide > 0 0 > > Or even just this: > > /dev/fd0 /mnt/floppy ext2 noauto 0 0 > ^^ ^^ > item 1item 2 item 3 item 4 item 5 > > item 1 = physical device. MUST be in /dev in this case /dev/fd0 > you are using a mount point in item 1, which will not work. > > item 2 = mount point. Classically /mnt/floppy but you could > use any blank or empty directory you want. Some peope use > /drive_A > or something similar. Just create an empty directory and use it. > In most Linux distros, /mnt/floppy is the default. But make sure > it actually exists BEFORE you try mounting something to it. > > item 3 = file system type. Could be msdos, could be ext2 or > could be "auto" for automatic detection of the file type in > the floppy. Auto was not allowed here until recently, when > auto-detection was implemented for floppy mounts. > > item 4 These are options, and there are many. In the second > example above, "noauto" means not to mount the floppy > automatically > when it is inserted in the drive. When a floppy is inserted in > the drive, it closes a tiny switch which can be detected by the > operating system, which can then mount it. MSDOS and Win95 are > examples of OS's that do this, but you should know that this is > just by design and is not inherent. You have to make the OS > recognize the floppy. In the example above, noauto means > that you have to explictly give the 'mount' command. > > Item 5 has to do with when fsck checks your drive for file > type errors. > > Here are ways to mount things. Depends if you have a valid > fstab file that allows the shortcut. > > prompt# mount /mnt/floppy > > In this case, the mount command will look at /etc/fstab for > /mnt/floppy in the mount point column. It will see that this > is associated ONLY with /dev/fd0 and will attempt to mount > that drive to that mount point using the parameters in /etc/fstab. > > If /mnt/floppy does not exist, or is associated with a different > device that is detected, then it will exit with an error message. > See below. > > prompt# mount -t ext2 /dev/fd0 /mnt/floppy > > Thjis is more explicit. It tells the mo
Re: [expert] Problem Mounting Floppy Disk
/dev/hda8 / ext2 noatime 1 1 try the following line. -- Many Thanks. C i s c o S y s t e m s Lee Williams Virtual Desk Technology Lead EMEA Special Projects |||| Cisco Systems, Inc. |||| Email: [EMAIL PROTECTED] ..:||:..:||:..
Re: [expert] Problem Mounting Floppy Disk
Dale Morris wrote: > > Ramon, > Thankyou for your concise and thoughtful reply. I have saved it for future > reference. I have tried the entries you suggested for my fstab file and > it just isn't working. I am including a copy of my fstab file in hopes > someone can point out what I'm doing wrong here. I am able to mount vfat > floppies, just can't get the ext2 working. I've tried all the > obvious.. Here's the fstab file, the way it came configured in Mandrake > 7.0: > > /dev/hda1 /boot ext2 defaults 1 2 > /dev/hda5 / ext2 defaults 1 1 > /dev/hda6 swap swap defaults 0 0 > /dev/hda7 /home ext2 defaults 1 2 > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > none /proc proc defaults 0 0 > none /dev/pts devpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > thanks again > > --dale > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." If I could add my 2 cents worth, I have tried every combination suggested by Ramon and Silkythreads without success. For me, I have to change the device entry to /mnt/fd0 to get even vfat to work (/mnt/floppy won't work and /dev/fd0 is not a valid block device). I believe the problem is related to supermount and would be interested to see the fstab file from anyone who is able to read both vfat and ext2 floppies in L-M7.0 with supermount enabled. As a matter of interest man fs says that /proc/filesystems shows the filesystems currently supported by the kernel; that file is empty on my system. Is that related? -- Dennis Robertson 2/2 Sylvia Street NOOSAVILLE QLD 4566 AUSTRALIA Phone: 61 7 54742343 Mobile: 0419 535539 Fax: Phone first for setup.
Re: [expert] Problem Mounting Floppy Disk
On Sat, 04 Mar 2000, you wrote: > Ramon, > Thankyou for your concise and thoughtful reply. I have saved it for future > reference. I have tried the entries you suggested for my fstab file and > it just isn't working. I am including a copy of my fstab file in hopes > someone can point out what I'm doing wrong here. I am able to mount vfat > floppies, just can't get the ext2 working. I've tried all the > obvious.. Here's the fstab file, the way it came configured in Mandrake > 7.0: > One suggestion is to remove the "supermount" and go back to the way things were before that. ie: /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 (straight from my Mandrake 6.0 system.) You might also want to do the same for the CDROM, as others have reported problems with it. Dunno why, but that "supermount" seems to be problematic for many. I haven't tried it yet, as I"m still using Mandrake 6.0. :-) John
Re: [expert] Problem Mounting Floppy Disk
No, with supermount running his is at least plausibly close. Supermount changes all the rules . . . but I've found that supermount doesn't work worth beans and just screws everything up (plus it's totally undocumented in Mandrake), so I've removed it by use the "Linux Classic" approach you suggested, and if things are going wrong with an i/o device which uses supermount that's a darn good first thing to try. On Sat, 04 Mar 2000, you wrote: | Dale Morris wrote: | > | > I first posted this to the Newbie list, but got no reply. Hopefully, someone | > here can help. | > I just decided to give Mandrake 7.0 a try after using Redhat 6.1 for about a | > month and a half. Here's my problem: | > When I try to mount floppies I made with Redhat 6.1, I get an error | > message, "could not list directory contents, file/mnt/floppy.." what do I | > need to do to -- "So many idiots.. get this working correctly. I'm amazed | > that I can't mount a ext2 floppy. I so few comets.." edited the fstab as | > follows: H Henry /dev/hda1 /boot ext2 defaults 1 2 /dev/hda5 / ext2 | > defaults 1 1 /dev/hda6 swap swap defaults 0 0 /dev/hda7 /home ext2 | > defaults 1 2 /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 | > 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 | > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 | > | > (I added ext2 in fs=..) | | Therefore, your current floppy line in /etc/fstab looks like this: | | /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 0 0 | | That is clearly wrong. It should be this: | | /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide | 0 0 | | Or even just this: | | /dev/fd0 /mnt/floppy ext2 noauto 0 0 | ^^ ^^ | item 1item 2 item 3 item 4 item 5 | | item 1 = physical device. MUST be in /dev in this case /dev/fd0 | you are using a mount point in item 1, which will not work. | | item 2 = mount point. Classically /mnt/floppy but you could | use any blank or empty directory you want. Some peope use | /drive_A | or something similar. Just create an empty directory and use it. | In most Linux distros, /mnt/floppy is the default. But make sure | it actually exists BEFORE you try mounting something to it. | | item 3 = file system type. Could be msdos, could be ext2 or | could be "auto" for automatic detection of the file type in | the floppy. Auto was not allowed here until recently, when | auto-detection was implemented for floppy mounts. | | item 4 These are options, and there are many. In the second | example above, "noauto" means not to mount the floppy | automatically | when it is inserted in the drive. When a floppy is inserted in | the drive, it closes a tiny switch which can be detected by the | operating system, which can then mount it. MSDOS and Win95 are | examples of OS's that do this, but you should know that this is | just by design and is not inherent. You have to make the OS | recognize the floppy. In the example above, noauto means | that you have to explictly give the 'mount' command. | | Item 5 has to do with when fsck checks your drive for file | type errors. | | Here are ways to mount things. Depends if you have a valid | fstab file that allows the shortcut. | | prompt# mount /mnt/floppy | | In this case, the mount command will look at /etc/fstab for | /mnt/floppy in the mount point column. It will see that this | is associated ONLY with /dev/fd0 and will attempt to mount | that drive to that mount point using the parameters in /etc/fstab. | | If /mnt/floppy does not exist, or is associated with a different | device that is detected, then it will exit with an error message. | See below. | | prompt# mount -t ext2 /dev/fd0 /mnt/floppy | | Thjis is more explicit. It tells the mount command to mount | the device or drive /dev/fd0 to the mount directory or point | called /mnt/floppy and to do it as an ext2 file system. | | Note that this command is much more flexible. Here are some | bizarre possibilities: | | Let us say you have /mnt/floppy as well as /mnt/cdrom, which | is typical of most systems. You also have a /home directory, | also typical. | | Let us also assume that there is NO CD in the CD drive. | | Try these for fun: | | prompt# mount -t ext2 /dev/fd0 /mnt/cdrom | prompt# cd /mnt/cdrom | prompt# ls (see that the floppy is mounted under /mnt/cdrom. | hehehehe. | | prompt# mount -t ext2 /dev/fd0 /home | prompt# cd /home | prompt# ls | | Note that here, the contents of the floppy are now readable as | /home. Waht happened to your /home directory??!! &^& Well, no | problem, just do | | prompt# cd / | prompt# umount /home | and all is back to normal. | | Now take a blank, unformatted floppy and put it in the drive. | | prompt# cd / | prompt# fdformat /dev/fd0H1440 | prompt# mke2fs -c /dev/fd0 1440 | prompt# mount -t ext2 /dev/fd0 /mnt/floppy | prompt# cd /etc | prompt# cp profile /mnt/
Re: [expert] Problem Mounting Floppy Disk
Dale Morris wrote: > > Ramon, > Thankyou for your concise and thoughtful reply. I have saved it for future > reference. I have tried the entries you suggested for my fstab file and > it just isn't working. I am including a copy of my fstab file in hopes > someone can point out what I'm doing wrong here. I am able to mount vfat > floppies, just can't get the ext2 working. I've tried all the > obvious.. Here's the fstab file, the way it came configured in Mandrake > 7.0: > > /dev/hda1 /boot ext2 defaults 1 2 > /dev/hda5 / ext2 defaults 1 1 > /dev/hda6 swap swap defaults 0 0 > /dev/hda7 /home ext2 defaults 1 2 > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > none /proc proc defaults 0 0 > none /dev/pts devpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > thanks again > > --dale > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." Dale, Supermount is a new feature in filesystems which came about basically with mandrake 7. Use the /dev/fd0 /somemountpoint auto sync,rw,user,nosuid,unhide 0 0 as a line in fstab while putting a # in front of the /mnt/floppy line and see if that helps You will then have to specifically and explicitly $ mount /dev/fd0 before reading or writing ext2 filesystems and $ umount /dev/fd0 when you are ready to remove them. Supermount seems to have been a concession to windows users, and I have made use of it. Since /dev/fd0 was automounting when a floppy was inserted, I did ln -s /mnt/floppy /home/msbrainwasheduser/Desktop and then I changed the icon of that "shortcut" folder to a mounted floppy--(it changes to a locked folder when no floppy is inserted) and hid the supermount icon by adding a dot to the name of the kdelnk Now ex-windows users can drag a file to the floppy icon in complete comfort. (Hey, you can't do that in windows that way--only in MAC was the icon on the desktop.) Of course, they had trouble saving to floppy from StarOffice, because they had to navigate ALL the way to /mnt/floppy from /home/msbrainwasheduser/Office51/work and then they might have to mount the floppy as well SO ln -s /mnt/floppy /home/msbrainwasheduser/Office51/work made them even more unhappy because now they can't cry to their bosses that there are too many steps to using linux to save a file to floppy. They know they are losing the campaign to bring windows back. Civileme -- experimentation involving more than 500 trials with an ordinary slice of bread and a tablespoon of peanut butter has determined that the probability a random toss will land sticky side down (SSD) is approximately .98
Re: [expert] Problem Mounting Floppy Disk
Dale Morris wrote: > Ramon, > Thankyou for your concise and thoughtful reply. I have saved it for future > reference. I have tried the entries you suggested for my fstab file and > it just isn't working. I am including a copy of my fstab file in hopes > someone can point out what I'm doing wrong here. I am able to mount vfat > floppies, just can't get the ext2 working. I've tried all the > obvious.. Here's the fstab file, the way it came configured in Mandrake > 7.0: > > /dev/hda1 /boot ext2 defaults 1 2 > /dev/hda5 / ext2 defaults 1 1 > /dev/hda6 swap swap defaults 0 0 > /dev/hda7 /home ext2 defaults 1 2 > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > none /proc proc defaults 0 0 > none /dev/pts devpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > thanks again > I don't have your original message, however: >From the entries in you fstab I see that you have fd0 as supermount, vfat. This means that when using KDE you can simply click on the floppy icon to mount and read your vfat floppy. SO in order to mount an ext2 format floppy you must FIRST umount /mnt/floppy THEN you should be able to place an ext2 format floppy in your drive and mount -t ext2 /dev/fd0 /mnt/floppy. Larry
Re: [expert] Problem Mounting Floppy Disk
/mnt/floppy /mnt/floppy supermount rw,fs=vfat,dev=/dev/fd0 0 0 or /dev/fd0 /mnt/floppy auto sync,user,nosuid,unhide,rw 0 0 Either one should work. Depends on your system. Dale Morris wrote: > > Ramon, > Thankyou for your concise and thoughtful reply. I have saved it for future > reference. I have tried the entries you suggested for my fstab file and > it just isn't working. I am including a copy of my fstab file in hopes > someone can point out what I'm doing wrong here. I am able to mount vfat > floppies, just can't get the ext2 working. I've tried all the > obvious.. Here's the fstab file, the way it came configured in Mandrake > 7.0: > > /dev/hda1 /boot ext2 defaults 1 2 > /dev/hda5 / ext2 defaults 1 1 > /dev/hda6 swap swap defaults 0 0 > /dev/hda7 /home ext2 defaults 1 2 > /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 > none /proc proc defaults 0 0 > none /dev/pts devpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > thanks again > > --dale > > "my mind is scheduled to clear tomorrow, then not again for another 400 years." begin:vcard n:Williams;Donna tel;home:301-310-0441 tel;work:301-310-0441 x-mozilla-html:FALSE org:General Dynamics - Electronic Systems;Veni, Vidi, Velcro ! ( I came, I saw, I stuck around ! ) adr:;; version:2.1 email;internet:[EMAIL PROTECTED] title:Software Test Engineer fn:Donna Williams end:vcard
Re: [expert] Problem Mounting Floppy Disk
Ramon, Thankyou for your concise and thoughtful reply. I have saved it for future reference. I have tried the entries you suggested for my fstab file and it just isn't working. I am including a copy of my fstab file in hopes someone can point out what I'm doing wrong here. I am able to mount vfat floppies, just can't get the ext2 working. I've tried all the obvious.. Here's the fstab file, the way it came configured in Mandrake 7.0: /dev/hda1 /boot ext2 defaults 1 2 /dev/hda5 / ext2 defaults 1 1 /dev/hda6 swap swap defaults 0 0 /dev/hda7 /home ext2 defaults 1 2 /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 thanks again --dale "my mind is scheduled to clear tomorrow, then not again for another 400 years."
Re: [expert] Problem Mounting Floppy Disk
Dale Morris wrote: > > I first posted this to the Newbie list, but got no reply. Hopefully, someone > here can help. > I just decided to give Mandrake 7.0 a try after using Redhat 6.1 for about a > month and a half. Here's my problem: > When I try to mount floppies I made with Redhat 6.1, I get an error > message, "could not list directory contents, file/mnt/floppy.." what do I > need to do to -- "So many idiots.. get this working correctly. I'm amazed > that I can't mount a ext2 floppy. I so few comets.." edited the fstab as > follows: H Henry /dev/hda1 /boot ext2 defaults 1 2 /dev/hda5 / ext2 > defaults 1 1 /dev/hda6 swap swap defaults 0 0 /dev/hda7 /home ext2 > defaults 1 2 /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 > 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 > /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 > > (I added ext2 in fs=..) Therefore, your current floppy line in /etc/fstab looks like this: /mnt/floppy /mnt/floppy supermount fs=vfat,ext2 dev=/dev/fd0 0 0 That is clearly wrong. It should be this: /dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 Or even just this: /dev/fd0 /mnt/floppy ext2 noauto 0 0 ^^ ^^ item 1item 2 item 3 item 4 item 5 item 1 = physical device. MUST be in /dev in this case /dev/fd0 you are using a mount point in item 1, which will not work. item 2 = mount point. Classically /mnt/floppy but you could use any blank or empty directory you want. Some peope use /drive_A or something similar. Just create an empty directory and use it. In most Linux distros, /mnt/floppy is the default. But make sure it actually exists BEFORE you try mounting something to it. item 3 = file system type. Could be msdos, could be ext2 or could be "auto" for automatic detection of the file type in the floppy. Auto was not allowed here until recently, when auto-detection was implemented for floppy mounts. item 4 These are options, and there are many. In the second example above, "noauto" means not to mount the floppy automatically when it is inserted in the drive. When a floppy is inserted in the drive, it closes a tiny switch which can be detected by the operating system, which can then mount it. MSDOS and Win95 are examples of OS's that do this, but you should know that this is just by design and is not inherent. You have to make the OS recognize the floppy. In the example above, noauto means that you have to explictly give the 'mount' command. Item 5 has to do with when fsck checks your drive for file type errors. Here are ways to mount things. Depends if you have a valid fstab file that allows the shortcut. prompt# mount /mnt/floppy In this case, the mount command will look at /etc/fstab for /mnt/floppy in the mount point column. It will see that this is associated ONLY with /dev/fd0 and will attempt to mount that drive to that mount point using the parameters in /etc/fstab. If /mnt/floppy does not exist, or is associated with a different device that is detected, then it will exit with an error message. See below. prompt# mount -t ext2 /dev/fd0 /mnt/floppy Thjis is more explicit. It tells the mount command to mount the device or drive /dev/fd0 to the mount directory or point called /mnt/floppy and to do it as an ext2 file system. Note that this command is much more flexible. Here are some bizarre possibilities: Let us say you have /mnt/floppy as well as /mnt/cdrom, which is typical of most systems. You also have a /home directory, also typical. Let us also assume that there is NO CD in the CD drive. Try these for fun: prompt# mount -t ext2 /dev/fd0 /mnt/cdrom prompt# cd /mnt/cdrom prompt# ls (see that the floppy is mounted under /mnt/cdrom. hehehehe. prompt# mount -t ext2 /dev/fd0 /home prompt# cd /home prompt# ls Note that here, the contents of the floppy are now readable as /home. Waht happened to your /home directory??!! &^& Well, no problem, just do prompt# cd / prompt# umount /home and all is back to normal. Now take a blank, unformatted floppy and put it in the drive. prompt# cd / prompt# fdformat /dev/fd0H1440 prompt# mke2fs -c /dev/fd0 1440 prompt# mount -t ext2 /dev/fd0 /mnt/floppy prompt# cd /etc prompt# cp profile /mnt/floppy (drive light goes on) prompt# cd /mnt/floppy prompt# ls -la (see two things: "profile" and "lost+found" prompt# cd /(you cannot unmount when in the directory). prompt# umount /mnt/floppy prompt# ls -la /mnt/floppy (should say 0 files) OK. prompt# cp /etc/bashrc /mnt/floppy (copy this text file over) prompt# ls -la /mnt/floppy (should show ONLY "bashrc") prompt# mount -t ext2 /dev/fd0 /mnt/floppy prompt# ls -la /mnt/floppy (will show "profile" "lost+found" but NOT "bashrc". prompt# umount /mnt/floppy prompt# ls -la /mnt/floppy (now shows "bashrc" oNLY) Ain't that the cat's meow? Now, if you have /etc/fstab set up correctly, you can use t