Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

The file is /etc/inittab and the sda1 partition has been mounted. However, when I open the file in a text editor it is in read-only format.

How do I make it writable from my Ubuntu 10 live CD?

share|improve this question

The file /etc/inittab can only be edited by root.

To edit this file from a "normal" user account with a console based editor like nano use:

sudo nano /etc/inittab
share|improve this answer
Hi, so do i need to be logged in as root? how do I do that from a livecd? – user139646 Mar 12 '13 at 10:49
@user139646 see updated answer – H.-Dirk Schmitt Mar 12 '13 at 10:53
The LiveCD user is an password-less admin in the system, you just need to use sudo to elevate the commands you normally use and be able to edit the file. – Bruno Pereira Mar 12 '13 at 11:00
I'm not very familiar with nano unfortunately, is there any simple editor that could work? – user139646 Mar 12 '13 at 11:06
joe, emacs -nw, vim, ed :-), ... – H.-Dirk Schmitt Mar 12 '13 at 11:08

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.