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 stopped Dualbooting and I dont want to have to choose the OS anymore and just have it load Ubuntu like normal like before?

Any help is appreciated.

share|improve this question
    
If you stopped dual booting, probably you have stopped using the other OS. Why cant you remove the other OS so that ubuntu can boot normally. –  karthick87 Mar 8 '12 at 8:37
    
Duplicate of (either) askubuntu.com/questions/124074/… or askubuntu.com/questions/52963/… –  david6 Jun 13 '12 at 7:57
    
if any of these answers "answered" your question please accept one of them :) –  blade19899 Jul 11 '12 at 16:04
    
@david6: I don't see how either of those are duplicates of this question. I think this is about hiding the grub menu during the timeout. –  oKtosiTe Sep 20 '12 at 9:36
    
Sorry, the second link was supposed to be: askubuntu.com/questions/66070/… This includes how to: Hide the Grub2 menu, and use the default menu option –  david6 Sep 20 '12 at 9:49

9 Answers 9

So you can just change grub settings.


type in terminal

  1. sudo gedit /etc/default/grub
    you need to change thsis
  2. in the GRUB_HIDDEN_TIMEOUT_QUIET=false change to GRUB_HIDDEN_TIMEOUT_QUIET=true

  3. save that file

  4. type sudo update-grub

IF

you don't get result just look at this bug.

share|improve this answer
3  
it is currently changed to True but I still see the grub menu... –  Alex Poulos Mar 9 '12 at 4:56
    
Im on 12.04 and i tried this but it already said "true" and it still shows up. The only other OS's I have are the failsafe and Memtest - that's it. I've already deleted my Windows Partition and updated grub and the menu still shows. –  Alex Poulos Mar 9 '12 at 5:11
    
@AlexPoulos look at this link –  geoh Mar 9 '12 at 14:41
1  
Worked for me by changing the timeout to 0 and then make it quiet. Thanks –  king_julien Mar 14 at 7:58

I tried all those tips they didnt work, ended up reducing the timeout time to zero as follows:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
share|improve this answer
    
run sudo update-grub after changing the values –  Nikhil M May 27 at 14:34

You need to edit the file at /etc/default/grub to prevent showing the grub menu.

By default, the entries in that files look like this.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
  • Remove the # mark from second line, and
  • Change the line GRUB_HIDDEN_TIMEOUT_QUIET=false to GRUB_HIDDEN_TIMEOUT_QUIET=true.

After changes, the required portion of the file will look like this


GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
  • Then run sudo update-grub command in the terminal, and reboot to see the result.
share|improve this answer
1  
I had this configuration but still the grub menu appears. –  YumYumYum Aug 9 '13 at 7:51

if you want to remove a boot entry just type in:

sudo update-grub

If that doesn't work, install the startup manager, like so:

sudo apt-get install startupmanager


with startup-manager you can

  1. choose with entry to boot in,
  2. choose the resolution and, how long to wait before booting,
  3. you can also choose 0 for automatic booting the default boot-entry
share|improve this answer
    
burg but he is taking about grub –  Naruto Mar 8 '12 at 8:38
    
sorry typo. it supposed to be sudo update-grub, i edited the answer –  blade19899 Mar 8 '12 at 8:46
    
The only issue with this is that the version of Startup-manager I have doesn't show much options -Imgur –  Alex Poulos Mar 9 '12 at 4:50
1  
Im on 12.04 and i tried this but it already said "true" and it still shows up. The only other OS's I have are the failsafe and Memtest - that's it. I've already deleted my Windows Partition and updated grub and the menu still shows –  Alex Poulos Mar 9 '12 at 5:11
    
next to "timeout in seconds" there is a box with the number 10 rename it to number 0 –  blade19899 Mar 9 '12 at 10:01

I had the same problem and none of the tips here worked! The only way was to change /boot/grub/grub.cfg manualy. At some point of this file he makes the timeout goes to 10! So, just comment those lines

if [ "${timeout}" = 0 ]; then
  set timeout=10
fi

But, you can never do update-grub again, otherwise it will turn back to the same file, and timeout is going to 10 again! Save the file (in vi you will need to force it even if you are su!). Restart the computer and it will work just fine!

share|improve this answer
    
Interesting, why not if [ "${timeout}" = 10 ]; then set timeout=0 fi ? Or simply remove the if statement entirely and just leave set timeout=0? –  Elder Geek Jun 25 at 3:22

Add the following line to /etc/default/grub:

GRUB_FORCE_HIDDEN_MENU="true"
share|improve this answer

I've been seeing a lot of people saying that the suggested answers don't work for them. I tried several options and this one worked for me:

Edit /etc/grub.d/00_header, and find:

if [ "\${recordfail}" = 1 ]; then
  set timeout=-1

Change it to...

if [ "\${recordfail}" = 1 ]; then
  set timeout=10

And run update-grub.

share|improve this answer

for all of you that have word splash in cmd line anything but hardcoding 0 for timeout won't work,,

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Try removing word splash from second last line, update and reboot,, voila, no menu :)

hth, krex

share|improve this answer

I tried everithing but the menu still apearing. I solved that problem disabling the OS Prober. I did that because in /boot/grub/grub.cfg in the part generated by the template /etc/grub.d/30_os-prober, there was an overriding of "timeout" to 10 and "style" to menu.

Edit /etc/default/grub and add this line:

GRUB_DISABLE_OS_PROBER=true

Hope you find this useful!

BTW, my full /etc/default/grub is:

GRUB_DEFAULT=0

GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden

GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_DISTRIBUTOR= [...]

GRUB_DISABLE_OS_PROBER=true

GRUB_RECORDFAIL_TIMEOUT=0

Happy coding

share|improve this answer

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.