LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hi to all members. I need some help with ubuntu 12.04 grub. (https://www.linuxquestions.org/questions/linux-newbie-8/hi-to-all-members-i-need-some-help-with-ubuntu-12-04-grub-4175450801/)

Tony-C 02-19-2013 09:28 AM

Hi to all members. I need some help with ubuntu 12.04 grub.
 
Hi, I'm tony , and new to Linux forums I've been using Linux for a while, and still newbie to Linux, I'm asking for help, I not familiar with this site, so I would to know where can I get some help relate to ubuntu 12.04. I hve dual system with Xp, I'm a friends aske to set up Xp as a default boot system, but I'm having problem with the grub on pangolin, i can't edit it. So please is there any Start up manager that works with pangolin or some other ways to fix this issue. Please any answer will help. thanks for your time.

spiky0011 02-19-2013 11:10 AM

Hi

I think what you would like is for windows to boot as default and not ubuntu
If this is correct it can be done,

Boot into ubuntu
Code:

sudo vim /etc/default/grub
or
Code:

gksudo gedit /etc/default/grub
The part that needs editing is

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<< "the 0 needs to be changed to the number that corresponds to windows"
#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=""

I cant tell you which one that is, As grub loads just count which number is windows then change the 0 to the number

When you have edited the file run
Code:

sudo update-grub


All times are GMT -5. The time now is 06:44 PM.