LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-30-2006, 09:28 AM   #1
blooperspree
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
Question DualBooting with Mepis and GRUB ; Error message of 'Kernel must be booted'


I installed another hard drive and put mepis on it and kept the windows xp that was on my first one. I have it set up so that my linux drive is master and windows is slave but when I choose to boot Windows from GRUB it goes to an MS-DOS screen with 'grub>' on the command line. 'TAB' brings up possible commands although none will work. I type in command 'boot' and it says 'kernel must be loaded beffore booting'. Does anyone have any answers to this?
 
Old 10-31-2006, 03:49 AM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Windows does not like to be a slave.

Try these commands at that 'grub>' prompt (this is NOT an MS-DOS prompt, this is the grub command line):
Code:
root (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
boot
These commands do the following:
1 - set the 'root' (in grub-speak, not linux-speak) location to the master boot record on the SECOND disk (first would be hd0).
2 - tell windows that the first disk is the second
3 - tell windows that the second disk (that's the windows disk) is first, this is where it wants to be
4 - tell grub to load another bootloader at the master boot record on the second disk (that's the windows MBR)
5 - tell grub to boot windows

If this works, then these are the commands that need to be listed in the /boot/grub/menu.lst file, in your Windows entry. You can edit the file with a text editor, like nano or vim, from linux. Then come back to the forum and tell us it worked, so others may benefit. If this doesn't work, post your /boot/grub/menu.lst here.

Any words you don't understand, try googling 'wiki <word>'

Welcome to linux.

Last edited by bernied; 10-31-2006 at 03:54 AM.
 
  


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 error message tonycampos Linux - Laptop and Netbook 16 03-09-2006 02:16 AM
GRUB error when Mepis is removed. LQer928 Linux - Newbie 16 02-28-2006 12:56 AM
Can't get server booted with raid, get "grub" error Sc0rian Linux - Software 9 02-09-2005 05:53 PM
GRUB & Dualbooting mrizos Linux - Newbie 1 11-18-2004 02:25 PM
GRUB error message Mathsniper Linux - Software 1 10-04-2004 07:00 AM

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

All times are GMT -5. The time now is 01:49 PM.

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