Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have ubuntu 13.04 and kernel 3.11.

When I press e key at grub bootmenu I see the read only ro option at root partition and when I start system with that option I have low resolution and other problems. Otherwise removing ro option before starting the system makes everything work fine.

I would like to know how to permanently remove ro option. I have already checked /etc/default/grub but there is no ro, here is my grub:

GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_DEFAULT=saved
GRUB_GFXMODE=1920x1080
GRUB_SAVEDEFAULT=false
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

How can I do that? What file do we see when using e key at grub bootmenu? If I know that maybe I'll be able to edit it.

Thanks

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

The file you're looking for is /etc/grub.d/10_linux. Look for the line

linux   ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}

and remove ro from it. You should then let grub update its /boot/grub/grub.cfg by running

sudo update-grub

You shouldn't edit the file /boot/grub/grub.cfg manually as it will be restored to default each time you upgrade the grub package.

Edit

That said, it's probably not a good idea to remove the ro parameter. This parameter is there for a reason: it's so that filesystem consistency check (fsck) utilities can work safely on the root device at boot time. Your /etc/fstab then ensures that it will get remounted rw. See man bootparam

share|improve this answer
    
ok great thanks I'll try it, do you it's safe to remove ro from root partition? –  Frank Sep 10 '13 at 10:54
    
@Frank It's probably not a good idea. This parameter is there for a reason: it's so that filesystem consistency check (fsck) utilities can work safely on the root device at boot time. Your /etc/fstab then ensures that it will get remounted rw. See man bootparam. –  Joseph R. Sep 10 '13 at 12:12
add comment

The file which your are looking for is in /boot/grub/grub.cfg but don't ask me further how to configure it.. ;) I really don't know.

At least I can suggest you these links:

I would like you to edit my post and give possible solution once you overcome from your issues. I hope it helps you somewhat to get your solution.

share|improve this answer
add comment

Your Answer

 
discard

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.