LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Making a FAT32 FS (https://www.linuxquestions.org/questions/slackware-14/making-a-fat32-fs-220655/)

linuxnubx 08-21-2004 03:58 PM

Making a FAT32 FS
 
I was wondering how I can make a FAT32 filesystem under slackware for my external hdd. Using fdisk, I changed the partition to "win95 fat32." There's also a "win95 fat32 (lba);" what are the differences between these two? My ext hdd was labeled ntfs prior to the change. When I go to make the fat32 fs, it doesn't work.

The command I use is "mkfs -t fat32 /dev/sda." But the output I get is "mkfs.fat32: No such file or directory."

Tinkster 08-21-2004 04:39 PM

the LBA thing is for extended partitions (so you
can have win read logical drives in an extended
partition). The tool to use for formatting it is
mkdosfs
man mkdosfs for details

It appears that your external HDD is not being
picked up as sda. Have a look at /proc/scsi/scsi.

You also don't want to format the raw-device but
a partition in it /dev/sd<a-z><1-9>


Cheers,
Tink

linuxnubx 08-21-2004 04:46 PM

Thanks, it's working now.

linuxnubx 08-21-2004 05:22 PM

Okay, maybe not all is working fine. It won't let me mount saying that "mount: fs type fat32 not supported by kernel." I made sure to check off support for msdos fs and vfat in my .config, but it still doesn't want to mount.

linuxnubx 08-21-2004 06:44 PM

I tried changing my fstab... It doesn't seem to work... When I type in mount /dev/sda1, it gives me the error

Code:

mount point /st3 does not exist
Here is the sda1 line from fstab:

Code:

/dev/sda1        /st3            vfat        defaults          1  0

Mephisto 08-21-2004 06:57 PM

Quote:

Originally posted by linuxnubx
Okay, maybe not all is working fine. It won't let me mount saying that "mount: fs type fat32 not supported by kernel." I made sure to check off support for msdos fs and vfat in my .config, but it still doesn't want to mount.
You checked it off but did you compile the kernel? If you compiled, did you include vfat as a module or build it in? If as a module is the module loaded? Sorry if the answers are obvious.

linuxnubx 08-21-2004 07:12 PM

Yeah, they're built as modules; how do I check if they were loaded? Anyways, I think under fstab, it should be considered "fat32" in the first place, but "vfat" instead. So I changed it to vfat. Ok, one problem after another... I did mkdir /st3, then mount /dev/sda1, but get!!!

Code:

mount: special device /dev/sda1 does not exist
instead of

Code:

mount point /st3 does not exist
Seriously, as soon as I fix one problem, another one appears.

linuxnubx 08-21-2004 07:22 PM

Ok, so I figured out that my sda1 partition somehow just dissappeared, AGAIN. So I had to remake it blah blah blah... Then I had to mkdosfs -F 32 /dev/sda1... But now, of course, I get a different problem...

Code:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
      or too many mounted file systems


linuxnubx 08-21-2004 07:28 PM

Nice, I got it to work using ext2 fs; now it's time to try to get it working with fat32.

linuxnubx 08-21-2004 09:27 PM

Wow, still no luck with the fat32.... Can someone tell me where I went wrong? Does this code below look good or is it off?

Code:

root@gHost:/home/jgo# mkdosfs -v -F 32 /dev/sda1
mkdosfs 2.10 (22 Sep 2003)
/dev/sda1 has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 312576642 sectors;
file system has 2 32-bit FATs and 32 sectors per cluster.
FAT size is 76276 sectors, and provides 9763251 clusters.
Volume ID is 41280413, no volume label.
root@gHost:/home/jgo#


WMD 08-21-2004 10:07 PM

That worked fine! :)

Oh yeah: modprobe vfat is what you're looking for. ;)

linuxnubx 08-21-2004 10:56 PM

Ok, I typed in modprobe vfat, and got fatal error. This was when vfat was not built as module, so I built it as a module, and now it doesn't give me anything. I just type in modprobe vfat, and it doesn't appear to do anything. What does modprobe do? Anyways, I checked on my Windows XP, and it doesn't detect the FAT32 either, so something has to be wrong. I still get the error

Code:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
      or too many mounted file systems

Whenever I try to mount /dev/sda1... What's up?

Tinkster 08-21-2004 11:06 PM

Quote:

Originally posted by linuxnubx
Ok, I typed in modprobe vfat, and got fatal error. This was when vfat was not built as module, so I built it as a module, and now it doesn't give me anything.
A great number of Unix/Linux tools work like that
and only give you feed-back if something fails.

Quote:

I just type in modprobe vfat, and it doesn't appear to do anything. What does modprobe do?
Probes loading a module, and if successful, is
happy with that :)

Quote:

Anyways, I checked on my Windows XP, and it doesn't detect the FAT32 either, so something has to be wrong. I still get the error

Code:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
      or too many mounted file systems

