View previous topic :: View next topic |
Author |
Message |
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 4:24 am Post subject: USB Drive problems mounting |
|
|
I can't seem to mount my usb drive.
/dev/sdb1 /mnt/usb vfat noauto,users,rw 0 0
any help would be great. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Jan 10, 2006 4:51 am Post subject: |
|
|
Maybe display the error you get when mounting?
What desktop environment are you using?
How are you trying to mount? |
|
Back to top |
|
|
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 4:58 am Post subject: |
|
|
# cd/ mnt
# mount usb
gives :
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I use fluxbox...i guess this is what you are asking? I'm a noob. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Jan 10, 2006 5:12 am Post subject: |
|
|
ghettobanana wrote: | # cd/ mnt
# mount usb
gives :
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I use fluxbox...i guess this is what you are asking? I'm a noob. |
You don't have to change into /mnt. You can mount just using this from anywhere
Are you sure the usbstick is formatted FAT?
Can you post the output of this: Code: | cat /usr/src/linux/.config | grep CODEPAGE |
Also post
right after trying to mount. |
|
Back to top |
|
|
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 5:21 am Post subject: |
|
|
cat /usr/src/linux/.config | grep CODEPAGE
Produces:
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
dmesg | tail -n 50
produces:
d2kozmo@spacetaco /mnt $ dmesg | tail -n 50
snd_asihpi: Unknown symbol HPI_SubSysCreate
snd_asihpi: Unknown symbol HPI_SampleClock_GetSampleRate
snd_asihpi: Unknown symbol HPI_AdapterGetInfo
snd_asihpi: Unknown symbol HPI_AESEBU_Transmitter_SetClockSource
snd_asihpi: Unknown symbol HPI_Tuner_SetGain
snd_asihpi: Unknown symbol HPI_OutStreamQueryFormat
snd_asihpi: Unknown symbol HPI_OutStreamHostBufferAllocate
snd_asihpi: Unknown symbol HPI_MeterGetRms
snd_asihpi: Unknown symbol HPI_ChannelModeGet
snd_asihpi: Unknown symbol HPI_InStreamRead
snd_asihpi: Unknown symbol HPI_VolumeQueryRange
snd_asihpi: Unknown symbol HPI_Tuner_GetGain
snd_asihpi: Unknown symbol HPI_AESEBU_Transmitter_GetFormat
snd_asihpi: Unknown symbol HPI_OutStreamHostBufferFree
snd_asihpi: Unknown symbol HPI_Multiplexer_SetSource
snd_asihpi: Unknown symbol HPI_VolumeSetGain
snd_asihpi: Unknown symbol HPI_AESEBU_Transmitter_GetClockSource
snd_asihpi: Unknown symbol HPI_ChannelModeSet
snd_asihpi: Unknown symbol HPI_InStreamStop
snd_asihpi: Unknown symbol HPI_OutStreamGetInfoEx
snd_asihpi: Unknown symbol HPI_InStreamOpen
snd_asihpi: Unknown symbol HPI_OutStreamStop
snd_asihpi: Unknown symbol HPI_InStreamHostBufferAllocate
snd_asihpi: Unknown symbol HPI_AdapterIndex
snd_asihpi: Unknown symbol HPI_InStreamGetInfoEx
snd_asihpi: Unknown symbol HPI_MixerGetControlByIndex
snd_asihpi: Unknown symbol HPI_Tuner_SetFrequency
snd_asihpi: Unknown symbol HPI_AESEBU_Receiver_SetSource
snd_asihpi: Unknown symbol HPI_InStreamClose
snd_asihpi: Unknown symbol HPI_MixerGetControl
snd_asihpi: Unknown symbol HPI_SampleClock_SetSource
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 21 (level, high) -> IRQ 21
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 51713 usecs
intel8x0: clocking to 46834
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control tx and rx
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [APC5] enabled at IRQ 16
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [APC5] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 13:12:51 PST 2004
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sdb1.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sdb1.
FAT: bogus number of reserved sectors
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sdb1.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sdb1. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Jan 10, 2006 5:23 am Post subject: |
|
|
What is the output of
Is there data on the usbstick already, or is it safe to format? |
|
Back to top |
|
|
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 5:26 am Post subject: |
|
|
-bash: fdisk: command not found
there is data but i really don't care if i lose it. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Jan 10, 2006 5:31 am Post subject: |
|
|
ghettobanana wrote: | -bash: fdisk: command not found
there is data but i really don't care if i lose it. |
This has to be run as root. You should have it installed, if not you need to emerge util-linux |
|
Back to top |
|
|
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 5:34 am Post subject: |
|
|
My bad...
Disk /dev/sda: 120.0 GB, 120033041920 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id Sy stem
/dev/sda1 * 1 33 265041 83 Li nux
/dev/sda2 34 546 4120672+ 82 Li nux swap / Solaris
/dev/sda3 547 14593 112832527+ 83 Li nux
Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id Sy stem
/dev/sdb1 1 30514 245103673+ 7 HP FS/NTFS |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Jan 10, 2006 5:38 am Post subject: |
|
|
Looks like the partition is NTFS, not VFAT, Trying changing the type in /etc/fstab to ntfs or auto. |
|
Back to top |
|
|
ghettobanana n00b
Joined: 26 Sep 2004 Posts: 50
|
Posted: Tue Jan 10, 2006 5:42 am Post subject: |
|
|
damn that was it...i wonder how this can be...that sucks since i would like to use it on my windows sys as well.
I am gonna have to reformat it..
thx a ton |
|
Back to top |
|
|
|