Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
If the drive is connected properly, you will get some output. If it is not, you will get nothing.
edit: also, if these long disk ids are bothering you, 'ls -l /dev/disk/by-id' will tell you where the symlinks point to, which is the more usual '/dev/sdb1' or similar
I'm pretty sure the drive is connected properly because as I said early Windows XP detects the drive but it can't be viewed under "My Computer" nor "Disk Management". Someone else had suggested that I should install the drivers for the USB adapter however, I recall reading somewhere that the drivers are only needed for Windows 98 and older (and I can't find the drivers CD). The only other thing I could think of are the jumpers. The instructions from the USB adapter state to remove the jumper, as this will revert the settings of the HD to factory default.
root@ubuntu:/mnt/myDrive# sudo mount -t vfat /dev/sda1 /mnt/myDrive
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg | tail
Code:
VFS: Can't find a valid FAT filesystem on dev sda1.
Are we trying to mount the internal drive /dev/sda apparently or the external drive, connected by a USB thing??
If we are after the sda thing we are basically getting there. The above messages *probably* say it is there and so on, it is just that the file system type is wrong - it is not vfat - or the file system is buggered. Is there any reason to believe it is buggered?
Try it with -t ntfs as originally. Try it with sda2 instead of sda1. Does -t auto make any sense? Could look in mount's manual.
To be honest it would be best if the problematic drive was put back inside the Windows XP desktop, as an ATA slave drive. These USB adapters and enclosures can be a bit finicky, especially under Linux. With the drive connected 'normally', you will be able to read any data that is there for reading.
Are we trying to mount the internal drive /dev/sda apparently or the external drive, connected by a USB thing??
If we are after the sda thing we are basically getting there. The above messages *probably* say it is there and so on, it is just that the file system type is wrong - it is not vfat - or the file system is buggered. Is there any reason to believe it is buggered?
Try it with -t ntfs as originally. Try it with sda2 instead of sda1. Does -t auto make any sense? Could look in mount's manual.
Don't know, have you already posted the output of
Code:
sudo fdisk -l
?
We are trying to mount the 3.5" HD to the PC via the USB Adapter. I'll try your suggestions when I get home this afternoon. fdisk -l should be posted on the first page but I'll post a new one to see if anything changed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.