UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Months ago I modified my etc/fstab file to account for a second harddrive. Got busy, never linked up the second drive to put a new /home directory onto.
But today I went to unmount my cdrom and got an error that stated there was and error in line 11 of the fstab. Not sure at this point if I simply left something incomplete or not. My fstab file is below.
If anyone could either tell me why it is improperly configured or where I can go find a proper configuration template.... I would appreciate it.
I haven't tried the your suggestion yet but I started poking around and found a mini fstab lesson in wikipedia. Based on that, would the following configuration be a better option? Also, two questions:
1. sdb2 doesn't have a UUID -- how do a get/make one? Is one necessary?
2. I want to put /home on sdb2, I noticed in the example on wikipedia that the dump/pass settings for the two drives (hda2 and hdb1) were 1 1 and 1 2 -- should mine be the same? Or would 0 1 and 0 2 work?
I want to put /home on sdb2, I noticed in the example on wikipedia that the dump/pass settings for the two drives (hda2 and hdb1) were 1 1 and 1 2 -- should mine be the same? Or would 0 1 and 0 2 work?
a. to dump or not to dump, that is the question. The Loan Ranger used to ponder this one.
b. yes
The fifth and sixth feilds are fs-freq and fs-passno.
fs-freq=0 just means there's no need to dump(8) it.
Quote:
would the following [fstab]configuration be a better option?
No. It contains the same error as before. Also, proc should be first. Then root, then swap.
The order of records in fstab is important...
-- FSTAB(5) Linux Programmer’s Manual
swap can be last, but it is tidier to put it before non-uuid entries.
Last edited by Simon Bridge; 12-18-2007 at 06:57 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.