LinuxQuestions.org
Help answer threads with 0 replies.
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 11-04-2006, 10:07 AM   #1
blooperspree
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
Question DualBooting with GRUB ; Need Help Editing GRUB


I've posted a couple different threads about this same problem but my friend was trying to help me and he suggested that I copy and paste the GRUB menu commands and ask what's wrong with it ; he also mentioned that I ask how I would edit. The GRUB menu commands are as follows :

timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title SimplyMEPIS Linux at hda2, kernel 2.6.15-26-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda2 nomce quiet vga=791
boot

title Microsoft Windows XP Professional at hdb1
rootnoverify (hd1,0)
chainloader +1

title MEMTEST
kernel /boot/memtest86+.bin

Does anybody see anything wrong and can anyone help me?

{Note : My friend brought up the GRUB menu commands and put them in Kwrite , so I have no idea how he get there or how to edit it}
 
Old 11-04-2006, 10:43 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
First, what's the problem? Is it that windows doesn't boot with this config?

If so, change this:
title Microsoft Windows XP Professional at hdb1
rootnoverify (hd1,0)
chainloader +1

to this:
title Microsoft Windows XP Professional at hdb1
rootnoverify (hd1,0)
map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)
makeactive
chainloader +1

windoze wants to be on the first partition of the first drive. it generally refuses to boot unless you tell it a little lie (the map lines).

As for editing /boot/grub/menu.lst, it can be edited by root. So if you are logged in as user, su to root, and use a text editor such as vim or emacs to edit. If you want to use a GUI editor as root, do this:
as user, give the command 'xhost +localhost'.
su to root
start the editor from command line: example: /opt/kde3/bin/kwrite /boot/grub/menu.lst (that's where kwrite executable is in SuSE 9.3. get the location on your system with 'which kwrite').
 
Old 11-04-2006, 11:23 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by blooperspree
{Note : My friend brought up the GRUB menu commands and put them in Kwrite , so I have no idea how he get there or how to edit it}
This is one of the biggest problems that can happen to new users. My advice: don't let your friend do stuff on your computer unless you know what he is doing. Make him show you...

The grub config files are in /boot/grub the name is menu.lst or grub.conf
The easy way to edit a config file is to first issue "su" to become root, and then use a SIMPLE cli editor like nano.
 
  


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
DualBooting with Mepis and GRUB ; Error message of 'Kernel must be booted' blooperspree Linux - Kernel 1 10-31-2006 03:49 AM
Back to Slack! Questions on dualbooting with GRUB instead of LILO Matt.Ramos Slackware - Installation 1 04-17-2006 08:23 PM
Dualbooting WinXP and Suse 10.0 using GRUB Zmyrgel Linux - Newbie 5 01-27-2006 02:58 PM
GRUB & Dualbooting mrizos Linux - Newbie 1 11-18-2004 02:25 PM
Grub: Editing Kryptow Linux - Newbie 4 09-05-2002 01:47 AM

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

All times are GMT -5. The time now is 06:28 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