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 feel like i'm either missing something really simple, or there's actually an error with my hd. i'm trying to create a partition on my linux drive (hdb) with a vfat fs so i can access it from win98 (hda). all my other partitions are working fine, including hda itself, which is of course vfat. i've edited my fstab in any number of ways, using all of the following in some combination:
noauto, user, umask=000, owner, defaults
i don't know, maybe even a few more. every time i try to mount hdb2 it says:
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
now an interesting thing i noticed is that as normal user i can see the files on the partition, but they're not recognized. this includes when i've unmounted the partition from a shell -- shouldn't this make the contents disappear? i'm beginning to think fdisk didn't do a proper job of creating the fs when i created the partition, but so far i haven't found a way to run fsck on a disk in use.....
Ok, first off check /etc/mtab to see if it's truly umounted. If it is, use: mount -t vfat /dev/hdb2 /mnt/fat32 -o users,umask=000,noauto
As root, to mount the drive. If you get an error, post it up.
If the drive IS mounted, according to /etc/mtab, then, well, it's mounted. Umount it, and use the above to mount it again.
Make sure the mount point /mnt/fat32 exists (or use one that does..).
Post up what you get from typing:
/sbin/fdisk -l /dev/hdb
And tell us what distro (assuming Mandrake) you are running.
Finally, to run fsck on a mounted partition is suicide for most people, instead, login as root, and type:
To drop back to single user mode. Umount the device, then run fsck on it to check it out. After you are all finished drop back to your previous runlevel, assuming 3:
And startx backup (if you want) and mount the drive back up.
If all goes well, and you are happy with everything, edit fstab to have it reflect all your desires: /dev/hdb2 /mnt/fat32 vfat users,umask=000,noauto,rw 0 0
Actually, the best way to do this is to create it from windoze. That way you can ensure that windoze can read/write to it, Linux won't have a problem dealing with it at that point as long as when you do create it make sure it's fat32..
Otherwise, you can download/install dosfstools: http://http.us.debian.org/debian/poo....9.orig.tar.gz (first link I found you may wanna search for the actual homepage..)
And it should contain info on setting up a fat32 partition. IIRC it's along the lines of:
mkfs -t vfat -F /dev/hdx
But that should all be covered in the application's docs.
in the past, windows wouldn't even recognize that i had a second hard drive if it had linux on it, although i've noticed that now it recognizes something it calls D: but whether that refers to this partition or the unused space on the hdb, i don't know. any advice on how to partition in windows? should i create an msdos partition first so windows can recognize it in the first place?
Originally posted by MasterC How did you create the filesystem that's on that partition?
I'm guessing that you just created a partition, and gave it the partition ID of Fat32, but never actually created a filesystem on it?
Post back the steps that you took to create that specific partition.
I used Data lifeguard tools that came with my new hdd and made one partition that was fat32 on each drive (I have a 2.5 gig hdd that I made my swap) I made ONE partition on each hdd, and installed windows. I set up my swap in windows as D:, and then installed RH9 and used disk druid. I used the free space that was big as my /, and then used the free space one my 2.5 gig as my swap. I now have a 1.25 swap in windows and linux.....nice, no? I had to put win 98 on first for some reason, and install xp over 98 while running 98. I kept the boot disk and booted up linux and when trying to mount my hda1 [xp] I got an error that said my fstab file didn't have hda1. In root, I made a dosc folder under /, and then edited my fstab file as I mentioned above. I am really new to linux and got lucky trying out stuff I guess. Sorry about the spamming......it seemed to fit under all of tehm , and I figured someone had to know somewhere what my problem was.