LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-30-2006, 03:22 AM   #1
oaragones
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
How to connect usb hard disk?


Hi every one i tried to connect an usb hard disk (200Gb) in an AMD 400 Mhz with Debian linux.

When i do a dmesg:

hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Maxtor 6 Model: L250R0 Rev: 0000
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected ALi M1541 chipset
agpgart: Maximum main memory to use for agp memory: 149M
agpgart: AGP aperture is 64M @ 0xe0000000
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
input: PC Speaker
inserting floppy driver for 2.6.8-2-386
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02cc960(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
usb 1-2: USB disconnect, address 2
ohci_hcd 0000:00:02.0: wakeup
usb 1-2: new full speed USB device using address 3
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Maxtor 6 Model: L250R0 Rev: 0000
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
sda: assuming drive cache: write through
/dev/scsi/host1/bus0/target0/lun0: p1
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
USB Mass Storage device found at 3
usb 1-2: USB disconnect, address 3
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth0: no IPv6 routers present
USB Universal Host Controller Interface driver v2.2
ohci_hcd 0000:00:02.0: remove, state 1
usb usb1: USB disconnect, address 1
ohci_hcd 0000:00:02.0: USB bus 1 deregistered

And when i try to mount it or do a cfdisk with /dev/sda it doesn't work...

Some body can help to me please?

Thanks.
 
Old 08-30-2006, 03:39 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
What error do you get from "cfdisk /dev/sda"?

Are you running it as root?
 
Old 08-30-2006, 06:44 AM   #3
oaragones
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy error in cfdisk....

Quote:
Originally Posted by oneandoneis2
What error do you get from "cfdisk /dev/sda"?

Are you running it as root?
When i run cfdisk /dev/sda i have :

ERROR MUY GRAVE: No se puede abrir la unidad de disco
Pulse una tecla para salir de cfdisk

and all the commands are into root mode....

i don't know what more can i do....
 
Old 08-30-2006, 06:49 AM   #4
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
/dev/sda is probably the device, but not the partition.

Try mounting /dev/sda1 and see if that works.
 
Old 08-30-2006, 07:01 AM   #5
oaragones
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy /dev/sda & dev/sda1 not apear

Quote:
Originally Posted by moxieman99
/dev/sda is probably the device, but not the partition.

Try mounting /dev/sda1 and see if that works.
When i go into /dev the sda not apear and the sda1 not too...

I want to try cfdisk to make a partition because the hard disk haven't it.

I don't know why the sda not apear...

i try to mount it with mount /dev/sda1 /mnt/hd200 but it doesn't work
 
Old 08-30-2006, 02:14 PM   #6
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 425

Rep: Reputation: 147Reputation: 147
Go into your hardware browser and see if /dev/sda is in fact recognized. Then see what partitions are recognized under /dev/sda.

Create a mount point in something like /mnt or in /media or wherever you have permission.

Try mounting. Remember, you will have to specify your filesystem of the sda1 (usually use vfat for thumb drives) and also use the -t switch
 
Old 08-30-2006, 03:06 PM   #7
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
The output of "fdisk -l" might also be helpful..
 
Old 08-31-2006, 01:02 AM   #8
oaragones
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Resolved...

Hello every one...

All this problems comes from a server and i never restart it...

Yesterday i try to restart it and all works perfectly... The system reconize the usb external hard disk (200Mb) and create into /dev/ the sda. When i do cfdisk /dev/sda it works prfectly and i can do a partition... now all i need to know what type of partition is better and mount it.

I have a winXp system and i think that the better is NTFS but it cann't be the best partition into Linux system. What is the best partition ext3 and do samba for winxp or try to do and ntfs partition.

I think that the ntfs can be bad for linux system.

Thanks for all!
 
Old 08-31-2006, 02:44 AM   #9
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
The best format for a USB key that will be read by both Windows and Linux is FAT32. Sad but true.

You can get a driver for ext2 for Windows, tho.
 
Old 08-31-2006, 03:51 AM   #10
oaragones
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
thanks ... and for ext3?

Quote:
Originally Posted by oneandoneis2
The best format for a USB key that will be read by both Windows and Linux is FAT32. Sad but true.

You can get a driver for ext2 for Windows, tho.
Hi thanks for all... anddo you know if exist a drive for windows xp ext3 partition linux?
 
Old 08-31-2006, 04:28 AM   #11
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
An ext3 partition is "ext2 with a journal" - so if you install the ext2 driver, Windows will be able to access the ex3 partition just fine. It simply won't use the journal.
 
  


Reply



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
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
USB hard disk read only neranjana Mandriva 7 11-24-2005 02:48 AM
USB hard disk? where? Fatch_R Linux - Newbie 5 02-15-2005 09:34 AM
How do I get my USB 2.0 Hard Disk to MOUNT? Hawky Linux - Newbie 5 10-26-2004 12:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:56 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
Open Source Consulting | Domain Registration