Unix Technical Forum

ok to overwrite MBR?

This is a discussion on ok to overwrite MBR? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi everybody, I have two hd in my system, one ide drive with WinMe on it and a scsi ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:38 AM
Andre
 
Posts: n/a
Default ok to overwrite MBR?

Hi everybody,
I have two hd in my system, one ide drive with WinMe on it and a scsi (id 0)
with Win2k on it.
Why am I posting here?
1) I really want to run my beloved linux again
2) I didn't get any responses on several postings on the win2k newsgroup

I wanted to put linux on my ide drive and blow WinMe away, however, after
doing a last inspection of files I wanted to keep, I noticed that win2k
system files where present in the C root directory (ntdetect and ntldr). I
am not sure how they got there and I then tried to boot win2k by
disconnecting the ide drive. The result was a boot failure, but it seemed to
already happen in the bios.
I then tried to repair the win2k install using the win2k setup disk hoping
it would put those files on the win2k drive - and it did, unfortunately I
still couldn't boot into win2k.
If I put linux onto the ide drive, obviously those win2k system files will
be gone so I am not sure if I will still be able to access my win2k drive.
I have a feeling that the mbr on the win2k drive needs to be rewritten - is
there a chance that I won't be able to access the drive after that?
thanks in advance


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:38 AM
Lenard
 
Posts: n/a
Default Re: ok to overwrite MBR?

On Sun, 26 Oct 2003 23:53:09 -0800, Andre typed:

> Hi everybody,
> I have two hd in my system, one ide drive with WinMe on it and a scsi
> (id 0) with Win2k on it.
> Why am I posting here?
> 1) I really want to run my beloved linux again 2) I didn't get any
> responses on several postings on the win2k newsgroup
>
> I wanted to put linux on my ide drive and blow WinMe away, however,
> after doing a last inspection of files I wanted to keep, I noticed that
> win2k system files where present in the C root directory (ntdetect and
> ntldr). I am not sure how they got there and I then tried to boot win2k
> by disconnecting the ide drive. The result was a boot failure, but it
> seemed to already happen in the bios. I then tried to repair the win2k
> install using the win2k setup disk hoping it would put those files on
> the win2k drive - and it did, unfortunately I still couldn't boot into
> win2k. If I put linux onto the ide drive, obviously those win2k system
> files will be gone so I am not sure if I will still be able to access my
> win2k drive. I have a feeling that the mbr on the win2k drive needs to
> be rewritten - is there a chance that I won't be able to access the
> drive after that? thanks in advance



One of many ways to fix your problem;

Create a small primary DOS partition on the IDE drive of say 10-20 megs
and leave the rest of the drive blank and unformatted. Boot with the
Windows 2000 CD and get into the recovery console and use the fixmbr
and/or fixboot commands.

http://www.microsoft.com/windows2000...eryconsole.asp

Install Linux on the rest of the IDE drive.


--
SCO + RICO Act = Justice

Hi! I'm a .sig virus! Copy me to your .sig!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 08:38 AM
Jim Bowering
 
Posts: n/a
Default Re: ok to overwrite MBR?

Andre wrote:

> Hi everybody,
> I have two hd in my system, one ide drive with WinMe on it and a scsi (id
> 0) with Win2k on it.
> Why am I posting here?
> 1) I really want to run my beloved linux again
> 2) I didn't get any responses on several postings on the win2k newsgroup
>
> I wanted to put linux on my ide drive and blow WinMe away, however, after
> doing a last inspection of files I wanted to keep, I noticed that win2k
> system files where present in the C root directory (ntdetect and ntldr). I
> am not sure how they got there and I then tried to boot win2k by
> disconnecting the ide drive. The result was a boot failure, but it seemed
> to already happen in the bios.
> I then tried to repair the win2k install using the win2k setup disk hoping
> it would put those files on the win2k drive - and it did, unfortunately I
> still couldn't boot into win2k.
> If I put linux onto the ide drive, obviously those win2k system files will
> be gone so I am not sure if I will still be able to access my win2k drive.
> I have a feeling that the mbr on the win2k drive needs to be rewritten -
> is there a chance that I won't be able to access the drive after that?
> thanks in advance


Windows NT has a boot loader called boot.ini in the same directory as ntldr
and ntdetect. Have a look at that file and see if it appears to be
pointing at the correct partitions.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 08:38 AM
Andre
 
Posts: n/a
Default Re: ok to overwrite MBR?

thanks for replying so quickly!

