LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-08-2004, 09:32 AM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
About reinstall windows xp


Now I am running two os on my computer. And I use lilo.
And my windows has more and more problems recently.
I want to reinstall my windows xp, so I would like to know what will happen after that, what I need to do for booting these two os again after reinstalling windows.

Thanks a lot.
 
Old 04-08-2004, 09:44 AM   #2
Marsanghas
Member
 
Registered: Sep 2003
Location: Spijkenisse, Netherlands
Posts: 119

Rep: Reputation: 15
I have no experience with dual booting with XP, but with the older Windows OS's it was enough to have a linux-bootdisk, boot with it after installing Windows, mount the linux partition (if your bootdisk didn't do that allready) and run lilo.

Test the procedure before reinstalling windows... just to make sure.
 
Old 04-08-2004, 06:11 PM   #3
brm
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
Windows will replace your MBR (where lilo is probably stored) for sure. You have two possibilities then.

First is to do what MarsDude wrote in previous reply. (very simple and effective )

Second (little bit more complicated, but possible) is to use windows boot manager to boot both OSs. But you have to prepare for this before reinstalling windows. You should move lilo from MBR to root partition and save bootsector of your root partition to a file (using dd) and store it somewhere (e.g. on floppy). Then after windows reinstallation it is possible to configure windows boot manager to boot your linux using that stored file.

BTW, using this procedure you can boot any OS using windows boot manager. As alternative to dd on linux, you could use dskprobe.exe on windows to save bootsector.
 
Old 04-08-2004, 06:29 PM   #4
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Sorry, I forgot to say that I don't have a floppy drive on my computer.

brm, for your second option, what is windows boot manager?

Also, is there any way that I can boot to my linux after reinstallation without using floppy? For example, make a bootable CD rather than disk so that I can boot my machine.

cheers

Last edited by ICO; 04-08-2004 at 06:37 PM.
 
Old 04-08-2004, 06:47 PM   #5
THEHERO
Member
 
Registered: Aug 2003
Distribution: Debian Testing
Posts: 165

Rep: Reputation: 30
you can use the second slack cd and boot from that all and then run lilo
 
Old 04-08-2004, 06:48 PM   #6
brm
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
Quote:
Sorry, I forgot to say that I don't have a floppy drive on my computer.
Floppy was meant as an example. You can store it anywhere else. Only condition is, that this file must be available somewhere after your windows reinstallation. Anyway, if you use dskprobe.exe (should be part of windows support tools or can be downloaded from internet), you don't have any problem.

Quote:
brm, for your second option, what is windows boot manager?
Well, I am not sure, whether there is something really named "windows boot manager". Windows also has something like lilo to boot OS. And it can be configured to boot anything else. There is file boot.ini on your C: partition (it is hidden file). This file contains configuration of "windows boot manager".

If you are really interested in this option, I can write more details. But it is probably easier to configure lilo or grub (especially if you often do some changes). Using lilo or grub you don't need to save bootsector to file or do any similar strange things
 
Old 04-08-2004, 07:00 PM   #7
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks, THEHERO. This one works perfectly.

Also thanks to brm, I am very appreciated to your help.
 
Old 04-08-2004, 10:13 PM   #8
xuejack
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
For this case I would like to use third party boot manager. The one I have used is "BootStar" which is quite good.
 
Old 04-09-2004, 10:51 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved to General
 
Old 04-09-2004, 09:36 PM   #10
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
oops, I thought it was ok, but now I have reinstalled my windows already, and I use slackware cd 2 to boot the computer, and I mount my file system to a folder, however, it is probably I boot from a dvd rom and when I run lilo, I have error, something like I can't write to the disk(dvd rom), the system will treat my current file system as dvd rom. Any idea how I can fix the mbr?

thanks a lot
 
Old 04-11-2004, 12:55 AM   #11
THEHERO
Member
 
Registered: Aug 2003
Distribution: Debian Testing
Posts: 165

Rep: Reputation: 30
do you just log in as root and type in lilo in a terminal
 
  


Reply


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
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 11:50 AM
need help a before reinstall Windows... leduytien Linux - Software 7 10-30-2004 05:07 AM
reinstall windows joejet Linux - General 1 04-06-2004 11:03 AM
reinstall Windows bootloader extrasolar Slackware 7 02-06-2004 04:21 PM
Need to reinstall windows from linux.... Z28kid Linux - Newbie 10 07-15-2003 12:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:20 PM.

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