Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
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 !
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.