edit a file /etc/fstab , what parameters can be changebale and which parameters
DebianThis forum is for the discussion of Debian 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.
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.
edit a file /etc/fstab , what parameters can be changebale and which parameters
Hi guys,
I can't find any detail explanation which parameters on /etc/fstab file I can change and not cause critical errors for system. Which values they can get.
After i change some parameters I stuck after reboot system on "Emergency-mode" and sometimes system changed to red-only.
If you provide specific information as to what settings you have attempted to change and what you wish to accomplish, perhaps more precise responses could be provided.
When I edit /etc/fstab, I commonly comment out the line I intend to change and create a new line with the changes I wish to make. That way, I can quickly restore the original line if I break something.
Can you please post the contents of your /etc/fstab here. That will allow us to better answer your question.
This is content of my
Code:
fstab
file
Code:
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/mmcblk0p2 during installation
UUID=568132ff-7f47-48f2-aaae-87454a461df2 / ext4 errors=remount-ro 0 0
# /boot was on /dev/mmcblk0p1 during installation
UUID=85074b4a-e89a-48d6-aa48-0dbc3ead6839 /boot ext2 defaults 0 0
# swap was on /dev/mmcblk0p5 during installation
UUID=4382df77-81fe-4310-9e1f-b92ce6b551fe none swap sw 0 0
#10.0.0.1:/home/developer/devel /root/devel nfs rw,async,hard,intr 0 0
When I change <dump> or <pass> to 1 instead of 0 system start behave strange
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/mmcblk0p2 during installation
UUID=568132ff-7f47-48f2-aaae-87454a461df2 / ext4 errors=remount-ro 0 0
# /boot was on /dev/mmcblk0p1 during installation
UUID=85074b4a-e89a-48d6-aa48-0dbc3ead6839 /boot ext2 defaults 0 0
# swap was on /dev/mmcblk0p5 during installation
UUID=4382df77-81fe-4310-9e1f-b92ce6b551fe none swap sw 0 0
#10.0.0.1:/home/developer/devel /root/devel nfs rw,async,hard,intr 0 0
When I change <dump> or <pass> to 1 instead of 0 system start behave strange
Can you try setting <pass> to 1 for / and 2 for /boot. Leave it as 0 for the swap partition, and leave all the <dump>s as 0 (assuming you're not using the dump utility).
Let us know what happens.
As a side question, are you using Grub? If so, after you've rebooted, can you run update-grub as root and paste the output here?
Can you try setting <pass> to 1 for / and 2 for /boot. Leave it as 0 for the swap partition, and leave all the <dump>s as 0 (assuming you're not using the dump utility).
Let us know what happens.
As a side question, are you using Grub? If so, after you've rebooted, can you run update-grub as root and paste the output here?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.