LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 06-05-2007, 12:14 AM   #1
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Rep: Reputation: 15
Question Newbie seeking help 2


ok here is the issue I have just installed and got most things up and running on my Inspiron 3800 laptop running Linux slackware 11. I have a 500GB external HD that connects by USB. Kinfocenter is detecting the HD under USB devices but I am unable to access it. Is there a way that I can make Linux see and access this HD without starting completely over?
 
Old 06-05-2007, 01:56 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Firstly, please use more descriptive thread titles in future (i.e. say something about the problem in the title).

You need to mount the partition(s) on the device to be able to access them. Mounting is attaching the filesystem(s) on the device to your "main" filesystem, the one that's rooted at /. If you run "dmesg" in a terminal (without quotes), you should see some output relating to your USB device. Post that output here so we can tell you what to mount.
 
Old 06-05-2007, 09:15 AM   #3
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Mouinting External HD

I will remember that in the near future about being more discriptive in the subject line. But at times it is difficult exspecially when you do not know what you are trying to do technically. I will work on that though.

As for what you asked for dealing with dmesg, since I have no idea what it is exactly that you are looking for I just copied the entire session, and here it is:

"All my life I wanted to be someone; I guess I should have been more
specific."
-- Jane Wagner

root@darkstar:~# dmesg
1, assigned address 2
usb.c: USB device 2 (vend/prod 0x106c/0x3702) is not claimed by any active drive
r.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: SanDisk Model: Cruzer Micro Rev: 0.1
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: WD Model: 5000AAKS Externa Rev: 101a
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
usb.c: registered new driver acm
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: USB SD Reader Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0
sdc: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdc : READ CAPACITY failed.
sdc : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdc : block size assumed to be 512 bytes, disk size 1GB.
sdc: I/O error: dev 08:20, sector 0
I/O error: dev 08:20, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
ttyACM0: USB ACM device
USB Mass Storage support registered.
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
scsi singledevice 0 0 0 0
scsi singledevice 0 0 1 0
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
scsi singledevice 1 0 0 1
scsi singledevice 1 0 0 2
scsi singledevice 1 0 0 3
scsi singledevice 1 0 0 4
scsi singledevice 1 0 0 5
scsi singledevice 1 0 0 6
scsi singledevice 1 0 0 7
scsi singledevice 1 0 1 0
scsi singledevice 1 0 2 0
scsi singledevice 1 0 3 0
scsi singledevice 1 0 4 0
scsi singledevice 1 0 5 0
scsi singledevice 1 0 6 0
scsi singledevice 1 0 7 0
scsi singledevice 2 0 0 1
scsi singledevice 2 0 0 2
scsi singledevice 2 0 0 3
scsi singledevice 2 0 0 4
scsi singledevice 2 0 0 5
scsi singledevice 2 0 0 6
scsi singledevice 2 0 0 7
scsi singledevice 2 0 1 0
scsi singledevice 2 0 2 0
scsi singledevice 2 0 3 0
scsi singledevice 2 0 4 0
scsi singledevice 2 0 5 0
scsi singledevice 2 0 6 0
scsi singledevice 2 0 7 0
scsi singledevice 3 0 0 1
Vendor: Generic Model: USB CF Reader Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdd at scsi3, channel 0, id 0, lun 1
sdd: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdd : READ CAPACITY failed.
sdd : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdd : block size assumed to be 512 bytes, disk size 1GB.
sdd: I/O error: dev 08:30, sector 0
I/O error: dev 08:30, sector 0
unable to read partition table
scsi singledevice 3 0 0 2
Vendor: Generic Model: USB SM Reader Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sde at scsi3, channel 0, id 0, lun 2
sde: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sde : READ CAPACITY failed.
sde : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sde : block size assumed to be 512 bytes, disk size 1GB.
sde: I/O error: dev 08:40, sector 0
I/O error: dev 08:40, sector 0
unable to read partition table
scsi singledevice 3 0 0 3
Vendor: Generic Model: USB MS Reader Rev: 1.03
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdf at scsi3, channel 0, id 0, lun 3
sdf: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdf : READ CAPACITY failed.
sdf : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a
0x00 0x00 0x00 0x00 0x00
sdf : block size assumed to be 512 bytes, disk size 1GB.
sdf: I/O error: dev 08:50, sector 0
I/O error: dev 08:50, sector 0
unable to read partition table
scsi singledevice 3 0 0 4
scsi singledevice 3 0 0 5
scsi singledevice 3 0 0 6
scsi singledevice 3 0 0 7
scsi singledevice 3 0 1 0
scsi singledevice 3 0 2 0
scsi singledevice 3 0 3 0
scsi singledevice 3 0 4 0
scsi singledevice 3 0 5 0
scsi singledevice 3 0 6 0
scsi singledevice 3 0 7 0
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: Printer, HEWLETT-PACKARD DESKJET 930C
lp0: using parport0 (polling).
NET4: AppleTalk 0.18a for Linux NET4.0
mtrr: no more MTRRs available
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
spurious 8259A interrupt: IRQ7.
hub.c: new USB device 00:07.2-1.4, assigned address 6
usb.c: USB device 6 (vend/prod 0x830/0x40) is not claimed by any active driver.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Handspring Visor / Treo / Palm 4.
0 / Clié 4.x
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
usbserial.c: USB Serial support registered for Sony Clié 3.5
usbserial.c: USB Serial support registered for Sony Clié 5.0
visor.c: USB HandSpring Visor, Palm m50x, Treo, Sony Clié driver v1.7
usb.c: USB disconnect on device 00:07.2-1.4 address 6
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
hub.c: new USB device 00:07.2-1.4, assigned address 7
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
visor.c: Bytes In = 13502 Bytes Out = 7451
usb.c: USB disconnect on device 00:07.2-1.4 address 7
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
hub.c: new USB device 00:07.2-1.4, assigned address 8
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
visor.c: Bytes In = 12850 Bytes Out = 6807
usb.c: USB disconnect on device 00:07.2-1.4 address 8
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
hub.c: new USB device 00:07.2-1.4, assigned address 9
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
usb.c: USB disconnect on device 00:07.2-1.4 address 9
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
hub.c: new USB device 00:07.2-1.4, assigned address 10
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
usb.c: USB disconnect on device 00:07.2-1.4 address 10
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
hub.c: new USB device 00:07.2-1.4, assigned address 11
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now attache
d to ttyUSB1 (or usb/tts/1 for devfs)
visor.c: Bytes In = 12794 Bytes Out = 6744
usb.c: USB disconnect on device 00:07.2-1.4 address 11
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clié 4.x converter now disconn
ected from ttyUSB1
usb.c: USB disconnect on device 00:07.2-1.1 address 3
hub.c: new USB device 00:07.2-1.1, assigned address 12
usb.c: USB device 12 (vend/prod 0x46d/0xc03d) is not claimed by any active drive
r.
usb.c: registered new driver usbmouse
input0: Logitech USB-PS/2 Optical Mouse on usb3:12.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
usb.c: USB disconnect on device 00:07.2-1.1 address 12
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
usb.c: USB disconnect on device 06:00.0-1 address 2
hub.c: new USB device 06:00.0-1, assigned address 3
ttyACM0: USB ACM device
PPP BSD Compression module registered
PPP Deflate Compression module registered
usb_control/bulk_msg: timeout
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: Printer, HEWLETT-PACKARD DESKJET 930C
lp0: using parport0 (polling).
NTFS: Unicode name contains a character that cannot be converted to chosen chara cter set. Remount with utf8 encoding and this should work.
NTFS: Unicode name contains a character that cannot be converted to chosen chara cter set. Remount with utf8 encoding and this should work.
usb.c: USB disconnect on device 06:00.0-1 address 3
hub.c: new USB device 06:00.0-1, assigned address 4
ttyACM0: USB ACM device
NTFS: Unicode name contains a character that cannot be converted to chosen chara cter set. Remount with utf8 encoding and this should work.
NTFS: Unicode name contains a character that cannot be converted to chosen chara cter set. Remount with utf8 encoding and this should work.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered

