LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-06-2003, 10:56 PM   #1
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
Grub Problems!??


Hi all!

Well i have a little problem... can't get into linux... i did
install winXP and it took over my MBR and i don't know
how to fix this... i have search the forum but can't find nothing at all...

so my question is... how can i erase my MBR from linux
(RedHat 8.0 kde) and how to make my partition active!??

any more ideas!??


thanx!
 
Old 02-07-2003, 05:02 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
This kills me. Floppy disks are dirt cheap but nobody ever makes a boot disk!!!

Anyway, hopefully you still have your install CDs. Put disk one in and type "linux rescue" at the prompt. Answer the questions until it searches for your system and mounts it. do a "chroot /mnt/sysimage" then reinstall grub. The command is either grub-install, or install-grub, can't remember offhand. Make sure you add windows xp to grub.conf, then reboot. Grub will give you the choice.

This time, make a boot floppy....
 
Old 02-07-2003, 08:18 PM   #3
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
thats what i did...

i'm booting off my floppy! and i don't want that!
i want to have grub take over my MBR and
so it starts with out a floppy!

any help with this!??
 
Old 02-07-2003, 09:25 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well then just reinstall grub....

Quote:
The command is either grub-install, or install-grub
Have a look in /sbin for the command. Don't forget to make the appropriate changes in grub.conf.
 
Old 02-07-2003, 10:03 PM   #5
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
--not a post. an accident. please ignore--

Last edited by nxny; 02-07-2003 at 10:04 PM.
 
Old 02-07-2003, 10:03 PM   #6
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by FreakboY
thats what i did...

i'm booting off my floppy! and i don't want that!
i want to have grub take over my MBR and
so it starts with out a floppy!

any help with this!??
Grub device names are indexed from 0. (hd0,4) is equivalent to hda5.

type in grub at the root prompt. It will probe devices and give you a prompt.
Enter
Code:
root <boot partition-or-root if you dont have a separate /boot>
setup <device-in-whose-bootsector-grub-will-be-installed>
quit
Thats it.

Last edited by nxny; 02-07-2003 at 10:05 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
GRUB problems allforcarrie Linux - Newbie 1 09-17-2004 05:36 PM
GRUB problems Swishaa Linux - Newbie 12 05-10-2004 09:47 AM
GRUB problems... pandasonic Linux - Software 2 11-27-2003 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:32 AM.

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