Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing.

The system boots as readonly.

What are default fstab mount parameters in Debian for ext4 root and swap?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can get your system's default mount options by simply entering defaults in the mount options section of /etc/fstab. For instance:

UUID=1f894590-b69e-4113-9142-b189d3adb33f    /    ext4    defaults    1 1
share|improve this answer
And the defaults are defined in the kernel. You have a typo. Can you correct "/ext4" for "/ ext4"?. – J.F. Aug 12 '11 at 23:02
@Juan: Fixed, thanks! – Patches Aug 13 '11 at 0:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.