LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2002, 06:41 PM   #1
snow
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 7.1
Posts: 22

Rep: Reputation: 15
mounting fat32


alright, I have a bunch of iso's on a fat partition

how can I mount a fat32 partition it's a second hard drive, so I think it's hdb. I've tried:

"mount hdb" and "mount hdb1"

I'm not sure if it's the bash syntax I've got wrong or I dont' have a package installed to read a fat partition

this is RedHat 7.1, and it's just a basic install

thanx

nate
 
Old 12-23-2002, 06:43 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
first run this and see the name of it

Code:
fdisk -l
then create a place to mount the partition

Code:
mkdir /mnt/fat32
then mount it

Code:
mount /dev/hdb? /mnt/fat32
 
Old 12-23-2002, 11:26 PM   #3
snow
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 7.1
Posts: 22

Original Poster
Rep: Reputation: 15
first off, that worked-- but part of it did, so read on if you've got time

I couldn't get fdisk to work for some reason, so I just made a partition and mounted hdb, I might have tried hdb1 too, I dont' remember

either way it worked, I'm not sure if I got the syntax wrong on fdisk, but that might be something I'd need to use in the future--

I dont' know it just kept saying that it couldn't find the command. I coudl get a man page explaining it but it wouldn't recognize fdisk.

oh well, I'm gonna check the consistancy of the my rh8 iso's now,

thank you
 
Old 12-24-2002, 03:20 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Hey David, sound familiar

Snow, you have to be root to run fdisk, just an fyi

Cool
 
Old 12-24-2002, 03:35 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
yep, it seems like there's a lot of that these days.

snow try this before you use fdisk

Code:
su -
 
Old 12-24-2002, 05:23 AM   #6
snow
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 7.1
Posts: 22

Original Poster
Rep: Reputation: 15
I'll try it again after I've had a few hours sleep, but I'm pretty sure I was root. it wouldn't let me mount hdb1 to /mnt/fat32 unless I was.

oh well... <shrugs>
 
Old 12-24-2002, 05:37 AM   #7
snow
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 7.1
Posts: 22

Original Poster
Rep: Reputation: 15
nope, doesn't work under root.

<shrugs and rolls into bed>
 
Old 12-24-2002, 06:27 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
that's the second problem this week with no fdisk

Really strange.

It must be one of the install options that leaves it off.
 
Old 12-24-2002, 01:28 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The wierd thing is that it's 2 different version though David. This is 7.1, the other was RH 8.0 I would think it'd be almost an ultra base package, that just installing the "bare bones" would include fdisk.

Snow, look through your RPM's on your install discs and see if you can locate an RPM for fdisk and then install it. Easiest way I can think of is to be in the directory containing all the RPM's and then type:
find | grep fdisk
Then to install:
rpm -Ivh filename.rpm

There's probably something better than that, but I am stuck on using grep for everything

Cool
 
Old 12-24-2002, 03:16 PM   #10
snow
LQ Newbie
 
Registered: Dec 2002
Distribution: RedHat 7.1
Posts: 22

Original Poster
Rep: Reputation: 15
thanx, I'm gonna make sure I've got that on here when I put on 8.0. I don't know where RH puts that file-- if it's in /usr/bin or /bin, but I was doing something a couple weeks ago in win2k and I wiped the /boot partition that RH sets up-- I think it's a specialty partition or something because I haven't had any other problems-- except this. maybe it was in there? I dont know

what I do know is that I'm checking the md5sums and in 20 minutes I'll have install disc 2 and I can just wipe both of these installs...

thanx for your help.

btw, how many contributors do you guys have? I mean, David's replied to most of my posts in both hardware and software. hehe

maybe I'll learn a bit more and help you guys field the "dumb" questions-- dumb is so relative though. Oh well.

thanx again.

Nate
 
Old 12-25-2002, 12:02 AM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
We stay pretty busy, just depends on who's on at the time.

I look at the posts with zero replies quite a bit, so if yours hit's the top ten it should get some response.
 
Old 12-29-2002, 03:50 AM   #12
ElegantFire
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 3

Rep: Reputation: 0
Question

Hello!
My question is similar, so I'm posting it here instead of starting a new thread...hope that's okay.

I have two hard drives installed on my computer, one dedicated to Linux (RH 8.0) and the other to windows XP. The windows drive has two partitions on it: One with the operating system and another I want to use for files shared between the two OS's. I can mount the first partition (hdb1) just fine, but I can't seem to mount the other (hdb5). The one that doesn't work is an extended partition that I created with fdisk when I first formatted the drive and installed windows XP.

I get this error when I try to mount it:
[root@localhost shared]# mount -t vfat /dev/hdb5 /mnt/shared
mount: wrong fs type, bad option, bad superblock on /dev/hdb5,
or too many mounted file systems

I'm pretty sure the type is right and that I didn't give it a wrong option. Not sure what bad superblock means, and I'm not sure how many is "too many" mounted file systems (I have about 6).

Running 'fdisk /dev/hdb' then 'p' gives me:
Disk /dev/hdb: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4179 33567786 c Win95 FAT32 (LBA)
/dev/hdb2 4180 9729 44580375 f Win95 Ext'd (LBA)
/dev/hdb5 4180 9729 44580343+ b Win95 FAT32

Any assistance you can give would be greatly appreciated. This has been frustrating me for quite a bit now

~Julie
 
Old 12-29-2002, 08:49 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So I am thinking it's already mounted. Try typing:
mount

This will display what is already mounted. If it is, you can umount it and then mount it wherever you desire. To make the changed permanent you'd have to edit your /etc/fstab to change the mount point.

Cool
 
Old 12-29-2002, 02:45 PM   #14
ElegantFire
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat 8.0
Posts: 3

Rep: Reputation: 0
Thanks for your reply, but that doesn't seem to be the problem. Executing 'mount' gives me:

/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/hdb1 on /mnt/winXP type vfat (rw)

I'm wondering if something went awry in my partitioning. Is there a way to repartition without destroying the contents of the windows drive (without having to purchase software like Partition Magic)? or even better, any other suggestions on why the partition isn't mounting?

~Julie
 
Old 12-29-2002, 03:03 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Is it possible to copy the data to your C drive in windows and recreate the partition
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting fat32 gachejad Fedora 2 09-30-2005 11:33 AM
Mounting FAT32 Proxy Hoar Linux - Newbie 7 11-22-2004 08:38 PM
mounting fat32 wellblue88 Linux - Hardware 3 05-28-2004 01:05 PM
mounting fat32 jedavies123 Linux - General 1 11-03-2003 09:25 PM
mounting FAT32? FaLLeNSouL Linux - Newbie 2 03-28-2003 05:20 AM


All times are GMT -5. The time now is 09:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration