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 an ubuntu and archlinux multiboot system. The grub is installed by the ubuntu system. So, it is grub 2. I want to set the nomodeset for the arch boot. I am unable to set it permanently.

I cannot edit /boot/grub/grub.cfg as it is autogenerated

Editing /etc/default/grub not working as well (as it changes only the Ubuntu setting)

Any ideas?

share|improve this question
1  
AFAIK the menu-entry for other os in grub is written through os-prober if you don't have custom menu entry. You may try to edit 30_os-prober file in /etc/grub.d/ from line 229. –  sagarchalise Feb 16 '12 at 8:14
add comment

2 Answers

The solution requires a config file edit to /etc/grub.d/30_os-prober. Be sure to back up the original file, first!

You need to find the line that says, "linux ${LKERNEL} ${LPARAMS}" and change it to say "linux ${LKERNEL} ${LPARAMS} nomodeset".

Then run update-grub and try it out.

Tim

share|improve this answer
add comment

I red through the Ubuntu posting here https://help.ubuntu.com/community/Grub2#A.2BAC8-etc.2BAC8-default.2BAC8-grub_.28file.29

I cannot find any reference to modding the GRUB file to incorporate what you want to do.

The only thing you might try is the grub-customizer. It has additional settings and can do custom entries.

share|improve this answer
    
The question seems to be how to set an option for the Arch boot, given that modifying Grub 2 will only modify the Ubuntu boot. Your answer just tells him how to check his version of Grub...which he already knows. –  Chan-Ho Suh Feb 16 '12 at 4:24
    
I thought it was purposed as a question. "So, it is GRUB 2". I was given the impression that you were unsure. –  Ringtail Feb 16 '12 at 4:50
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.