LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2005, 02:29 AM   #1
malaka56
LQ Newbie
 
Registered: Apr 2005
Posts: 26

Rep: Reputation: 15
GRUB configuration


hey all, this is the first time ive used linux since about 98 or so, and GRUB is new to me, but i remember lilo.
anyway, i have a stupid problem that im sure someone can answer quite easily.

i installed ubuntu on half of /dev/hda, when i already had a full XP on /dev/hdb, so when i installed grub, it added both of them. After this, I installed another XP on /dev/hda on the remaining free space, and of course, this overwrote grub, so i had to "apt-get grub install --reinstall" from a live CD. However, when i re-install grub (even though i wrote the new config files to the /boot on the hard drive and not the liveCD), it reads the old config files from /boot/grub or /etc/grub or where ever they are stored, and only gives me the option between booting from my ubuntu distro and /dev/hdb XP. i want to be able to boot the new XP on /dev/hda . im not really sure how to add this to grub, or to edit the config files manually. any help would be appreciated, and yes i RTFM and it is horrible. thanks.
 
Old 06-02-2005, 03:23 AM   #2
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
You'll need something like this in your /boot/grub/menu.lst

Code:
title           Microsoft Windows XP Home Edition
root            (hd0,0)
savedefault
makeactive
chainloader     +1
I guess that you have some thing like it already but with the line

Code:
root     (hd1,0)
 
  


Reply



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 Configuration RJDavison Fedora 4 05-21-2004 01:44 PM
Grub configuration unicef2k Red Hat 3 05-12-2004 06:25 AM
GRUB splashimage configuration / update GRUB rudL Linux - Software 1 05-10-2004 07:16 AM
GRUB configuration jiggywiggy Linux - Software 5 09-02-2003 04:34 PM
GRUB Configuration RedHatMN Linux - Software 3 01-22-2002 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 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
Open Source Consulting | Domain Registration