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.
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'm trying to mount a new hard drive in my slackware box, but when I do, I can't write to it. It's just a 6gig with a single partition which I gave the ext3 filesystem. Something I've noticed is that after 'mkfs'ing and then mounting, when I check the mounts ('mount -l') the type of the mount is listed as 'vfat' and not 'ext3'. Is that where the problem lies?
No, it is not mounted when I mkfs, and here is what I get when I 'fdisk -l' :
Code:
Disk /dev/hdb: 255 heads, 63 sectors, 524 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 524 4208998+ 83 Linux
something also interesting is that even though I mkfs, then immediatly mount, here is what I get when I run df :
Code:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 5967432 3291968 2367420 59% /
/dev/hdb1 4192752 4192752 0 100% /home/dump
Why is the second hd @ 100% usage? Is there something I forgot to do? Starting from scrath, I fdisk and make one partition, then I run 'mkfs -t ext2 -j /dev/hdb1' to format it. All that's left is mount it with 'mount /dev/hdb1 /home/dump' , right?
I can't decide if its a different tool or not, but mkfs.ext2/mkfs.ext3 and mke2fs seem to be. try using mke2fs with the -j option and see if it does anything differently. (you could also use du to see how the disk is being used)
/dev/hda2 on / type ext3 (rw) []
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc type proc (rw)
/dev/hdb1 on /home/dump type vfat (rw) []
Apparently not. It may have been a particular version of mkfs that didn't do quite right, but since I experienced it, hat is my first step automatically if any drive has ever been contaminated with the Microsoft virus. You never know how sneaky they can be...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.