I would really like to first be able to boot the scsi drive without having
the ide drive connected. This I cannot do at the moment.
I ran the recovery console from the win2k setup disk and rewrote the mbr,
but it didn't help, so I am still dependent on the ide drive in order to
boot to the scsi drive. I'm afraid that if I repartition the ide drive, it
will wipe out whatever enables me to boot the scsi drive.

"Lenard" <lenard@127.0.0.1> wrote in message
newsan.2003.10.27.12.40.12.547570@127.0.0.1...
> On Sun, 26 Oct 2003 23:53:09 -0800, Andre typed:
>
> > Hi everybody,
> > I have two hd in my system, one ide drive with WinMe on it and a scsi
> > (id 0) with Win2k on it.
> > Why am I posting here?
> > 1) I really want to run my beloved linux again 2) I didn't get any
> > responses on several postings on the win2k newsgroup
> >
> > I wanted to put linux on my ide drive and blow WinMe away, however,
> > after doing a last inspection of files I wanted to keep, I noticed that
> > win2k system files where present in the C root directory (ntdetect and
> > ntldr). I am not sure how they got there and I then tried to boot win2k
> > by disconnecting the ide drive. The result was a boot failure, but it
> > seemed to already happen in the bios. I then tried to repair the win2k
> > install using the win2k setup disk hoping it would put those files on
> > the win2k drive - and it did, unfortunately I still couldn't boot into
> > win2k. If I put linux onto the ide drive, obviously those win2k system
> > files will be gone so I am not sure if I will still be able to access my
> > win2k drive. I have a feeling that the mbr on the win2k drive needs to
> > be rewritten - is there a chance that I won't be able to access the
> > drive after that? thanks in advance

>
>
> One of many ways to fix your problem;
>
> Create a small primary DOS partition on the IDE drive of say 10-20 megs
> and leave the rest of the drive blank and unformatted. Boot with the
> Windows 2000 CD and get into the recovery console and use the fixmbr
> and/or fixboot commands.
>
>

http://www.microsoft.com/windows2000...inistration/re
coveryconsole.asp
>
> Install Linux on the rest of the IDE drive.
>
>
> --
> SCO + RICO Act = Justice
>
> Hi! I'm a .sig virus! Copy me to your .sig!
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 08:38 AM
Andre
 
Posts: n/a
Default Re: ok to overwrite MBR?

thanks for your reply

the funny thing is that boot.ini and ntdetect and ntldr are located on the
ide (C drive, which is puzzling because win2k is on my scsi (D: ) drive.
Here is my boot.ini (from the C drive):
==============
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microso ft Windows 2000
Professional" /fastdetect
C:\="Microsoft Windows"
==============

I tried to put ntdetect and ntldr onto the D drive and even placed a
boot.ini in the D root, but still it won't boot if I disconnect the ide
drive....

"Jim Bowering" <iambat@otvcablelandot.net> wrote in message
news:3f9d3e28$0$9402$2c56edd9@news.cablerocket.com ...
> Andre wrote:
>
> > Hi everybody,
> > I have two hd in my system, one ide drive with WinMe on it and a scsi

(id
> > 0) with Win2k on it.
> > Why am I posting here?
> > 1) I really want to run my beloved linux again
> > 2) I didn't get any responses on several postings on the win2k newsgroup
> >
> > I wanted to put linux on my ide drive and blow WinMe away, however,

after
> > doing a last inspection of files I wanted to keep, I noticed that win2k
> > system files where present in the C root directory (ntdetect and ntldr).

I
> > am not sure how they got there and I then tried to boot win2k by
> > disconnecting the ide drive. The result was a boot failure, but it

seemed
> > to already happen in the bios.
> > I then tried to repair the win2k install using the win2k setup disk

hoping
> > it would put those files on the win2k drive - and it did, unfortunately

I
> > still couldn't boot into win2k.
> > If I put linux onto the ide drive, obviously those win2k system files

will
> > be gone so I am not sure if I will still be able to access my win2k

drive.
> > I have a feeling that the mbr on the win2k drive needs to be rewritten -
> > is there a chance that I won't be able to access the drive after that?
> > thanks in advance

>
> Windows NT has a boot loader called boot.ini in the same directory as

ntldr
> and ntdetect. Have a look at that file and see if it appears to be
> pointing at the correct partitions.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 08:38 AM
Jim Bowering
 
Posts: n/a
Default Re: ok to overwrite MBR?

Andre wrote:

