LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-12-2004, 09:01 PM   #1
MadSkillzMan
Member
 
Registered: Jul 2004
Distribution: SuSE, Mandrake
Posts: 142

Rep: Reputation: 15
cant see my fat32 drives?


simple as that. I have 2 fat32 drives in my PC and debian doesnt show em. during install it saw em as Hda1 and hdb1, but when i try to browse or create a shortcut to it, doesnt give me the option of those drives.
 
Old 07-12-2004, 09:57 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Post your /etc/fstab file.
 
Old 07-12-2004, 10:15 PM   #3
MadSkillzMan
Member
 
Registered: Jul 2004
Distribution: SuSE, Mandrake
Posts: 142

Original Poster
Rep: Reputation: 15
duh wheres my brain tonite.

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc2 / ext3 errors=remount-ro 0 1
/dev/hdc1 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
 
Old 07-12-2004, 10:16 PM   #4
MadSkillzMan
Member
 
Registered: Jul 2004
Distribution: SuSE, Mandrake
Posts: 142

Original Poster
Rep: Reputation: 15
ok yea needs to be added here, but how? oh yea, i cant access the CDROM. Old problem i had with knoppix when i installed it...

i get

Could not mount the device:

mount; /dev/cdrom is not a block device.

i added a folder cdrom to /dev and a cdrom folder to /mnt. My shortcut points to the CDROM drive...

Ive had this before, maybe its time i LEARN TO SOLVE IT

Last edited by MadSkillzMan; 07-12-2004 at 10:32 PM.
 
Old 07-12-2004, 11:32 PM   #5
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
For the fat32 problem.

The kernel needs to support fat32, either via a module or built into the kernel. Try running 'modprobe vfat' if it is successful, then you can mount the drive with 'mount /dev/hda1 /your/mountpoint -t vfat'. You can figure out fstab later.

As for the cdrom.

/dev/cdrom is just a link to /dev/hd?. I am assuming this is an IDE cdrom.

/dev/hda = primary,master
/dev/hdb = primary, slave
/dev/hdc = secondary,master
/dev/hdd = secondary,slave

Figure out which device is your cdrom and mount it using that device name. 'mount /dev/hdc /cdrom '. You can run 'ls -l /dev/cdrom | tail -c 4'. This will tell you what device /dev/cdrom is linked to, so you can make sure it is correct.

Thomas
 
Old 07-12-2004, 11:53 PM   #6
MadSkillzMan
Member
 
Registered: Jul 2004
Distribution: SuSE, Mandrake
Posts: 142

Original Poster
Rep: Reputation: 15
its setup as HDb, and that sitll didnt work...

also modprobe vfat was unsuccessful. Cant locate module.
 
Old 07-13-2004, 08:32 AM   #7
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
# mkdir /mnt/cdrom

edit /etc/fstab and change

/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0

to

/dev/hdb /mnt/cdrom iso9660 ro,user,noauto 0 0
 
Old 07-13-2004, 01:18 PM   #8
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
If you had this before on other distros, I'd suspect a hardware problem with the ide bus. Reboot and right after words run:

$ dmesg

That will give you a verbose output of all your boot messages. Pay attention to the ones identifying anything on the ide bus, in particular ide1 which is where your undetected devices are(hda and hdb).

You can also try running as root:

# fdisk -l

That should print a listing of all hard drive partitions on the ide bus recognized by the system whether they're mounted or not. If it's not listed with fdisk -l, the system is not detecting it and no amount of fooling around ith fstab will fix it.

Things to check and do:
1. Check that all your ide devices are properly recognized in your bios setup;
2. Check your jumpering on all your ide devices;
3. Check your cabling on all ide devices by swapping the hard drive cables around. If you get a different undected devices when swapping the hdc cable with the hda cable, it's probably a bad cable;
4. Try moving an undetected hard drive to hdd(i.e. slave it to your hard drive on hdc) and see if it's recognized with fdisk -l;
5. Try disconnecting your cdrom on hdb and then reboot and run fdisk -l to see if the hda partitions are recognized. A faulty cdrom can disable everything on the ide channel with it(i.e. hda hard drive);
6. Make sure that plug 'n play is disabled in your bios setup.

I suspect a faulty or misjumpered cdrom drive(5) the most since you've had this problem before. I'd try 5 first after checking the ide devices in your bios setup.
 
Old 07-13-2004, 03:01 PM   #9
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
Are you logged in as root when you mount the cdrom? Try it as root.
 
Old 11-09-2004, 04:32 AM   #10
daveb673
LQ Newbie
 
Registered: Mar 2004
Location: Misawa, Japan
Distribution: SUSE 8.0
Posts: 12

Rep: Reputation: 0
MadSkillzMan, were you able to access your CDROM drive? If you are using SUSE 8.0, you can go to http://portal.suse.com/sdb/en/2001/0...e_brenner.html for some help, if you don't already have scsi emulation working... However, after I followed this, I still couldn't read the CD. As root, I checked dmesg at the console and discovered my CDROM drive was listed as sr0, not scd0. I updated the symbolic link for CDROM, and it works now! Hope this is helpful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot write to FAT32 drives properly tharsan Linux - Hardware 2 02-22-2005 08:46 PM
Fat32 and NTFS drives on FC1 Vectrox Fedora 11 05-04-2004 01:40 PM
mounting drives--fat32 varunk123456 Linux - Newbie 8 03-31-2004 01:20 PM
Using FAT32 drives in RedHat php Linux - General 2 03-07-2002 09:22 PM
mounting FAT32 drives bbenz3 Linux - General 6 03-05-2002 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration