Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I've tried several variations on my /etc/fstab to get My debian box to dual boot. I keep getting this error no matter what I put in fstab.
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so
I tried that and did not succeed. IDK what the <dump> and <pass> doo but i tried 0 0, 1 0, 0 1, 1 1, 2 1, 1 2, and 2 2. with no luck. I've also changed ro to defaults, rw, and left it blank. Still no luck. Anyone else have any ideas?
ok, I figured out that I had a back up drive on windows as hda1 that was vfat, the hda2 is the ntfs drive and i mounted it correctly.
Now all I need to do is to set it so only root and my user account can read this. what umask setting would that be. I tried 666 and 777 but i'm pretty sure i don't know what I'm doing in fstab. I used to use Fedora and it would mount it in installation, but i forgot to do that in Debian. Thanks in advance.
ok, I figured out that I had a back up drive on windows as hda1 that was vfat, the hda2 is the ntfs drive and i mounted it correctly.
Now all I need to do is to set it so only root and my user account can read this. what umask setting would that be. I tried 666 and 777 but i'm pretty sure i don't know what I'm doing in fstab. I used to use Fedora and it would mount it in installation, but i forgot to do that in Debian. Thanks in advance.
umask is the inverse of the octal codes specified for --eg--the chmod command.
Read each rwx group as an octal number from 0-7:
r=4
w=2
x=1
So, in chmod: 7=rwx, 6=rw, 5=rx......etc.
umask TURNS OFF bits that would otherwise be on. thus umask 222 turns off write privileges for everyone. Root always has full privileges so to turn off privileges for all but one account, you would need 7 in the last field AND the user with privileges would have to either be the file owner or belong to the group.
I may have already spoken beyond my knowledge... Look at man umask, man chmod, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.