Computing.Net > Forums > Linux > Grub error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Grub error

Reply to Message Icon

Name: Darren
Date: April 28, 2003 at 17:20:54 Pacific
OS: Linux 9 and windows xp
CPU/Ram: 128 amd1800+
Comment:

I initially had windows xp and then installed linux 9. I was not able to get windows to boot. I redid the grub.conf and added "hide (hd1,0) unhide (hd0,0)" because windows was on the first drive and linux is on a seperate drive. after doing this, windows booted once. I went to reboot and now all I get is a "grub>" prompt and instructions. I have tried to use linux rescue from the installation cd, and found that my boot disk no longer works. I am tempted to simply reload windows and hope that it will come back, but ?I really want them both to work. PLEASE HELP.



Sponsored Link
Ads by Google

Response Number 1
Name: egkenny
Date: April 28, 2003 at 19:55:12 Pacific
Reply:

Can you boot Linux using the boot floppy you created? If not, what happens when you boot to linux using the installation CD and type "linux rescue".

When you get to the command line type:
chroot /mnt/sysimage

This will put you back in linux.

If you get this far check which partitions you have.

For the first disk type:
fdisk -l /dev/hda

For the second disk type:
fdisk -l /dev/hdb

Type the contents of grub.conf by typing:
cat /boot/grub/grub.conf

Post the output of the fdisk commands and the contents of the grub.conf files if you get this far.



0

Response Number 2
Name: darren
Date: April 29, 2003 at 09:42:27 Pacific
Reply:

The followup to what was asked for is as follows.

I found that myt boot disk no longer works. As far as the fdsik commands go:
/dev/hda has device /dev/hda1 * 1 2503 20105316 c win95fat32

/dev/hdb1 * 1 492 3951958+ 93 Amoeba
/dev/hdb2 493 534 257040 82 Linux swap

the grub.conf is:
default=1
timeout = 10
splashimage= (hd1,0)/boot/grub/splash:xpm.gz
password - -
title Redhat linux (2.4.20-8)
root (hd1,0)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide
initrd /boot/initrd-2.4.20-8.img

title windows xp
map (hd1,0) (hd0,0)
map (hd0,0) (hd1,0)
rootnoverify
chainloader +1

I have even tried using the hide coomand within the grub.conf and it does not work. It did allow me to boot windows once and from that time on all i get now when i reboot or power up is a grub prompt with instructions above it. I even tried to boot to rescue mode and redo grub with an old copy and it will not work. I think that i may need to reload xp to get funtional but i really like linux and want it to run also. Maybe I need to looad them both on the one disk and use the other for storage only?

Please help if you can and thank you in advance.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How to install RH8 after ... Mandrake, loging in as ro...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Grub error

Grub error 28 www.computing.net/answers/linux/grub-error-28/17579.html

Grub error messages www.computing.net/answers/linux/grub-error-messages/29691.html

Grub: Error 28 With RedHat 7.3/8.0 www.computing.net/answers/linux/grub-error-28-with-redhat-7380/14691.html