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!
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.
I have a USB memory stick that was mounting/unmounting just fine under
RH 9.0, which suddenly went corrupt. It wouldn't mount under Linux, and
when I plugged it into a windows XP box it said the stick wasn't formatted.
So I reformatted it under windows, as a FAT32 filesystem, which I believe
is the same as vfat, and now it works okay under windows, but still won't
mount under Linux. I tried it on a several different machines, with the same
result, so it's definitely a problem with the USB stick.
I'd like to try reformatting the stick under Linux instead of windows, but
considering that it won't mount at the moment, is there any way I can achieve
Can anyone else think of anything I could try (other than taking the USB stick
back to the shop and complaining) ?
I originally set it up to work with the line
/dev/sda1 /mnt/usbstick vfat user,noauto.umask=0 0 0
in my /etc/fstab file, and mounting it with the command;
(which worked even when I wasn't root).
As suggested above I tried using the
mount -t msdos /dev/sda1 /dev/usbstick
command as root, but it didn't work :-(
Using either command I'm getting the error message
mount: wrong fs type, bad option, bad superblock on /dev/sda1
or too many mounted filesystems
beejayzed, I tried setting the filesystem type to auto and it complained about an I/O error and said I had to specify the fs type manually.
With any other option (eg vfat) it complains about `wrong option, too many mounted filesystems' etc.
The command `mount /mnt/usbstick' is working fine with other usb sticks,
so I know there's not a software/command problem. The real issue is whether I can forcibly create a valid Linux filesystem on this particular USB stick, or whether I just have to take it back to the shop and complain.
Does this mean that linux can't find a device and format it, if it can't mount an unformatted device? It must be possible because windows can do it. I'd hate to think there's something
useful that windows can do and linux (or at least RH) can't.
Thanks for the help,
Last edited by sundancebt; 03-23-2004 at 11:39 PM.
I dunno, maybe someone else has some suggestions. I'm more comfortable in Mandrake coz I've neve used Redhat. From the messages file, it seems as if it hins thare's a missing module or something.
Could you post your /etc/mtab file to see if has anything about it.
As for trying /dev/sda2. sda3, sda4, I'm still just getting the usual error message. As for the sdb, the USB stick I have is an ASUS model which was pre-formatted into a 63Mb sector and a 1.44Mb sector. I'd say the 64Mb sector is sda, and the 1.44Mb sector is sdb.
Does anyone here know how to detect devices in order to see their /dev/device entry.
Maybe the third entry has something to do with it. Try unmounting that device with the umount command and see what happens.