PDA

View Full Version : detect/unpack file on vfat partition



ls_linux
05-11-2003, 09:01 PM
I' have a HD install of Knoppix V3.2.2 2003-4-28, but have to get yet the modem from the most imminent to work.

The modem driver is a *.tar.gz file that was donwloaded to a fat32 partition (=hda4 under Linux)

I'd like to unpack and install the driver, but am failing even to detect it under Linux (yes, it's there on a E:\).

find / -name [filename] searches, but finds nothing (*.tar.gz and similar tried, as well as ful filename) --does Knoppix/Debian2 have different syntax?? Mandrike that I tested before could find not this particular but another file.

mount /dev/hda4 /mnt/windows [have made the mkdir /mnt/windows already] --returns
mount: /dev/hda4 already mounted or /mnt/windows busy
mount: according to mtab, /dev/hda4 is already mounted on /mnt/windows

The QUESTION is simple, but has a multilevel answer, how to find/unpack the driver??

Thank you much for your help and enlightening me.

Stephen
05-11-2003, 10:15 PM
I' have a HD install of Knoppix V3.2.2 2003-4-28, but have to get yet the modem from the most imminent to work.

The modem driver is a *.tar.gz file that was donwloaded to a fat32 partition (=hda4 under Linux)

I'd like to unpack and install the driver, but am failing even to detect it under Linux (yes, it's there on a E:\).

find / -name [filename] searches, but finds nothing (*.tar.gz and similar tried, as well as ful filename) --does Knoppix/Debian2 have different syntax?? Mandrike that I tested before could find not this particular but another file.

mount /dev/hda4 /mnt/windows returns (something like) that access is not possible [have made the /mnt/windows dir already]

The QUESTION is simple, but has a multilevel answer, how to find/unpack the driver??

Thank you much for your help and enlightening me.

Try mount /dev/hda5 /mnt/windows you are trying to mount the extended partition itself not the logical drive like you should be doing.

ls_linux
05-12-2003, 10:04 AM
mount [i did it with the following, it shouldn't matter?]
mount -t vfat /dev/hda5 /mnt/windows Enter
hda5: bad access: block=0, count=1
end request: I/O error, dev03:05 (hda5). sector 0
FAT: unable to read boot sector
mount: wrong fs type, bad option, bad superblock on /dev/hda5. or too many mounted file systems (Could this be the IDE device where you in fact use ide scsi so that sr0 or sda or so is needed?)

Can someone please explian in plain English what is going on?

1. What is the syntax for find in Debian/Knoppix if different from find / -name [filename] ? If not different, why doesn't it work??, both speculations and more scientific answers appreciated (as long as you make it clear which is which :)
2. Why can't I mount the dev/hda4 or 5? I have no hda5, why the hda4/E: primary partition may be mounted as hda5 (logic)?
3. Do I really need to mount it in order to unpack/install? - any go around?

Thank you much!

PS: the printing stuff is also about there, it sends a test page to be printed and nothing prints/happens with any of the drivers in the Knoppix 3.2.2 package... What a pitty start. I don't want though to end up going back to Windows forever where I have no clue what the computer is doing, or have no choice but to accept it even if I know.. ;(

Stephen
05-12-2003, 05:52 PM
Could you post the output of fdisk -l /dev/hda and mount so I can see what the partitions look like and what is mounted.

The syntax for find is the same as any other linux it cannot find a file on a non-mounted file system there is no way to search for it.

ls_linux
05-13-2003, 09:39 AM
Here it goes, hope it shreds more light. THANKS FOR HELPING OUT!

[all performed as root]

fdisk -l dev/hda
Disk /dev/hda : 20GB, 20........bytes
255 heads, 63 sectors/tracks 2432 cylinders
Unit = cylinders of 16065 * 512 = 8225280


Device/dev/hda1 Boot * Start 1 End 1401 Blocks 11277598+ Id 7 System HPFS/NTFS
/dev/hda2 [nothing on boot] 1405 2003 4811467+ 83 Linux
/dev/hda3 [nothing on boot] 2004 2127 996030 82 Linux swap
/dev/hda4 [nothing on boot] 2128 2432 2449912+ c Win95 FAT32 (lba)

mount
disk /dev/hda2 on / type ext2 (rw, errors= remount-ro)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw, gid=5, mode=620)

garyng
05-13-2003, 11:14 AM
what about "ls /mnt/windows" ? does it give you anything.

what is the output of "cat /proc/mounts" ?

Dave_Bechtel
05-13-2003, 10:24 PM
--Note that he has an NTFS partition as C: - it might be confusing Linux...


Here it goes, hope it shreds more light. THANKS FOR HELPING OUT!

[all performed as root]

fdisk -l dev/hda
Disk /dev/hda : 20GB, 20........bytes
255 heads, 63 sectors/tracks 2432 cylinders
Unit = cylinders of 16065 * 512 = 8225280


Device/dev/hda1 Boot * Start 1 End 1401 Blocks 11277598+ Id 7 System HPFS/NTFS
/dev/hda2 [nothing on boot] 1405 2003 4811467+ 83 Linux
/dev/hda3 [nothing on boot] 2004 2127 996030 82 Linux swap
/dev/hda4 [nothing on boot] 2128 2432 2449912+ c Win95 FAT32 (lba)

mount
disk /dev/hda2 on / type ext2 (rw, errors= remount-ro)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw, gid=5, mode=620)

ls_linux
05-14-2003, 04:35 AM
> "ls /mnt/windows" nothing, returns the promt.

>what is the output of "cat /proc/mounts" ?
rootfs / rootfs rw 00
/dev/root /ext2 rw 00
none /proc proc rw 00
devpts /dev/pts devpts rw 00

>--Note that he has an NTFS partition as C: - it might be confusing Linux
It might be managing a NTFS partition, I had a Mandrike before that could find and open a file on the NTFS partition.
This particular file I'm struggling with is on the FAT32 partition, though to avoid any confussion.