Whenever I try to mount /dev/sda1... What's up?
What is the actual line you're using to mount, did
you make a fstab entry that differs from what you're
typing on the command-line?

What's the output of
mount
cat /etc/fstab
lsmod


Cheers,
Tink

WMD 08-21-2004 11:11 PM

Well...if you have Windoze XP, just format the drive with that. It'll let you select FAT32.

linuxnubx 08-21-2004 11:15 PM

Oops, my windows xp does detect the fat32, but only with firewire connection, not usb (strange)...

Okay so out put for mount:
Code:

/dev/hda7 on / type ext2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/hda5 on /boot type ext2 (rw)
/dev/hda8 on /home type ext2 (rw)
/dev/hda1 on /xp type ntfs (ro)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)

cat /etc/fstab:
Code:

/dev/hda6        swap            swap        defaults          0  0
/dev/hda7        /                ext2        defaults          1  1
/dev/hda5        /boot            ext2        defaults          1  2
/dev/hda8        /home            ext2        defaults          1  2
/dev/hda1        /xp              ntfs        ro                1  0
/dev/sda1        /st3            vfat        noauto,user,ro    0  0
/dev/cdrom      /mnt/cdrom      iso9660    noauto,user,ro    0  0
devpts          /dev/pts        devpts      gid=5,mode=620    0  0
proc            /proc            proc        defaults          0  0

and lsmod:
Code:

Module                  Size  Used by
nls_cp437              5760  0
vfat                  12544  0
fat                    40224  1 vfat
snd_pcm_oss            48680  0
snd_mixer_oss          17408  3 snd_pcm_oss
ipv6                  245764  10
sbp2                  22024  1
intel_mch_agp          8208  1
uhci_hcd              29328  0
ehci_hcd              25732  0
snd_intel8x0          29576  3
snd_ac97_codec        64516  1 snd_intel8x0
snd_pcm                84228  2 snd_pcm_oss,snd_intel8x0
snd_timer              22148  1 snd_pcm
snd_page_alloc          9224  2 snd_intel8x0,snd_pcm
snd_mpu401_uart        6656  1 snd_intel8x0
snd_rawmidi            20772  1 snd_mpu401_uart
snd_seq_device          6792  1 snd_rawmidi
snd                    45156  11 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              7776  3 snd
ohci1394              31876  0
ieee1394              93368  2 sbp2,ohci1394
ntfs                  131444  1
agpgart                28076  1 intel_mch_agp


linuxnubx 08-21-2004 11:17 PM

Quote:

Originally posted by WMD
Well...if you have Windoze XP, just format the drive with that. It'll let you select FAT32.
Oh you mean from boot? Lol, I thought of that a while ago, but I can't seem to find my windows xp cd.....

Tinkster 08-21-2004 11:24 PM

Quote:

Originally posted by linuxnubx
and lsmod:
Code:

Module                  Size  Used by
nls_cp437              5760  0
vfat                  12544  0
fat                    40224  1 vfat
snd_pcm_oss            48680  0
snd_mixer_oss          17408  3 snd_pcm_oss
ipv6                  245764  10
sbp2                  22024  1
intel_mch_agp          8208  1
uhci_hcd              29328  0
ehci_hcd              25732  0
snd_intel8x0          29576  3
snd_ac97_codec        64516  1 snd_intel8x0
snd_pcm                84228  2 snd_pcm_oss,snd_intel8x0
snd_timer              22148  1 snd_pcm
snd_page_alloc          9224  2 snd_intel8x0,snd_pcm
snd_mpu401_uart        6656  1 snd_intel8x0
snd_rawmidi            20772  1 snd_mpu401_uart
snd_seq_device          6792  1 snd_rawmidi
snd                    45156  11 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              7776  3 snd
ohci1394              31876  0
ieee1394              93368  2 sbp2,ohci1394
ntfs                  131444  1
agpgart                28076  1 intel_mch_agp

[/B]
Looking at that output ...

You sure that it's being picked up as sda1? There's no
sign of usb-storage or the commonly necessary scsi-
modules ... I'm quite confused. Or is all that stuff compiled
into your kernel? And if so, why is half the other USB
stuff not? :)

Cheers,
Tink

linuxnubx 08-21-2004 11:38 PM

Shouldn't be detected as /dev/sda1? I wouldn't be able to do mkdosfs -F 32 /dev/sda1 successfully if it wasn't detecting as sda1 right?

Code:

ieee1394              93368  2 sbp2,ohci1394
I'm using firewire at the moment. That should be it right there.

The FAT32 really is detected under Windows XP, just for some reason, does not want to mount at all under Linux.

It still gives me:
Code:

root@gHost:~# mount /dev/sda1
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
      or too many mounted file systems


Tinkster 08-21-2004 11:43 PM

I have NO experience with firewire devices. I have
had lots of dealings with usb, though. And I can say
that a usb hdd won't do anything if the scsi-bits
and usb-storage isn't loaded.

