Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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"?. – Rufo El Magufo Aug 12 '11 at 23:02
    
@Juan: Fixed, thanks! – Patches Aug 13 '11 at 0:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .