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.
I have installed RedHat 7.0 (know it is not last release)
The machine with Linux is, for the moment, a test machine.
1 HD
1 CD-rom
1 floppy
1 ethernet card
(+ standard card: video, ide controller)
I want to access a RPM file I downloaded from the internet (on an other machine, a windows 98 one)
The problem is when I try a ls command on /mnt/floppy it gives me garbage characters + a message saying FAT is corupted.
I used mount -t vfat /dev/fd0 /mnt/floppy
(I also change the /etc/fstab file so the floppy uses vfat (tried msdos also) )
I know the floppy works since I used it to boot the install.
Have tried another windows 98 floppy.
I have tried to reformat the floppy (in windows 98)
Last weird thing i noticed: if there are NO files on the floppy, linux is able to read the FAT and to write a file on the floppy (file that I cannot see in windows by the way)
To resume : my linux system is unable to read any disk made from windows 98 that contains a file.
I would have thought that fat/vfat/whateverfat support is enabled by default in RH7.0, try typing insmod vfat before mounting the drive.
Also, check what the /dev/fd0 is linked to.
Just to see, try: dd if=/dev/fd0 of=floppyimage
mount -o loop floppyimage /mnt/floppy
(Takes a copy of the floppy disk and saves it as a file, then mounts the file instead of the device)
I'm not sure about RH 7's kernel support for vfat IMO support should be there but if it isn't you will have to recompile the kernel and enable msdos/vfat. You can also do a lsmod and see what modules are loaded.
That's the 'mtools', for messing with dos filesystems if I remember right?
I've never used them, just didn't see a need. But that's a preference thing, one of the joys of Linux... Use whatever floats your boat
Exactly Psycho... I can't tell you how many times I mounted a floppy, did some work, then ejected it without umounting it. Finally I started using the "mtools" more and more and now I don't even consider mounting a floppy
(please submit ideas on the new post as I would not want to double the posts! Think the admin might not like it, know I would not like it if it was done on my board!!)
Last edited by BoldKiller; 04-13-2002 at 10:14 PM.
I couldn't mount a Cd-Rom Either. Then I figured out that sometimes the cd shows up as /dev/sda or /dev/sdb. It shows up as a SCSI device for some odd reason.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.