Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Ubuntu


  • Please log in to reply
6 replies to this topic

#1 martym

martym

  • Members
  • 13 posts
  • OFFLINE
  •  
  • Location:christchurch new zealand
  • Local time:09:59 AM

Posted 11 March 2007 - 12:09 PM

hi ime new here
and ime not sure how to ask my question
i have a dual boot with xppro and ubuntu 6.6
on two different hdd's
a coupla times ive had to delete ubuntu partitions
from the disk management
and when ive tried to boot into xp
it wouldnt let me in
so i had to reinstall windows
i posted this Q
another board
and a poster said i needed to change the mbr
which i did
or set the partitions properly
as ime a novice with partitioning
i normally let the sys set the partitions
but that is where ive got this problem
is there a way round this
with out resetting the mbr
by setting the partitions manually
thanks
marty1

Edited by martym, 11 March 2007 - 12:11 PM.


BC AdBot (Login to Remove)

 


m

#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:08:59 AM

Posted 11 March 2007 - 09:35 PM

To fix the MBR for a Windows install, you need the XP disk.

Boot from the windows XP CD, press the "R" key in the setup in order to start the restoration console. Select your windows XP installation from the list, and enter the administrator password.
Enter the command: "FIXMBR" (without the quotes) at the input prompt and confirm the next question with a "Y" (without the quotes). Use exit to restore the computer.


You can not fix the mbr by setting the partitions manually, since they have nothing to do with the mbr in the first place. Ok, that's not exactly true. The MBR contains a program that looks to the partition table to see which partition to boot. The MBR also contains other data that can not be reconstructed by somehow manually repairing the partition. When you install Linux, a different boot loader is used, overwriting the windows mbr. When you remove the Linux partition, you remove the boot loader. You then need to repair the Windows mbr.

#3 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:03:59 PM

Posted 12 March 2007 - 12:34 PM

depending on what you have done, you should also be able to put in any windows boot disk and run "FDISK /MBR" This many times forces windows to rebuild it, itslef.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#4 martym

martym
  • Topic Starter

  • Members
  • 13 posts
  • OFFLINE
  •  
  • Location:christchurch new zealand
  • Local time:09:59 AM

Posted 13 March 2007 - 03:19 AM

thanks ime happy with that
i know how to fix the mbr
but i thought there was some way not haveing to do that
i notice the drive with ubuntu
isnt listed in my compt
bit it appears in disk management and device manager
how ever thanks
marty

#5 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:03:59 PM

Posted 13 March 2007 - 04:04 AM

I meant to say windows boot loader...not windows....

you should always avoid reinstalls if possible.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#6 Jombee

Jombee

  • Members
  • 91 posts
  • OFFLINE
  •  
  • Location:Fitchburg MA
  • Local time:10:59 AM

Posted 13 March 2007 - 12:13 PM

depending on what you have done, you should also be able to put in any windows boot disk and run "FDISK /MBR" This many times forces windows to rebuild it, itslef.

Only works with win9x

i notice the drive with ubuntu
isnt listed in my compt
bit it appears in disk management and device manager
how ever thanks
marty

that's because it's an ext3 partition and windows doesn't know what to do with those

if you want to rewrite the MBR from within linux
grub install hd0
should do the trick

#7 martym

martym
  • Topic Starter

  • Members
  • 13 posts
  • OFFLINE
  •  
  • Location:christchurch new zealand
  • Local time:09:59 AM

Posted 14 March 2007 - 04:22 AM

normally what ive done is
insert my
xpcd
set it to repair
type my drive no 1
then my adminstrative p-word
at the prompt type fixmbr
and at the bottom ot the page verifies
the fix
how do i go bout doing it through ubuntu
i like ubuntu
but it interferes with my mbr
and im not experienced enough to to
know how to fix it other than through
winxp
one of the problems i have with getting help from
these linux forums is the experts seem to be talking to user experts
and not in laymans terms
after im a real novice with linux
i have winxppro
and i know my system from back to front
but i want to learn linux
but in language i can understand
marty




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users