> thanks for your reply
>
> the funny thing is that boot.ini and ntdetect and ntldr are located on the
> ide (C drive, which is puzzling because win2k is on my scsi (D: ) drive.
> Here is my boot.ini (from the C drive):
> ==============
> [boot loader]
> timeout=30
> default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
> [operating systems]
> multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microso ft Windows 2000
> Professional" /fastdetect
> C:\="Microsoft Windows"
> ==============
>
> I tried to put ntdetect and ntldr onto the D drive and even placed a
> boot.ini in the D root, but still it won't boot if I disconnect the ide
> drive....
>

If I remember my NT correctly, its default install refers to two
partitions--"system" and "boot." They can be the same partition but if they
are not, as in your case, it puts its boot files (ntldr, etc) in one
partition and the system in the other. The "system" partition, where it puts
its boot files, would normally be the first one it finds. Your C: drive.
Then it puts its system files in the "boot" partition. D: in your case.

As to your boot.ini, you need to find a reference to its syntax. My memory
fades but I think the multi refers to IDE type drives and you want SCSI for
your \WINNT directory. Also, make sure it points to the correct device.

hth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 08:38 AM
Lenard
 
Posts: n/a
Default Re: ok to overwrite MBR?

On Mon, 27 Oct 2003 19:53:18 +0000, Andre typed:

> thanks for replying so quickly!
>
> I would really like to first be able to boot the scsi drive without
> having the ide drive connected. This I cannot do at the moment. I ran
> the recovery console from the win2k setup disk and rewrote the mbr, but
> it didn't help, so I am still dependent on the ide drive in order to
> boot to the scsi drive. I'm afraid that if I repartition the ide drive,
> it will wipe out whatever enables me to boot the scsi drive.


Check your system's BIOS settings does it allow you to specify the boot
order of the drives. If so, is booting from the SCSI drive an option, if
yes then set the system to boot from the SCSI drive.

See the fixmbr and fixboot commands in the Windows 2000 recovery console
also.

--
SCO + RICO Act = Justice

Hi! I'm a .sig virus! Copy me to your .sig!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 08:38 AM
Andre
 
Posts: n/a
Default Re: ok to overwrite MBR?

(snip)
> If I remember my NT correctly, its default install refers to two
> partitions--"system" and "boot." They can be the same partition but if

they
> are not, as in your case, it puts its boot files (ntldr, etc) in one
> partition and the system in the other. The "system" partition, where it

puts
> its boot files, would normally be the first one it finds. Your C: drive.
> Then it puts its system files in the "boot" partition. D: in your case.
>
> As to your boot.ini, you need to find a reference to its syntax. My

memory
> fades but I think the multi refers to IDE type drives and you want SCSI

for
> your \WINNT directory. Also, make sure it points to the correct device.
>
> hth


for some reason, the only boot.ini that is seen is the one on the ide
drive - if I disconnect the ide drive, system won't boot off the scsi drive
even though I placed boot.ini, ntdetect and ntldr on the scsi drive


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-17-2008, 08:38 AM
Andre
 
Posts: n/a
Default Re: ok to overwrite MBR?

I enabled booting from scsi and it seems to work to a point where bios
reports:
boot from scsi..OK
boot failure on previous device
....
I already tried fixmbr to no avail, and I'm a little scared to use fixboot
as I don't want to lose the files on my scsi drive.


"Lenard" <lenard@127.0.0.1> wrote in message
newsan.2003.10.27.21.23.28.464009@127.0.0.1...
> On Mon, 27 Oct 2003 19:53:18 +0000, Andre typed:
>
> > thanks for replying so quickly!
> >
> > I would really like to first be able to boot the scsi drive without
> > having the ide drive connected. This I cannot do at the moment. I ran
> > the recovery console from the win2k setup disk and rewrote the mbr, but
> > it didn't help, so I am still dependent on the ide drive in order to
> > boot to the scsi drive. I'm afraid that if I repartition the ide drive,
> > it will wipe out whatever enables me to boot the scsi drive.

>
> Check your system's BIOS settings does it allow you to specify the boot
> order of the drives. If so, is booting from the SCSI drive an option, if
> yes then set the system to boot from the SCSI drive.
>
> See the fixmbr and fixboot commands in the Windows 2000 recovery console
> also.
>
> --
> SCO + RICO Act = Justice
>
> Hi! I'm a .sig virus! Copy me to your .sig!
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-17-2008, 08:38 AM
mjt
 
Posts: n/a
Default Re: ok to overwrite MBR?

Jim Bowering wrote:

> Windows NT has a boot loader called boot.ini


.... that IS NOT a boot loader - it's the config file
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
James Joyce -- an essentially private man who wished his total
indifference to public notice to be universally recognized.
-- Tom Stoppard

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com