LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2004, 09:40 PM   #1
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Rep: Reputation: 0
Mbr Mania...


Okay, I Like linux so far what little i've used it, but after i installed it i wasn't happy with a few things... such as that it was the default boot in the new boot loader it installed (grub of course) and i wanted my regular stuff back... long story short... linux is installed on a small partiton on 2nd hard drive, and can't boot to it and don't know how to with install cd.

Okay the stuff you really need to know....
Windows XP Home on hard drive A (80gb) Partitions are just utility and windows.

Red Hat 9 (took forever to dl) on Hard Drive B (40 gb) with more interesting partitions... Boot, Linux on about 4 gigs of a partition, linux swap, and the rest is used as a regular drive E for windows. (about 35 gigs)

No floppy drive

Okay installing it for the first time was easy, and took no trouble at all, except i gave linux my entire 40 gig hard drive and decided i wanted that space and windows boot loader. So I attempted to re-size linux's partition but failed in the middle of it. I put in the windows xp cd and "fixmbr"ed my computer. Great, no more grub, but wait no more grub, no more linux options on my boot... windows just booted like it was all alone.

I got bored and tried to re-partition the drive and said it had errors, so i popped in the linux install disk and decided to use the partition tools in setup, thus, re-installing linux also. Also in the pro\cess i hoped it would re-install grub and i set it for dos to be default. I tried doing it on both the beginning of the boot partition, and the mbr, but no grub.

So tonight i tried to re-install grub in the linux rescue using "grub-install /dev/hda" and ended up with a text-based grub with neither windows, nor red hat. this is where i got really pissed off and cam ehere cause most of my previous questions were answered by reading the forums. and here i am now.

I know long and dumb story, but it's the only way i could describe my prob.
Even when linux is running i have one or two other probs i'll post here...

If ya need more info on the situation, feel free to ask!
-Vash Out
 
Old 04-13-2004, 10:09 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try reinstall GRUB using the prompt

Firstly you need to tell GRUB where your /boot partition is
Code:
GRUB> root (hd1,X)
change 'X' to where you /boot partition is, beginning from 0, so if it's the first partition on your 40gig then its (hd1,0)
then
Code:
GRUB> setup (hd0)
watch the output carefully, if it installs successfully you should get a menu after you reboot.
 
Old 04-14-2004, 02:44 PM   #3
Vashtheddrfreak
LQ Newbie
 
Registered: Apr 2004
Location: Downing another gallon of Dr. Pepper
Distribution: Fedora Core 2
Posts: 20

Original Poster
Rep: Reputation: 0
That was strange... i just re-typed the same thing as before at linux rescue, and grub is fine, thanks! Now to the the 3 hours of updates... have to get the all again before the end of the month.
-Vash Out
 
  


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
ghostscript & pdf mania arunswarup General 0 11-07-2005 01:45 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
Elasto mania - Wine Air-Falcon Linux - Games 6 11-28-2003 02:55 PM
Modem Mania jamescox3k Linux - Hardware 2 11-13-2002 02:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 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