XBMC Live installed beside Windows 7
#1
Is there a way to change the default selection in the start up screen to default to my Windows 7 install rather than the XBMC install, so if I restart in windows it will boot back into windows unless I change the selection on the intial boot menu to XBMC?
Reply
#2
Yeah, you need to boot into your Linux install to do this.

If you can quit to the linux shell from XBMC then do so, otherwise press <ctrl>+<alt>+<f1> to get to a terminal window. You may need to log into the system at this point - Username & password should both be xbmc if its a default install.

Then, once in the terminal do
Code:
sudo nano -B /etc/default/grub


If asked for a password, its the same as you used to login.

This is the file that tells the bootloader what to start, and what menu entries to display. It'll look something like this at the top.
PHP Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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="" 

Change the line reading GRUB_DEFAULT=0 to read GRUB_DEFAULT=saved. Put the cursor at the end of saved and hit ENTER to get a blank line.
Add the following text into the blank line GRUB_SAVEDEFAULT=true
Press <ctrl>+o to write out the new changes and then <ctrl>+x to exit.

Now you have to update the files. You do this with
Code:
sudo update-grub

Now reboot the PC with
Code:
sudo reboot

From this point on, your PC will boot into the last OS you used, unless you choose a different one from the menu at boot time.

So, if when it reboots you choose Windows, it will always boot to Windows unless you choose XBMC.
Learning Linux the hard way !!
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Live installed beside Windows 70