Can you post the output of dmesg?


Cheers,
Tink

linuxnubx 08-21-2004 11:49 PM

dmesg:
Code:

root@gHost:~# dmesg
cket received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
ieee1394: unsolicited response packet received - no tlabel match
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
NTFS-fs warning (device hda1): ntfs_fill_super(): Atime updates are not implemen ted yet.  Disabling them.
Unable to load NLS charset utf8
NTFS volume version 3.1.

Looks like I've got some problems, but this might help me find out how to fix it.

Tinkster 08-21-2004 11:53 PM

Doesn't look too happy, indeed. Are using
Pat's kernel, or did you roll one yourself?


Cheers,
Tink

linuxnubx 08-22-2004 12:24 AM

I'm using con kolivas. In the kernel options for VFAT FS Support there are two options

1) (437) Default codpage for FAT
2) Default IO charset for FAT: iso8859-1

What values should replace the 437 and the iso8859-1? Those are the default values given...

linuxnubx 08-22-2004 02:04 AM

Fixed!!! I reinstalled Slack 10, so now I'm using kernel version 2.4.26... It was the 2.6.8.1 ck3 kernel... Well anyways, I noticed that

1) (437) Default codpage for FAT
2) Default IO charset for FAT: iso8859-1

options were not in the menuconfig, so it has to be those options that are messing everything up. You guys know how to work this?

linuxnubx 08-22-2004 02:16 AM

OK. This is getting extremely ANNOYING. Now that my external hdd is working, I can't copy files onto it WTF. And the error this time is!!!

"The destination disk is read-only."

Amazing... Really, just fcuking great... How do I allow WRITE enabled on my FAT32??? Man, what the fcuk do I have to do to get this shiet going? It says WRITE is enabled under permissons, so WTF. I can't even change the options under permissions because "Couldn't change the permissions of "fat32" because it is on a read-only disk."

major.tom 08-22-2004 02:20 AM

I don't know for sure, but this link might help. It was great for teaching me to create Fat32 ZIP disks that I could read from my windoze machine. I believe it tells how to create Fat16, but it's only one small change in step 3 (hit L and it will list the correct code for Fat32). (oh, and don't use partition 4 -- that is specific to ZIP disks)

http://docs.cs.byu.edu/docs/ziplinux/1.php

Good luck,

Garry

Tinkster 08-22-2004 03:34 AM

Quote:

Originally posted by linuxnubx
OK. This is getting extremely ANNOYING. Now that my external hdd is working, I can't copy files onto it WTF. And the error this time is!!!

"The destination disk is read-only."

Amazing... Really, just fcuking great... How do I allow WRITE enabled on my FAT32??? Man, what the fcuk do I have to do to get this shiet going? It says WRITE is enabled under permissons, so WTF. I can't even change the options under permissions because "Couldn't change the permissions of "fat32" because it is on a read-only disk."
And again the output of
mount
and knowledge of your fstab and the commandline you're
using to mount it would be helpful in diagnosing the problem.

If you just want to vent go talk at a parking meter.



Cheers,
Tink

linuxnubx 08-22-2004 03:42 AM

Sorry about that. Anyways, I don't know what happened... But it works now... shiet.

linuxnubx 08-22-2004 01:20 PM

Okay, a bit of the same trouble. It was working fine in 2.4.26, but when I moved back up to the 2.6.8.1 ck3, it doesn't work anymore and gives me:

Code:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,
      or too many mounted file systems

I'm thinking it has to do with those two extra options that are now included with the new kernel:

1) (437) Default codpage for FAT
2) Default IO charset for FAT: iso8859-1

Anybody know what values I should use for these two kernel options? The default ones don't seem to work... Or maybe the problem is coming from elsewhere, but I do know that moving from 2.4.26 to 2.6.8.1 ck3 creates the problem.

Cedrik 08-22-2004 01:41 PM

Assuming your kernel source directory is in /usr/src, what is your output for :

cat /usr/src/linux-2.6.8.1/.config | grep -i fat

linuxnubx 08-22-2004 01:47 PM

Quote:

Originally posted by Cedrik
Assuming your kernel source directory is in /usr/src, what is your output for :

cat /usr/src/linux-2.6.8.1/.config | grep -i fat

Code:

# CONFIG_X86_MCE_NONFATAL is not set
# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

These are the two new options that come with 2.6.8.1... And I think they might be messing up my fat32 access. I can't turn them off; I can only change the values.

linuxnubx 08-22-2004 02:04 PM

Updated to 2.6.7 kernel, and FAT32 works on that kernel as well. So 2.4.26 and 2.6.7 kernels work, but not the 2.6.8.1.

Tinkster 08-22-2004 02:09 PM

Which once again proves that 2.6 is in a
rather early state of its life-cycle ;)


Cheers,
Tink


All times are GMT -5. The time now is 01:16 PM.