LinuxQuestions.org
Visit Jeremy's Blog.
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 04-15-2004, 07:22 AM   #1
rip
Member
 
Registered: Apr 2003
Location: Ohio
Distribution: PCLinuxOS
Posts: 97

Rep: Reputation: 15
Grub prevents bootup


Question: How to fix grub so I can boot?

Background:
(system previously dual booted win98SE and Mandrake 10CE)

1) Old mobo (soyo k7vta-pro) went flaky. Windows could only boot into safe mode. MDK worked fine. Grub worked fine.
2) Replaced the mobo with MSI km266 (newegg, of course...). MDK handled the switch ok, windows didn't
3) Reformatted C: and reloaded win98, then upgraded with win98SE.
4) When it came time to boot from HD, the last thing displayed was 'GRUB' . No keystrokes would be accepted. Didn't look like a GRUB prompt, just the word 'GRUB'.
5) Boot from win floppy, fdisk to remove C: partition and re-create it.
6) Repeated step 3 above. Still has the problem where it hangs on boot, the last thing displayed was 'GRUB' .
7) Tried fdisk /mbr, didn't help.
8) Tried booting from MDK CD to fix grub. Could only boot from CD #2, and this wanted to 'Install MDK'. (No MDK boot floppy. I think mkbootdisk failed 'no room on device'.

I was hoping that my family would get used to MDK while I ordered and received the new mobo, but they still want Windows back (heavy sigh).

Why didn't the fdisk/reformat of C: wipe out grub?

How can I get it working so they can have Win and I can have MDK? I can't get in to work with the config files, as suggested in many posts in this forum (Yes I searched first). And I don't get a boot prompt to pass anything on for the boot process.

.

[edit]
Yes, my avatar shows Slack 9.1, and I'm talking win and MDK. But this rig is for the family room; my Slack box downstairs runs fine
[/edit]

Last edited by rip; 04-15-2004 at 07:26 AM.
 
Old 04-15-2004, 10:07 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
as you have slackware running, I assume you have slack CD's? boot from a slack cd, with wich it should be possible to mount your mandrake partition. after mount, chroot to the mount point and you can re-install GRUB from there... for entering you linux HD, use these commands on a console from the slackware boot CD:

cd /
mkdir hd
mount /dev/hdxx #where xx=your linux root partition
chroot hd /bin/bash

from here you can re-config and re-install GRUB, of wich I don't know so much...

greetz & success,
.-=~ iluvatar ~=-.
 
Old 04-15-2004, 10:16 AM   #3
rip
Member
 
Registered: Apr 2003
Location: Ohio
Distribution: PCLinuxOS
Posts: 97

Original Poster
Rep: Reputation: 15
Thanks, iluvatar.
Why didn't I think of doing that? I have a toybox full of cd's with knoppix, slax, sysrescuecd, etc, etc,,, I must have been experiencing a brain cramp at the time. Well, it was getting late, and I had been wearing my 'MS Windows' hat for a while. Must have clouded my brain...

Will try again tonight.
 
Old 04-15-2004, 10:27 AM   #4
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Quote:
I had been wearing my 'MS Windows' hat for a while. Must have clouded my brain...
LOL weren't you warned wearing that hat is dangerous?

greetz & succes,
.-=~ iluvatar ~=-.
 
  


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
Old installation of GRUB prevents me from using LILO and booting into Slackware! EThitop Slackware 6 12-12-2004 01:07 PM
GRUB hanging at bootup (Fedora Linux, dual boot Windows XP) Forezt Linux - Software 4 12-07-2003 01:52 PM
Changing Grub Menu at Bootup thenebula Linux - Newbie 6 10-25-2003 08:21 AM
Power Failure, cause bootup to grub Johnny Hutto Linux - Newbie 9 08-23-2003 09:29 AM
GRUB fails on bootup arvid Linux - Software 1 03-13-2002 01:07 PM


All times are GMT -5. The time now is 02:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration