public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-13 23:29 [gentoo-user] Can't mount a fat32 partition aabb
@ 2005-07-13 22:39 ` Colin
  2005-07-13 22:49   ` Wade Brown
  2005-07-13 22:52   ` Renat Golubchyk
  2005-07-14  6:09 ` Mariusz Pękala
  1 sibling, 2 replies; 9+ messages in thread
From: Colin @ 2005-07-13 22:39 UTC (permalink / raw
  To: gentoo-user

aabb wrote:

>Hi,
>
>Here's a strange one...
>
>I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
>"c" (fat32 LBA) during my gentoo installation, using fdisk. The entries
>in /etc/fstab are almost identical:
>
>/dev/hda1    /mnt/win_c    vfat    umask=0,noexec      0 0
>/dev/hda5    /mnt/win_d    vfat    umask=0,noexec      0 0
>
Any of the mask entries correspond to octal permission;  therefore, they 
need to be three-digit numbers.  I recommend 022 (rwxr-xr-x), but I 
assume you want 000 (rwxrwxrwx).  Don't forget to set uid and gid or 
else only root will have access to the files!

--
Colin

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-13 22:39 ` Colin
@ 2005-07-13 22:49   ` Wade Brown
  2005-07-13 22:52   ` Renat Golubchyk
  1 sibling, 0 replies; 9+ messages in thread
From: Wade Brown @ 2005-07-13 22:49 UTC (permalink / raw
  To: gentoo-user

That doesn't seem to address the issue as mounting by hand still spits
out errors relative to partition problems.  What's the output of
"fdisk -l /dev/hda"?

On 7/13/05, Colin <signofzeta@gmail.com> wrote:
> aabb wrote:
> 
> >Hi,
> >
> >Here's a strange one...
> >
> >I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
> >"c" (fat32 LBA) during my gentoo installation, using fdisk. The entries
> >in /etc/fstab are almost identical:
> >
> >/dev/hda1    /mnt/win_c    vfat    umask=0,noexec      0 0
> >/dev/hda5    /mnt/win_d    vfat    umask=0,noexec      0 0
> >
> Any of the mask entries correspond to octal permission;  therefore, they
> need to be three-digit numbers.  I recommend 022 (rwxr-xr-x), but I
> assume you want 000 (rwxrwxrwx).  Don't forget to set uid and gid or
> else only root will have access to the files!
> 
> --
> Colin
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-13 22:39 ` Colin
  2005-07-13 22:49   ` Wade Brown
@ 2005-07-13 22:52   ` Renat Golubchyk
  2005-07-14  0:30     ` aabb
  1 sibling, 1 reply; 9+ messages in thread
From: Renat Golubchyk @ 2005-07-13 22:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

On Wed, 13 Jul 2005 18:39:38 -0400 Colin <signofzeta@gmail.com> wrote:
> aabb wrote:
> >Here's a strange one...
> >
> >I use 2 partitions for Windows 98, hda1 and hda5. I set both up as
> >type "c" (fat32 LBA) during my gentoo installation, using fdisk. The
> >entries in /etc/fstab are almost identical:
> >
> >/dev/hda1    /mnt/win_c    vfat    umask=0,noexec      0 0
> >/dev/hda5    /mnt/win_d    vfat    umask=0,noexec      0 0

What's the output of "fdisk -l /dev/hda"?
BTW, I use "noauto,noexec,user,fmask=0133" as options in fstab for vfat
partitions.

> Any of the mask entries correspond to octal permission;  therefore,
> they  need to be three-digit numbers.  I recommend 022 (rwxr-xr-x),
> but I  assume you want 000 (rwxrwxrwx).  Don't forget to set uid and
> gid or  else only root will have access to the files!

I set file mask to fmask=0133 on vfat partitions, because files on
windows partitions don't need the executable bit. It only annoys me when
Midnight Commander tries to execute them after I press ENTER.

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise lösen,
durch die sie entstanden sind.
                                              (Einstein)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Can't mount a fat32 partition
@ 2005-07-13 23:29 aabb
  2005-07-13 22:39 ` Colin
  2005-07-14  6:09 ` Mariusz Pękala
  0 siblings, 2 replies; 9+ messages in thread
From: aabb @ 2005-07-13 23:29 UTC (permalink / raw
  To: gentoo-user

Hi,

Here's a strange one...

I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
"c" (fat32 LBA) during my gentoo installation, using fdisk. The entries
in /etc/fstab are almost identical:

/dev/hda1    /mnt/win_c    vfat    umask=0,noexec      0 0
/dev/hda5    /mnt/win_d    vfat    umask=0,noexec      0 0

Yet hda1 mounts with no problems, whereas hda5 doesn't. If I execute
"mount /mnt/win_d" I get the error:

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

I tried various combinations (such as "mount -t vfat /dev/hda5
/mnt/win_d") and always get the same error. The only differences between
the 2 partitions that I can think of are:

(a) hda1 is primary whereas hda5 is logical
(b) hda5 is larger than hda1 (20 Gb and 15 Gb, respectively)
(c) hda1 is set as the boot partition in fdisk.

If I type the above error in Google I get many hits, but nothing helped.
Any ideas?

Thanks.
Alex
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-13 22:52   ` Renat Golubchyk
@ 2005-07-14  0:30     ` aabb
  2005-07-14  6:28       ` Richard Fish
  0 siblings, 1 reply; 9+ messages in thread
From: aabb @ 2005-07-14  0:30 UTC (permalink / raw
  To: gentoo-user

Thanks for all replies so far.

>What's the output of "fdisk -l /dev/hda"?
>  
>
Output from "fdisk -l /dev/hda":

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1794    14410273+   c  W95 FAT32 (LBA)
/dev/hda2            1795        1800       48195   83  Linux
/dev/hda3            1801       19457   141829852+   5  Extended
/dev/hda5            1801        4200    19277968+   c  W95 FAT32 (LBA)
/dev/hda6            4201        7100    23294218+  83  Linux
/dev/hda7            7101        7190      722893+  82  Linux swap / Solaris
/dev/hda8            7191       19457    98534646   83  Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-13 23:29 [gentoo-user] Can't mount a fat32 partition aabb
  2005-07-13 22:39 ` Colin
@ 2005-07-14  6:09 ` Mariusz Pękala
  2005-07-14 11:10   ` [gentoo-user] OpenOffice / localisation Uwe Thiem
  1 sibling, 1 reply; 9+ messages in thread
From: Mariusz Pękala @ 2005-07-14  6:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

On 2005-07-13 23:29:56 +0000 (Wed, Jul), aabb wrote:
> I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
> "c" (fat32 LBA) during my gentoo installation, using fdisk. The entries
> in /etc/fstab are almost identical:
> 
> /dev/hda1    /mnt/win_c    vfat    umask=0,noexec      0 0
> /dev/hda5    /mnt/win_d    vfat    umask=0,noexec      0 0
> 
> Yet hda1 mounts with no problems, whereas hda5 doesn't. If I execute
> "mount /mnt/win_d" I get the error:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/hda5,
>        or too many mounted file systems
> 
> I tried various combinations (such as "mount -t vfat /dev/hda5
> /mnt/win_d") and always get the same error. The only differences between
> the 2 partitions that I can think of are:
> 

Check any messages in dmesg output and your syslog file
(/var/log/messages or /var/log/everything/current) after you try to
mount /dev/hda5.

Usually the winner is the lack of necessary encoding in kernel:
File Systems -> Native Language Support -> ...

I assume that /dev/hda5 _HAS_ proper FAT filesystem on it.. ;-)

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-14  0:30     ` aabb
@ 2005-07-14  6:28       ` Richard Fish
  2005-07-15  2:06         ` aabb
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Fish @ 2005-07-14  6:28 UTC (permalink / raw
  To: gentoo-user

aabb wrote:

>Thanks for all replies so far.
>
>  
>
>>What's the output of "fdisk -l /dev/hda"?
>> 
>>
>>    
>>
>Output from "fdisk -l /dev/hda":
>
>Disk /dev/hda: 160.0 GB, 160041885696 bytes
>255 heads, 63 sectors/track, 19457 cylinders
>Units = cylinders of 16065 * 512 = 8225280 bytes
>
>   Device Boot      Start         End      Blocks   Id  System
>/dev/hda1   *           1        1794    14410273+   c  W95 FAT32 (LBA)
>/dev/hda2            1795        1800       48195   83  Linux
>/dev/hda3            1801       19457   141829852+   5  Extended
>/dev/hda5            1801        4200    19277968+   c  W95 FAT32 (LBA)
>/dev/hda6            4201        7100    23294218+  83  Linux
>/dev/hda7            7101        7190      722893+  82  Linux swap / Solaris
>/dev/hda8            7191       19457    98534646   83  Linux
>
>  
>

Maybe it isn't really a FAT32 filesystem?

Could you try something like: strings /dev/hda5  | less

With a FAT32 filesystem, I get:

mkdosfs
BRJF_KEY    FAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
RRaA
rrAa{
mkdosfs
BRJF_KEY    FAT32
This is not a bootable disk.  Please insert a bootable floppy and
press any key to try again ...
<list of short filenames on system...>

Obviously I formatted the above with mkdosfs, but you can see the label
(RJF_KEY) and type as well.

By comparison, on NTFS, I get:

0000374 t+a`j
0000454 Invalid partition table
0000504 Error loading operating system
0000543 Missing operating system
0077003 NTFS
...

HTH

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] OpenOffice / localisation
  2005-07-14  6:09 ` Mariusz Pękala
@ 2005-07-14 11:10   ` Uwe Thiem
  0 siblings, 0 replies; 9+ messages in thread
From: Uwe Thiem @ 2005-07-14 11:10 UTC (permalink / raw
  To: gentoo-user

Hi folks,

I've got a couple of questions regarding localisation.

1. OO and English
If I set OO to either British or South African English the spellchecker still 
accepts American spelling which is wrong in Namibia. Anybody in the know how 
to make it stick to British spelling?

2. OO and currency
The Namibian Dollar (either NAD or N$) is missing from the list of currencies. 
Is it possible to add a new one to OO?

3. KDE and aspell
I emerged aspell-af, aspell-de, aspell-en and aspell-pt. KDE's control centre 
shows a whole plethora of languages, some of them looking like "English 
(United Kingdom - ise-w_accents-only)". I bet No user has got an idea what 
that means. In kmail on the other hand, most languages are shown as 
"Unknown". I would like to nail that down to:
British English
American English
German German   (no Swiss or Austrian German)
Portuguese Portuguese
Brazilian Portuguese
Afrikaans
with British English the default. Do I simply delete the other stuff 
under /usr/lib/aspell-0.60? Exactly what can I safely delete?

There is more but this should be enough for today. ;-)

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Can't mount a fat32 partition
  2005-07-14  6:28       ` Richard Fish
@ 2005-07-15  2:06         ` aabb
  0 siblings, 0 replies; 9+ messages in thread
From: aabb @ 2005-07-15  2:06 UTC (permalink / raw
  To: gentoo-user

Thanks all. It's fixed. When I ran "dosfsck /dev/hda5" I got the error:

Logical sector size is zero

So I re-created the file system with "mkfs -t vfat -F 32 /dev/hda5"
(after backing up all my files!) and now it mounts properly. Not sure I
understand it because I hadn't run the mkfs command on hda1 either. I
formatted both from Win98.

Thanks again,

Alex

>Maybe it isn't really a FAT32 filesystem?
>
>Could you try something like: strings /dev/hda5  | less
>
>With a FAT32 filesystem, I get:
>
>mkdosfs
>BRJF_KEY    FAT32
>This is not a bootable disk.  Please insert a bootable floppy and
>press any key to try again ...
>RRaA
>rrAa{
>mkdosfs
>BRJF_KEY    FAT32
>This is not a bootable disk.  Please insert a bootable floppy and
>press any key to try again ...
><list of short filenames on system...>
>
>Obviously I formatted the above with mkdosfs, but you can see the label
>(RJF_KEY) and type as well.
>
>By comparison, on NTFS, I get:
>
>0000374 t+a`j
>0000454 Invalid partition table
>0000504 Error loading operating system
>0000543 Missing operating system
>0077003 NTFS
>...
>
>HTH
>
>-Richard
>  
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-15  1:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 23:29 [gentoo-user] Can't mount a fat32 partition aabb
2005-07-13 22:39 ` Colin
2005-07-13 22:49   ` Wade Brown
2005-07-13 22:52   ` Renat Golubchyk
2005-07-14  0:30     ` aabb
2005-07-14  6:28       ` Richard Fish
2005-07-15  2:06         ` aabb
2005-07-14  6:09 ` Mariusz Pękala
2005-07-14 11:10   ` [gentoo-user] OpenOffice / localisation Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox