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
Now reboot the PC with
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.