 | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | Dual boot error - GRUB loads only. Hi,
NOt totally sure if this is the right place, but i think the GRUB loader is more to do with Linux than anything else in this post!
I have just completely reinstalled my laptops after problems with dual booting before (using Norton Partition Magic). I reinstalled XP - after creating 4 partitions on my 40GB laptops drive:
7GB NTFS Windows
5GB EXT2 Linux
500MB SWAP
25GB FAT32 - shared data storage for both OS's
I installed XP, all fine, then installed SuSe 10.1, also all fine.
Booted to both (via the SuSe loader) (Windows is just another option). Updated both, and had bit of play around...didnt change anything thogugh, only really installed a few apps on the windows install.
So, anyway, now when I start the laptop it just comes up with:
GNU GRUB version 0.97 (636k lowe / 1039174k upper memory)
[Minimal BASH-like line editing is supported. For the forst word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub>
And that's it.....now I really have no clue where to go from here>?! I know you can edit the grub config - maybe that;s why it['s not booting the OS....
Any ideas? Even how to check the config?
Thanks in advance. | | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | OK, I've looked into this a bit, and it seems there's some bad config in the grub.conf file.
So, I tried to load the kernel:
root (hd0,6)
kernel (hd0,6)/boot/vmlinuz
boot
And it loads the kernel but it fails to mount the root.
The actual error is:
VFS: Cannot open root device "<NULL>" or unknown-block(8,6)
Please appeand a correct "root=" boot option
Kernel panic - not suncing: VFS: Unable to mount root fs on unkonwn-block (8,6)
HELP!!  ( | | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | I keep getting an error when I try to reinstall it!  (
Error 21: Selected disk does not exist
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0,6) /boot/grub/stage2 0x8000 (hd0,6)/boot/grub/menu.lst
Error 12: Invalid Device requested
grub> install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (/boot) /boot/grub/stage2 0x8000 (hd0,6)/boot/grub/menu.lst
Please, please help! | | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | Here is how the config file looks:
# Modified by YaST2. Last modification on Mon Aug 21 20:54:15 BST 2006
color white/blue black/light-gray
default 0
timeout 10
gfxmenu (hd0,6)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
root (hd0,6)
kernel .boot/vmlinuz root=/dev/hda7 resume=/dev/hda6 splash=silent showopts
initrd /boot/initrd
title Windows
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
root (hd0,6)
kernel /boot/vmlinuz root=/dev/hda7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd
If anyone can tell me how this SHOULD look, or what might be wrong, I'd really appreciate it ;o)
It worked, I didnt change anything, I rebooted and then it didnt work! | | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | Basically I just need to know where to put the boot loader (/dev/hda?) or on the Linux partition? And should I replace MBR with generic code and activate partition?
For SUSE it has Image/Device: /boot/vmlinuz (/dev/hda7, root=/dev/hda7)
Could a Windows update have screwed this up??? I saw that SP2 could mess it up on another forum...I cant see it myself, but gotta ask ;p
Last edited by matulike : 21-Aug-2006 03:22 PM.
| | Member with 33 posts. | | Join Date: Aug 2006 Experience: Advanced | | Just so it's written down  here';s the /etc/grub.conf too:
root (hd0,6)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,6) /boot/grub/stage2 0x8000 (hd0,6)/boot/grub/menu.lst
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,6)/boot/grub/menu.lst
quit
And /boot/grub/device.map:
(hd0) /dev/hda | | Distinguished Member with 2,835 posts. | | Join Date: Jun 2004 Location: Newcastle Experience: A Linux user gone nuts on multi-boot | | You have menu.lst.
You have a Grub prompt.
In a Grub prompt no working PC system cannot be booted.
So in Grub prompt just type the relevant lines of menu.lst
In a nutshell to boot your Suse, just type Code: root (hd0,6)
kernel .boot/vmlinuz root=/dev/hda7 resume=/dev/hda6 splash=silent showopts
initrd /boot/initrd
boot
To boot Windows just type Code: root (hd0,0)
chainloader +1
boot
If the above works and you want the arrangement permanent then next time in a Grub prompt type these lines Code: root (hd0,6)
setup (hd0)
If you need explanation have a look at Task A7 in the last link of my signature. |  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
|
Smart Search
| Find your solution! | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 06:13 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|