Results 1 to 10 of 16
can i reset the MBR whithout Lost my Data ?...
- 09-29-2006 #1
Mbr
can i reset the MBR whithout Lost my Data ?
- 09-29-2006 #2
yes you can....just reinstal your bootloader
you can also boot in windows install disk>repair mode>type fixmbr
i hope that helps
- 09-29-2006 #3I haven't used the windows fixmbr. Not used WIndows for a long time.yes you can....just reinstal your bootloader
you can also boot in windows install disk>repair mode>type fixmbr
When I did you used fdisk /mbr to fix it but that simply overwrote it.
Does fixmbr actually repair it and so still leave you access to your linux?
- 09-30-2006 #4
To install GRUB in the MBR (access to linux and windows)
# grub-install /dev/hda
And the you can configure the bootloader in /boot/grub/menu.lstPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 09-30-2006 #5resetting MBR means writing new boot up option in master boot record. you are not changing anything in other partes of hard disk... no chance for data loss.
Originally Posted by amr
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-30-2006 #6Linux Enthusiast
- Join Date
- Dec 2004
- Posts
- 637
I wouldn't say no chance! If you hose the partition table there is always a chance.
- 09-30-2006 #7MBR re-write has nothing to do with partition table......
Originally Posted by gtmtnbiker98
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-30-2006 #8Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi, devils_casper.
I think it might, at least indirectly. It's possible that Linux does things differently, but many references suggest that in addition to the boot code, the MBR also contains the partition table.
Originally Posted by devils_casper
Scott Mueller, Upgrading and Repairing PCs (13th), seems to say essentially the same thing as the Wikipedia article.
I can imagine MS FDISK (and others) reading in the entire existing MBR, replacing the executable code, leaving the partition table entries alone, and re-writing the 512 byte MBR. So it seems a short stretch that a partition table could get screwed up by, say, an FDISK re-write of the MBR. For safety's sake, Mueller suggests saving a copy of the partition table.
Elsewhere:
Are we talking about the same thing here? ... cheers, drlPeople often recommend the undocumented DOS command FDISK /MBR to solve problems with the MBR. This command however does not rewrite the entire MBR - it just rewrites the boot code, the first 446 bytes of the MBR, but leaves the 64-byte partition information alone.
http://www.win.tue.nl/~aeb/partition...n_types-2.html
( edit 1: addition )Where a data storage device has been partitioned with (what Microsoft terms) the MBR Partition Table scheme (i.e. the conventional IBM PC partitioning scheme), the master boot record contains the primary entries in the partition table.
http://en.wikipedia.org/wiki/MbrWelcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 10-01-2006 #9yes ! although MBR have all partitions details but FDISK /mbr not do anything with that part.
Originally Posted by drl
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-01-2006 #10
the fdisk /mbr re_writ the boot code ?
is it mean repair the mpr ?
and if i need to change the OS , say ,an HDD contains Linux -->and want to install MS windows , what is the correct Instructions ?
and what its effect to the partition table ?


Reply With Quote
