LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-13-2009, 08:21 AM   #1
Ubuntu213
LQ Newbie
 
Registered: Aug 2008
Posts: 23

Rep: Reputation: 0
GRUB issue


Hi,
After installing Ubuntu 8.10 in my laptop I-ve partitioned the disk and I-ve installed win xp in another partition. Since this GRUB doesn-t appears when my laptop boots and I can only use xp. How to solve this?
 
Old 02-13-2009, 08:28 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
xp overwrote the bootloader links in the mbr.

get a live cd and just re-link the mbr to your /boot partition

eg if /boot is on partition 5

Code:
su
grub
root (hd0,4)
setup (hd0)
quit
while in live mode...mount the harddrive partition and edit grub's /boot/grub/menu.lst to have a chainloader menu

my signature may help?

if you do not know how to use a live cd...too well..after doing just the grub...reboot to hard drive...boot into linux and then edit that file with root powers..the file /boot/grub/menu.lst

Last edited by aus9; 02-13-2009 at 08:30 AM.
 
Old 02-13-2009, 01:40 PM   #3
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
sudo grub
find /boot/grub/menu.lst (use the output in the next step)
root (hdx,y)
setup (hd0)
quit

To use "su" in ubuntu you must use,

sudo su
 
Old 02-13-2009, 02:15 PM   #4
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 13.2, 42.1, and 42.2, OS X 10.10, Ubuntu 16.04, and Linux Mint 17.3
Posts: 545
Blog Entries: 9

Rep: Reputation: 58
To make sure XP does not override GRUB again, always install Windows first, then Ubuntu. As a warning, I have not figured out how to change the default OS from Ubuntu to another OS.
 
Old 02-13-2009, 04:15 PM   #5
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
Originally Posted by wagscat123 View Post
To make sure XP does not override GRUB again, always install Windows first, then Ubuntu. As a warning, I have not figured out how to change the default OS from Ubuntu to another OS.
Some info on grub.

http://users.bigpond.net.au/hermanzone/p15.htm
 
  


Reply


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
Grub issue nr5 Linux - Software 16 01-22-2006 01:20 PM
Grub Issue mjwhitby Linux - General 3 02-25-2005 09:52 PM
Grub issue gmanigault Linux - Software 5 12-07-2004 03:23 PM
Issue with GRUB Aktionman Linux - Software 3 12-15-2003 07:16 AM
GRUB issue Galileo430 Linux - Newbie 3 04-07-2003 04:19 PM


All times are GMT -5. The time now is 06:52 AM.

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