I hope this will help you out because to me it is all greek.
 
Old 06-05-2007, 11:15 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Even something like "Mounting external HD", or "How to access my external HD?" is better .

Indeed, there is lots of irrelevant output from dmesg, but the relevant bits as far as your USB HD is concerned are

Quote:
Originally Posted by sulvereagle59
USB Mass Storage device found at 3
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: WD Model: 5000AAKS Externa Rev: 101a
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
and then

Quote:
Originally Posted by sulvereagle59
SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
sdb: sdb1
What filesystem is your USB disk formatted? If you don't know, post the output of "fdisk /dev/sdb".

Basically, you will end up running the mount command similar to the following:

mount /dev/sdb1 /mnt/tmp -t vfat

The first bit after mount says what to mount (which we've found out from your dmesg output), the second bit says where to mount the filesystem on that device (if you haven't changed anything in /mnt, the tmp directory will already be there). You can change this of course. For example, you may want to mount on /mnt/usbdisk. Make sure that the directory you want to mount to already exists before running mount! The last bit tells mount the filesystem type on the device (vfat is used for FAT32/FAT16). I don't know what filesystem is on your disk and the above is just an example. Again, post the output of fdisk so we know what filesystem is on the partition.
 
Old 06-05-2007, 11:38 AM   #5
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Ok, thank you for that information.

What filesystem is your USB disk formatted? it is formatted in NTSF
 
Old 06-05-2007, 11:51 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Assuming that was a typo and you meant NTFS, then change the "vfat" to "ntfs" when running mount. You won't be able to write to your NTFS partition, though.

