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

I can mount my Live Ubuntu partition with this sudo mount -o remount,rw /cdrom what i'm asking is simple.How to make that command running automatically on every Live USB boot ?


share|improve this question
up vote 0 down vote accepted

Place that command in a script and add the script to the init scripts. If you are using some init-alternative, place your new script where appropriate or follow what ever structure it may use for storing commands that will be executed on run-time.

If you want to know how to add scripts to init, look at this thread - How to install an init.d script in ubuntu?

share|improve this answer

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.