You are not logged in.

#1 2004-08-06 16:43:56

slackhack
Member
Registered: 2004-06-30
Posts: 738

can't unmount floppy drive

i had enough trouble mounting the d@mn thing -- now it won't unmount! tongue i need to copy some network drivers for my old laptop before selling it, and when i just take the floppy out and try it anyway without unmounting, win98 on the laptop says the disk isn't formatted. what's going on?

[5] root:/mnt/fl # ls
network/

[6] root:/mnt/fl # cd ../

[7] root:/mnt # umount /mnt/fl
umount: /mnt/fl: not mounted

[8] root:/mnt # umount /dev/floppy/0
umount: /dev/floppy/0: not mounted

[9] root:/mnt # umount /dev/fd0
umount: /dev/fd0: not mounted

[10] root:/mnt # cd fl

[11] root:/mnt/fl # ls
network/

:?:

Offline

#2 2004-08-06 17:48:32

cjdj
Member
From: Perth, Western Australia
Registered: 2004-05-07
Posts: 121

Re: can't unmount floppy drive

You are logged in as root, so you probably used su to do that.  What directory are you in with the shell under su?

If stuck, log out of all console windows.  Start up a new one, and then make sure your not in the mounted folder.  su, and then try and unmount it.

By the way, sync might solve your problem if you still cant unmount it.  It should write out any data that is waiting in the cache.  You should be able to pull the disk out after a sync and use it in win98, provided you formatted the disk as FAT.

Offline

#3 2004-08-06 17:56:21

cjdj
Member
From: Perth, Western Australia
Registered: 2004-05-07
Posts: 121

Re: can't unmount floppy drive

Oh, I forgot to mention, that you didnt list any mounts.

run mount and give us the result.   Your results indicate that this disk really isn't mounted.  mount should tell you what is actually mounted.  The network folder in /mnt/fl might actually be on your main filesystem and not actually on the floppy disk.

Here is my mount listing currently.  The very last line is the actual mounted floppy.

[root@linux-cjw public]# mount
/dev/ide/host0/bus0/target0/lun0/part3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /boot type ext2 (rw)
192.168.129.11:/pro/s2000/bean on /home/cjw/fki/projects/bean type nfs (rw,addr=192.168.129.11)
192.168.4.110:/cjdj on /cjdj type nfs (rw,addr=192.168.4.110)
/dev/floppy/0 on /mnt/fl type msdos (rw)

to save yourself some trouble, make sure the disk is formatted from win98.  then put the disk in your linux machine.

su
mount -t msdos /dev/floppy/0 /mnt/fl
cp network /mnt/fl
sync
umount /mnt/fl

and you should be good to go.

Offline

Board footer

Powered by FluxBB