You do have a normal user account right (i.e. one that isn't root)? I'm asking because you ran dmesg as root and I don't know if this was because you thought you needed to, or because you don't have a user account. If the latter, add a user account for yourself because you should be running as root all the time. If the former, well, you don't need to use root to run dmesg .
 
Old 06-05-2007, 11:56 AM   #7
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
thank you for your help.
yes I am running as root all the time I have not figured out how to add a user as of yet but working on one thing at a time.
 
Old 06-05-2007, 06:31 PM   #8
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Question Need help mounting external HD

Ok it seams that I am still having issues with mounting my external HD. Ok first where do I have to input the information mount /dev/sbd1 /mnt/tmp -t ntfs is it in a termenal or do I have to log out and do it? Two, will this make it so that I can access this HD from system:/media or not? If not where would I need to place the script so that I will be able to access the HD from system:/media?

Thanks for all your help,
David

Last edited by sulvereagle59; 06-05-2007 at 06:33 PM.
 
Old 06-06-2007, 01:06 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes, you run mount in a terminal. If you want to access the disk at /media, well, change "/mnt/tmp" to "/media".
 
Old 06-06-2007, 01:08 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by sulvereagle59
thank you for your help.
yes I am running as root all the time I have not figured out how to add a user as of yet but working on one thing at a time.
Run "adduser" in a terminal.
 
Old 06-06-2007, 01:26 AM   #11
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Ok I tried to mount the HD to media and I get the following message:

root@darkstar:~# mount /dev/sdb1 /media -t ntfs
mount: /dev/sdb1 is not a valid block device

what am I doing incorrectly here?
 
Old 06-06-2007, 01:44 AM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Ah, here's the problem I was going to mention earlier on in this thread but decided against it. Yesterday, it appears that you had a USB flash disk plugged in as well as your USB hard disk. The flash disk was /dev/sda and your USB hard disk /dev/sdb. When you plug these devices in, they aren't always going to be assigned to the same thing in /dev (so for instance, your USB hard disk may now be /dev/sda). Run dmesg again and see what it tells you this time. Post the output here if you're still unsure.

As an aside, a solution to the problem is to use a 2.6.x kernel and some software called udev, which generates (and removes) the "nodes" in /dev when you plug in (or disconnect) a device. It allows you to write rules for a particular device and you can even choose how the device is named in /dev (so for instance, you can have your hard disk called "usbdisk" and then you'd have /dev/usbdisk (and /dev/usbdisk1 which is the actual partiton you mount). This is good because a. it allows you to have meaningful names for devices and b. you don't have to worry about the device changing name as described above; your USB hard disk would always be /dev/usbdisk. But yeah, I'm just posting this in case it's something you want to look at later .
 
Old 06-06-2007, 02:19 AM   #13
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Smile

Ok, I finally got it to mount so that part is done. It is not exactly where I am wanting it but at least I have access to it now, will have to play around a bit to try and get it where I want, if I can even do that it is.

thank you all for your help.

David
 
Old 06-06-2007, 03:08 AM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What is the problem you're having? Were you not able to mount on /media?
 
Old 06-06-2007, 06:29 PM   #15
sulvereagle59
Member
 
Registered: May 2007
Location: Portland, Oregon
Distribution: Slackware 11
Posts: 42

Original Poster
Rep: Reputation: 15
Okay, the issue I am having I have partially figured out. here is what I have done and what I am trying to do.

1) I have repartitioned the external HD into two partitions one being ntfs and the other being fat32.

2) I have configured etc/fstab to look like this:

/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda1 /C ntfs ro 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda2 /E vfat noauto,user,rw,exec,sync 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

3) I have set up a log in other then root

now what my issue is is that
1) I am unable to access many of the folders when I am logged in as anything other then root.
2)I am unable to mount /E which is the second partition on my external Hd which is in fat32 format.

this is what dmesg tells me about my external HD:
Vendor: WD Model: 5000AAKS Externa Rev: 101a
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
usb.c: registered new driver acm
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda:<6>pciehp: PCI Express Hot Plug Controller Driver version: 0.5
sda1 sda2 < sda5 >

I have been able to identify sda1 as the ntfs format of the external HD and sda2 as the fat32 format. I have no idea what the < sda5 > is though.

what it is I am trying to do is to be able to have at least a portion of my external HD to be able to read and write in both Linux and Windows, which is why I chose fat32.

When I try to mount sda2 I get the following message

root@darkstar:~# mount /dev/sda2 /E -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so

So, that is my issue thus far.
 
  


Reply

Tags
hd, mount


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
Newbie seeking help with FTP cdawley4 Linux - Networking 2 07-28-2005 08:02 AM
A newbie is seeking for document about linux programing TruongAn Programming 4 02-21-2005 10:12 PM
newbie seeking help with initial mysql installation marvc Linux - Software 14 04-14-2003 08:05 PM
newbie seeking advice on properly configuring server marvc Linux - General 3 03-29-2003 04:45 PM
Real newbie seeking info for learning. DaDdY SnEb Linux - General 5 06-19-2002 05:58 PM


All times are GMT -5. The time now is 11:38 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration