LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-18-2006, 07:28 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Install second drive in debian


I have a Seagate USB external drive that I have used with my Ubuntu distro. I abandoned Ubunto for Debian. Now I want to use that data on that usb drive. I am having the hardest time finding a good tutorial or help on how to set up my usb drive to be mounted automatically.

When I do an fdisk I can see my partition.
When I try to mount the drive I get "wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or other error in some cases useful info id found in syslog - try dmesg | tail or so"

What do I do next?
 
Old 11-18-2006, 07:45 PM   #2
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
Normally the "fdisk -l" command should list all your driver with their partitions. Have you tried "dmesg | tail" ?
 
Old 11-18-2006, 10:13 PM   #3
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
fdisk -l does not give me anything.

Here is the output of dmesg | tail:
Quote:
debian:/# dmesg | tail
EXT3-fs: group descriptors corrupted !
inserting floppy driver for 2.4.27-3-386
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
end_request: I/O error, dev 02:00 (floppy), sector 0
end_request: I/O error, dev 02:00 (floppy), sector 0
EXT3-fs error (device sd(8,0)): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted !
EXT3-fs error (device sd(8,0)): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted !
 
Old 11-19-2006, 12:47 AM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
you said in your first post when you do fdisk you can see your partition can you post that? also, have your drive unplugged, plug it in, then run dmesg | tail and post that. also post the exact command your entering.
 
Old 11-19-2006, 06:08 AM   #5
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
Mention that you have to run fdisk -l as root.
 
Old 11-19-2006, 10:19 AM   #6
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Yes, I did su root before running all this.
fdisk:
Quote:
debian:/# fdisk -l /dev/sda

Disk /dev/sda: 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/sda1 * 1 19457 156288321 83 Linux
I wans't sure if you wanted it powered down or the datacable unpluged while it's powered. This is powered down:
Quote:
debian:/# dmesg | tail
end_request: I/O error, dev 02:00 (floppy), sector 0
EXT3-fs error (device sd(8,0)): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted !
EXT3-fs error (device sd(8,0)): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted !
usb.c: USB disconnect on device 00:1f.2-2 address 2
hub.c: connect-debounce failed, port 2 disabled
hub.c: new USB device 00:1f.2-2, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
This is after I pulled the data line and plugged it back in:
Quote:
debian:/# dmesg | tail
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: USB disconnect on device 00:1f.2-2 address 3
hub.c: new USB device 00:1f.2-2, assigned address 4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
usb.c: USB disconnect on device 00:1f.2-2 address 4
hub.c: new USB device 00:1f.2-2, assigned address 5
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
 
Old 11-19-2006, 12:25 PM   #7
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
Quote:
/dev/sda1 * 1 19457 156288321 83 Linux
This is your external hard disk. Now create a folder where you'd like to mount it, like /mnt/externalHD for example. The type on the console as root:

Code:
mount /dev/sda1 /mnt/externalHD
You can also add an entry to fstab so it'll be auto-mounted every time you boot your computer.

Note if you plugin a usb flash-disk and then your external drive the drive file will chanage. It should be then /dev/sdb1. If you have the drive working and then plugin a usb flash-disk, then the flash-disk will be /dev/sdb1. You can always check this with fdisk -l.
 
  


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
Install Debian from images on hard drive? rconan Debian 3 01-10-2006 11:54 AM
Install Debian on a pismo with no CD drive... benjalien Debian 4 09-09-2005 10:23 AM
install debian 3.0 from hard drive zyuadl Linux - Software 4 05-05-2005 02:46 PM
How to install new hd - using debian, new drive is for gentoo ginnytwo Linux - Hardware 1 08-20-2004 01:04 PM
trying to install st34572wc drive in debian sparc rje_NC Linux - Hardware 4 05-01-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:08 AM.

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