View previous topic :: View next topic |
Author |
Message |
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Sat Mar 01, 2003 7:30 pm Post subject: mount floppy |
|
|
hi
ive got just recently installed gentoo and lastnite finished installing X but ive still got my custom XF86config file from my old *redhat* install *i had it setup to work with both my touchpad and usb mouse on my laptop* now the XF file is on my windows machine and my only way to get it to my laptop is thou floppy but i cant mount it
my fstab looks like this
/dev/hda2 /boot ext2 noauto,noatime 1 1
/dev/hda4 / ext3 notime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy ext2 noauto,ro 0 0
proc /proc proc defaults
now the floppy is fat so i emerged dosfstools.
now i dont know if thats setup right but
mount -t vfat /dev/fd0 /mnt/floppy just wont work at all
iam very new to gentoo
i also read from searching the forum about loading the floppy module but that hasnt turned up anything either _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sat Mar 01, 2003 7:47 pm Post subject: |
|
|
I suggest you to specify 'auto' as the fs for removable storage.
/dev/fd0 /mnt/floppy auto noauto,ro 0 0
If you try to mount it there are error messages?
btw. make sure that in your kernel configuration the support for your fs (in your case fat) is enabled. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Sat Mar 01, 2003 8:20 pm Post subject: |
|
|
right when i mount my gentoo boot disk i do
mount /dev/fd0 /mnt/floppy
and it mounted fine
i try the same for my fat floppy and i get
"mount: you must specify the filesystem type"
i try mount -t vfat /dev/fd0 /mnt/floppy
"mount: fs type vfat not supported by kernel"
so recompile to get that?
thanks for your help:) _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sat Mar 01, 2003 9:00 pm Post subject: |
|
|
d3c3it wrote: | right when i mount my gentoo boot disk i do
mount /dev/fd0 /mnt/floppy
and it mounted fine
i try the same for my fat floppy and i get
"mount: you must specify the filesystem type"
i try mount -t vfat /dev/fd0 /mnt/floppy
"mount: fs type vfat not supported by kernel"
so recompile to get that?
thanks for your help:) |
You can compile them as modules since you don't need them at boot. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Sun Mar 02, 2003 2:35 am Post subject: |
|
|
i did a recompile and included them and it did the trick thanks
sorry to ask but how to you compile invidual(sp) modules and load them
im practically a complete newbie *i can install and uninstall software thats about it and setup a linux system, to an extent:)*
thanks again _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
bsolar Bodhisattva
Joined: 12 Jan 2003 Posts: 2764
|
Posted: Sun Mar 02, 2003 2:43 am Post subject: |
|
|
d3c3it wrote: | i did a recompile and included them and it did the trick thanks
sorry to ask but how to you compile invidual(sp) modules and load them
im practically a complete newbie *i can install and uninstall software thats about it and setup a linux system, to an extent:)*
thanks again |
Some kernel options can be built also as modules pressing m instead of y. Reading the help you can see the module name and use it to load the module itself. I.e. lsmod shows the loaded modules. rmmod [module] unloads a loaded module. modprobe [module] loads the module.
But in your case the system should understand that it needs the module to mount vfat and should load it automatically when needed. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Sun Mar 02, 2003 1:03 pm Post subject: |
|
|
There might be an easier way, but when I want to add modules, here's the way I do it:
'cd' into /usr/src/linux, 'make menuconfig' (or xconfig or config) and add the modules that I need. Then do 'make dep && make modules'.
If you haven't added any non-standard modules that you don't want to overwrite, you can do 'make modules_install' and 'depmod -a'. Watch for any errors.
If you have modules you want to protect, you can manually copy the new ones from the kernel source directory into /lib/modules/[version]/kernel, maintaining the same directory structure. In this case, it would be [version]/kernel/fs/ containing fat, msdos and vfat directories with fat.o, msdos.o and vfat.o living in them. Then run depmod -a. They will auto-load when you mount something that needs them. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Wed Mar 19, 2003 7:49 pm Post subject: |
|
|
bsolar wrote: | d3c3it wrote: | right when i mount my gentoo boot disk i do
mount /dev/fd0 /mnt/floppy
and it mounted fine
i try the same for my fat floppy and i get
"mount: you must specify the filesystem type"
i try mount -t vfat /dev/fd0 /mnt/floppy
"mount: fs type vfat not supported by kernel"
so recompile to get that?
thanks for your help:) |
You can compile them as modules since you don't need them at boot. |
Hey
i just wanted to ask you something, for some reason i cant write to my floppy as either root or user account says its "read-only" and its not because ive copied files to it in windows, any idea on how to make it write able? would making the /mnt/floppy folder chmod 777 change it? _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Cappy Tux's lil' helper
Joined: 12 Mar 2003 Posts: 98
|
Posted: Thu Mar 20, 2003 6:51 am Post subject: |
|
|
Make sure you DON'T specify "ro" in fstab....it designates it as read only. Should be:
/dev/fd0 /mnt/floppy auto noauto 0 0
That will make it writeable.
Cap _________________ Windows??....Yeah, I know what that is....I use that to look out at the pretty blue screen.....ahhh....I mean sky. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Mar 20, 2003 11:42 am Post subject: |
|
|
Cappy wrote: | Make sure you DON'T specify "ro" in fstab....it designates it as read only. Should be:
/dev/fd0 /mnt/floppy auto noauto 0 0
That will make it writeable.
Cap |
Thanks that did the trick, cant believe i didnt think of that:) _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Cappy Tux's lil' helper
Joined: 12 Mar 2003 Posts: 98
|
Posted: Thu Mar 20, 2003 10:33 pm Post subject: |
|
|
Any time
Sometimes the obvious escapes even the best of us
Cap _________________ Windows??....Yeah, I know what that is....I use that to look out at the pretty blue screen.....ahhh....I mean sky. |
|
Back to top |
|
|
bleakcabal Guru
Joined: 10 Oct 2002 Posts: 301 Location: Montreal, Québec, Canada
|
Posted: Mon Mar 24, 2003 10:55 pm Post subject: |
|
|
My floppy also doesn't work and searching the forums brought me here.
I have copied
/dev/fd0 /mnt/floppy auto noauto 0 0
in my rc.conf
But I get this error message when I try to mount :
mount: /dev/fd0 is not a valid block device |
|
Back to top |
|
|
easykill Apprentice
Joined: 07 Dec 2002 Posts: 230
|
Posted: Mon Mar 24, 2003 11:38 pm Post subject: |
|
|
bleakcabal wrote: | My floppy also doesn't work and searching the forums brought me here.
I have copied
/dev/fd0 /mnt/floppy auto noauto 0 0
in my rc.conf
But I get this error message when I try to mount :
mount: /dev/fd0 is not a valid block device |
For starters, that line would go in your /etc/fstab, not /etc/rc.conf
then, to mount it, simply type
root@whateveryourhostis# mount /mnt/floppy
I think you can change the noauto in that line to noauto,user and then you don't need to be root to mount it. maybe you don't anyways. i haven't used a floppy drive in several years... |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Mon Mar 24, 2003 11:49 pm Post subject: |
|
|
bleakcabal wrote: | My floppy also doesn't work and searching the forums brought me here.
I have copied
/dev/fd0 /mnt/floppy auto noauto 0 0
in my rc.conf
But I get this error message when I try to mount :
mount: /dev/fd0 is not a valid block device |
mine in fstab is
Code: | /dev/fd0 /mnt/floppy auto noauto, users 0 0 |
users can then mount:) _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
bleakcabal Guru
Joined: 10 Oct 2002 Posts: 301 Location: Montreal, Québec, Canada
|
Posted: Tue Mar 25, 2003 12:03 am Post subject: |
|
|
Sorry my mistake it was in the fstab in the first place, I wrote this email in school and the files got mixed up in my head. |
|
Back to top |
|
|
Delirium n00b
Joined: 04 Jan 2003 Posts: 29 Location: Brisbane
|
Posted: Thu Jun 19, 2003 8:01 am Post subject: Mount Floppy not valid block device |
|
|
I have recently installed gentoo using the 1.4rc4 live basic cd from stage1. All has gone smoothly and I now have a base system that I can boot into and continue to build.
Before I do this I would like to make sure that all of my drives are working. I have a CDRW rive and DVD drive that I have configured to work after a little bit of trouble but my floppy drive is still coming up with the error:
/dev/fd0 is not a valid block device
I have checked through many posts in the forums and have come to nought but easy fixes that do nothing for my situation. My /etc/fstab looks as such:
/dev/hda5 /boot reiserfs noauto,noatime,notail 1 1
/dev/hda6 / reiserfs noauto 0 0
/dev/hdd1 /mnt/windows ntfs noatime,ro 0 0
/dev/swap none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro 0 0
/dev/sr0 /mnt/cdrw iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users,rw 0 0
I have tried many combinations in the fstab and none of these variations have fixed my problem.
It works in Windows XP and I have a gentoo boot floppy in the drive. In the /dev directory there is:
lr-xr-xr-x 1 root root 8 Jun 19 2003 /dev/fd0 -> floppy/0
My question is that if this file is broken or was not installed properly how do I get another copy of the /dev/fd0 file or /dev/floppy/0 to use instead?
I will continue with the install as I don't use a floppy disc much but it would be helpful for IT assignments to be able to use it to put small assignment files on. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Jun 19, 2003 5:20 pm Post subject: Re: Mount Floppy not valid block device |
|
|
Delirium wrote: | I have recently installed gentoo using the 1.4rc4 live basic cd from stage1. All has gone smoothly and I now have a base system that I can boot into and continue to build.
Before I do this I would like to make sure that all of my drives are working. I have a CDRW rive and DVD drive that I have configured to work after a little bit of trouble but my floppy drive is still coming up with the error:
/dev/fd0 is not a valid block device
I have checked through many posts in the forums and have come to nought but easy fixes that do nothing for my situation. My /etc/fstab looks as such:
/dev/hda5 /boot reiserfs noauto,noatime,notail 1 1
/dev/hda6 / reiserfs noauto 0 0
/dev/hdd1 /mnt/windows ntfs noatime,ro 0 0
/dev/swap none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro 0 0
/dev/sr0 /mnt/cdrw iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,users,rw 0 0
I have tried many combinations in the fstab and none of these variations have fixed my problem.
It works in Windows XP and I have a gentoo boot floppy in the drive. In the /dev directory there is:
lr-xr-xr-x 1 root root 8 Jun 19 2003 /dev/fd0 -> floppy/0
My question is that if this file is broken or was not installed properly how do I get another copy of the /dev/fd0 file or /dev/floppy/0 to use instead?
I will continue with the install as I don't use a floppy disc much but it would be helpful for IT assignments to be able to use it to put small assignment files on. |
everything looks ok, all i can think of is my line in fstab for the floppy now looks like the following *ive reinstalled since i posted this*
Code: | /dev/fd0 /mnt/floppy auto noauto,users 0 0 |
i noticed you had rw on it, ive never had that, i take it it means read/write, but iuve got my setup as the following and never a problem with it _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Delirium n00b
Joined: 04 Jan 2003 Posts: 29 Location: Brisbane
|
Posted: Mon Jun 23, 2003 7:14 am Post subject: Hardware |
|
|
After a week of ignoring the problem I decided to give it one more go and went for a search on the net with the output from the dmesg (or whatever it is). I found several posts of similar problems and the magority of them were for systems with an Asus P4TE motherboard, the same as mine. It appears that it is a hardware incompatibility with the present kernel or Grub or something. I will just have to wait for some new software untill my problem is fixed. Untill then I guess I can make do with K3b and a few CDrw's.
|
|
Back to top |
|
|
Squinky86 Retired Dev
Joined: 25 Mar 2003 Posts: 309 Location: Alabama, USA
|
Posted: Thu Jul 10, 2003 4:55 am Post subject: |
|
|
Ya, I have the ASUS P4T-E mobo, too. Sorry I didn't see this thread sooner, but the fix is simple:
compile the floppy support as a module, then make sure you have "floppy" in your modules.autoload.
Voila! It works great! _________________ Me |
|
Back to top |
|
|
Michal n00b
Joined: 04 Jul 2003 Posts: 27
|
Posted: Fri Jul 11, 2003 2:46 pm Post subject: |
|
|
I have recently installed gentoo on my laptop and the cdrom and floppy are removable drives. But whenever I try to mount my cdrom it gives me the following error:
Code: | mount: can't find cdrom in /etc/fstab or /etc/mtab |
My fstab file looks this:
Code: | /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro,users 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0 |
Does anyone know what I am doing wrong? I have never tried using my floppy so I'm not sure if that will mount.
Thanks |
|
Back to top |
|
|
|