Home > How To > Change Boot Configuration on Ubuntu 10.10

Change Boot Configuration on Ubuntu 10.10

My daily work revolves around Windows, Putty.
My laptop which runs Ubuntu 10.10 and Windows 7 as dual boot.
I wanted to change the default boot conf to Windows 7 instead of Ubuntu (which I just use when I am messing around something ).
Anyways, I logged into Ubuntu 10.10 and went to my know place to change boot configuration /boot/grub/menu.lst
But to my surprise it is not there. Little looking around got me want I wanted.
Below is steps you need to follow to change your default boot configuration.

  1. Go to Terminal – Type “sudo vim /etc/default/grub” .
  2. Change “GRUB_DEFAULT=0″ to “GRUB_DEFAULT=4″ 
    • Remember sequence start from 0 , if your OS is on 5th on the list, in boot menu then you enter 4 in the “grub” file.
  3. Save the file.
  4. Type “sudo update-grub” in the terminal.
  5. Reboot and have fun with Windows 7 as the default OS to be booted.

Output for my system.
ahmed@ahmed-on-Edge:/etc/default$ sudo vim grub
[sudo] password for ahmed:
ahmed@ahmed-on-Edge:/etc/default$ update-grub
grub-mkconfig: You must run this as root
ahmed@ahmed-on-Edge:/etc/default$ sudo update-grub
Generating grub.cfg …
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done

Advertisements
Categories: How To
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: