Unix Technical Forum

lilo and win 2k

This is a discussion on lilo and win 2k within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have read conflicting views on dual boot win2k and Linux. If Lilo overwrites mbr (created by win2k), how ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:35 AM
sridhar nagabhurshana
 
Posts: n/a
Default lilo and win 2k

I have read conflicting views on dual boot win2k and Linux. If Lilo
overwrites mbr (created by win2k), how do we restore it?
one version says that you will have to re-install win 2k!!!
Another version says fdisk /mbr will do.Which is true?
even if fdisk /mbr works, will it bring back to the original state? ie.
being able to choose the OS with F8 or similar keys and being able to start
in Safe mode and other options? Or is there any way of saving the win2k mbr
and reload it at a later time?
Just trying to be safe before I mess around with lilo!! Thanks.
NS


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:35 AM
mjt
 
Posts: n/a
Default Re: lilo and win 2k

sridhar nagabhurshana wrote:

> Another version says fdisk /mbr will do.Which is true?


.... that one .... ^^^^^^^^^^^^
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Immigration is the sincerest form of flattery. - Jack Paar

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07:35 AM
Eric Moors
 
Posts: n/a
Default Re: lilo and win 2k

> I have read conflicting views on dual boot win2k and Linux. If Lilo
> overwrites mbr (created by win2k), how do we restore it?


lilo -u

> one version
> says that you will have to re-install win 2k!!!


That is always an option. Usually it is overkill.

> Another version says fdisk /mbr will do.


It installs the default DOS bootloader in the MBR.

> Which is true?


both

> even if fdisk /mbr works, will it
> bring back to the original state? ie. being able to choose the OS with
> F8 or similar keys and being able to start in Safe mode and other
> options?


That is not in the MBR. That is the NT loader which is located in the
bootrecord of the NT partition

> Or is there any way of saving the win2k mbr and reload it at a
> later time?


lilo -u
Lilo automatically stores the old MBR (unless a previous backup exists)
Check /boot for files named eg. boot.0300. That is the old MBR of hda
all boot.NUM files are probably bootrecord backups.

> Just trying to be safe before I mess around with lilo!! Thanks. NS


Write lilo on a bootfloppy before you actually install it on the MBR.
just change the line boot=SOME_DISK_LOCATION to boot=/dev/fd0.
If the floppy boots both OS-es, you can write it to the MBR.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 07:37 AM
Leon
 
Posts: n/a
Default Re: lilo and win 2k



Eric Moors wrote:

>>I have read conflicting views on dual boot win2k and Linux. If Lilo
>>overwrites mbr (created by win2k), how do we restore it?

>
>
> lilo -u


Thats one way

>>one version
>>says that you will have to re-install win 2k!!!

>
>
> That is always an option. Usually it is overkill.


dont give false impressions.

there isnt any need to reinstall win2k, just to replace the standard MBR.
a dos boot disk, with fdisk.exe
fdisk.exe /mbr

>>Another version says fdisk /mbr will do.

> It installs the default DOS bootloader in the MBR.
> both


not really.
telling people that installing linux will mean that you have problems
with windows is actually a lie that hurts linux.

Its not true, it hurts linux.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 07:38 AM
Eric Moors
 
Posts: n/a
Default Re: lilo and win 2k

>>>one version
>>>says that you will have to re-install win 2k!!!

>>
>>
>> That is always an option. Usually it is overkill.

>
> dont give false impressions.


I have given no false impression whatso-ever.
reinstalling windows will fix the problem with windows, as the
windows installation routines will rewrite the MBR.

>>>Another version says fdisk /mbr will do.

>> It installs the default DOS bootloader in the MBR. both

>
> not really.


? It most certainly installs the DOS bootloader in the MBR.
So what do you mean with "not really"

> telling people that installing linux will mean that you have problems
> with windows is actually a lie that hurts linux.


And who did that?

> Its not true, it hurts linux.


Linux is an OS. It has no notion of pain.

Eric
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 12:44 PM.


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