Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-16-2004, 07:55 AM   #1
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
fdisk /mbr

I know I shouldn't have forgotten this, but I have. I'm trying to install grub on the mbr where Windoze is residing. I've installed gentoo on another partition and can reach it with grub boot disks, no problem. I've somehow screwed up the mbr and

grub> setup (hd0)

is not writing to the mbr.

I have my old dos disks but the command fdisk /mbr isn't working.

What is the correct syntax for using fdisk from the floppy to fix the mbr of the first SCSI disk on the system?

Old 02-16-2004, 10:29 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Tell it where to look for its stage{1,2} files first. Grub counts from zero so all numbers are one less than you're used to. For example, if you root is on /dev/hda5 change the Xin this for a 4
grub> root (hd0,X)
grub> setup (hd0)
Old 02-16-2004, 12:19 PM   #3
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
I"ve done that. I'm actually working with disk copy (dd) of a working disk with a functional grub setup on the mbr, so I'm quite sure it's a corruption of the mbr and not my setting up grub on the mbr.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fdisk /MBR Eugney Slackware 39 08-23-2011 09:30 AM
fdisk /mbr in Linux? wayneinmpls Linux - Newbie 6 12-20-2005 11:27 AM
Grub - fdisk /MBR lucho707 Linux - Software 1 11-30-2005 11:07 PM
why won't my mbr fdisk /mbr? jamessp007 Mandriva 13 01-03-2004 01:41 AM
Life after fdisk /mbr amijinx Linux - Hardware 3 10-01-2003 06:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration