LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-09-2003, 07:17 PM   #1
Pathian
Member
 
Registered: Sep 2003
Location: Dayton, Ohio and Hoffman Estates, IL
Distribution: Slackware 9.1 (laptop) Mandrake 9.2 (desktop)
Posts: 58

Rep: Reputation: 15
install failed, GRUB freezes on boot.


I had a dual boot running on my laptop with WinXP Home and RH9. A friend of mine convinced me to try using Debian, so I got the CDs and tried installing Debian over rh9. Something went wrong with the debian install halfway through and I decided that I would rather stick with RH9. So I popped my RH9 install CDs back in and installed with the Lilo boot loader. However, when I rebooted my computer, after the initial bootup screen, I recieved a black screen with the word GRUB at the top, and the computer locked and allowed me to do nothing. I had the forsight to create a linux boot disk, but I have no such disk for Windows. I really really need to get back in to windows because my critical documents are in there. Does anyone know how to repair this so that I can just boot into Linux or Windows from GRUB, Lilo, or the Windows boot loader normally? I have a feeling the MBR may have been overwritten when I tried the debian install, but I have no idea. I tried using the Windows recovery option on the bootable install CD, but it did nothing to solve the problem.
 
Old 11-09-2003, 07:34 PM   #2
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
[Did you say you can boot up with a boot disk? Doh! Less /etc/lilo.conf and see what you see there. Do the same with /boot/grub/grub.conf. If RH is running, and the .conf files are correct you should be able to run /sbin/lilo or the grub equivalent. Actually, I have never had precisely what you describe happen to me--it's kind of interesting. If that doesn't work, or even if it does, put in another entry. OK?]

Oops! Did you finish the RH9 reinstall? Can you boot up using the first linux RH install disk under "linux Rescue"?

Put in the first RH 9 disc, type in linux rescue. It will mount your /root in /mnt/sysimage. After that it is a matter of your layout. /boot needs to be explored to see if you still have a kernal image and everything in there.

If all looks okay, then less /mnt/sysimage/etc/lilo.conf. If that looks okay, then the scripts didn't run lilo before you shut it down. If all looks ok, type a full path to lilo--I think it would be /mnt/sysimage/sbin/lilo check my spelling, caps, and path.

Also check /boot for /grub/grub.conf see what you see there. Frankly, I think grub improved a whole lot since the days of RH 7.2. It is my boot loader of choice today.

I would worry, though, because you now no longer have any way to restore the MBR without using the windows XP repair console. (Maybe I held my lips wrong, but I had the damn thing hose some of the linux partitions when I used it.)

Last edited by Eqwatz; 11-09-2003 at 07:46 PM.
 
Old 11-09-2003, 07:41 PM   #3
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1
Posts: 537
Blog Entries: 1

Rep: Reputation: 43
I would:

(1) setup the current hard drive as a slave;

(2) get another blank hard drive, set it up as the master, install XP on it and see if the new XP install will recognize the partition on the original hard drive and be able to read it. If it does, copy all of your critical data files into the new XP install, wipe the old hard drive, reinstall your RH9 and XP on the old hard drive and restore your documents from the spare hard drive.

(3) If the new XP install doesn't recognize your original XP partition, you will need to manually rebuild the partition table in your master boot record. That will take some doing, but, if the XP partition boot record is not damaged, it can be done.
 
Old 11-09-2003, 10:21 PM   #4
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
Did you set up XP home on FAT32 or NTFS?

You, if worse comes to worst, install the module/package which allows read only access to the NTFS and back up your Documents to another media and do the whole thing over.

This would not involve finding another hard drive for your laptop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot freezes after grub, before login tk1 Fedora 2 10-20-2005 05:20 PM
Grub freezes trying to boot off a 120 gig HD IceGrill Linux - Software 1 09-08-2004 11:11 PM
grub issues/yoper install failed. rossAINTfakin Linux - Newbie 3 08-27-2004 01:50 PM
Installation failed mid-install, now grub is all I have! whatthe Linux - General 2 03-09-2004 05:32 PM
RH 7.2 Win2K dual boot Grub freezes? speerstra Linux - Software 0 03-23-2002 09:05 AM


All times are GMT -5. The time now is 08:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration