Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-19-2013, 09:28 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Smile 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.
Old 02-19-2013, 11:10 AM   #2
Senior Member
Registered: Jan 2011
Distribution: /LFS/Centos6.3/Debian
Posts: 2,196
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327

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
sudo vim /etc/default/grub
 gksudo gedit /etc/default/grub
The part that needs editing is

# 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_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
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
sudo update-grub

Last edited by spiky0011; 02-19-2013 at 11:32 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub failure and problems with grub or ubuntu reinstall. bboy2448 Linux - General 9 05-12-2011 06:18 AM
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 03:54 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration