LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 08-16-2005, 11:05 PM   #1
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
Unhappy Reinstall LILO


have searched ....plenty of dual boot info, but only found 1 thread similar but no answer.

I guess I should know this but.......

1. Plll with Wxp on hda
2. added second HD (hdb) and MDK10.0 loaded fine onto it. I was expecting to be given option during install for LILO bootloader, but it was put on hda (Wxp) by default, which is OK.
3. Now.... fairly certain Wxp is infected with nasty virus and would like to eliminate xp completely but can't at this time. Need to reinstall Wxp in same place (hda) but this will wipe out LILO boot loader and leave the hdb useless until I do. There are no important files on hdb at this time.

Since I was not given the choice where to install LILO during installation, am wondering how to get it back onto hda after reloading Wxp.


Any instructions out there?

Thanks
 
Old 08-16-2005, 11:16 PM   #2
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
You can go ahead and install Windows XP first. This would most probably remove lilo(as you suspected) from MBR(I think this is what you meant by hda). You can then pop in the Mandrake 10.0 disk and choose "upgrade". You should later be presented with a window full of configuration options, here you can choose where you want to install lilo, but that may not be necessary as lilo(by default) installs in the MBR(which is where you previously had(??)).
 
Old 08-19-2005, 05:18 AM   #3
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 764

Rep: Reputation: 32
I would suggest that, after you reinstall XP, let LILO write itself to hda. Otherwise, every time you boot, you need to select the boot device, hda for XP or hdb for Linux.

However: Are you sure you need to reinstall XP? I would try AVG for a possible virus. Spybot AND AdAware for possible malware. All these are freeware and do not take over your computer like Norton and MacAffee do. Only if these fail and you cannot get manual removal instructions should you go for a reinstall, otherwise plan for weekly reinstalls
 
Old 09-14-2005, 01:31 AM   #4
Ike M.
Member
 
Registered: Aug 2005
Posts: 60

Rep: Reputation: 15
I had similar problem

with XP that would no longer start after a Mandrake install... but as I could not see why this should pose a problem I played around with this a bit (I happen to be using 10.1) and actually got a working system with 10.1 installed on the first couple partitions, and XP AFTER that on like the third partition all of the same drive.

I realize that there are probably different versions of XP pro around that may have changed how this works (I purchased mine a few years back), however this is what I got to work. The difficulty seems to arise when unknown OS touches the MBR that XP has written itself. It seems to have some means of detecting when this has taken place and assumes that that means there is a problem.

There are a couple of things I had to do, and I am not 100% sure of which ones were ABSOLUTELY necessary, however I did get this to work (in fact I am posting with said XP installation). First of all, I installed XP on a drive that was completely WIPED of all NTFS/FAT32 partitions. Whenever the XP install program found one of those on my drive, especially one that had an XP installation on it previously, it handled some of the rest of the installation differently (like, in a way that was LESS likely to work with my other OS). And I used a THIRD party program (My mandrake disk) to wipe these partitions. NOT the XP install disc.

Then I started the XP install disc and created a 4GB FAT32 part, and a 2GB FAT32 part, and installed to the 4 gigger. However, *** and I think this is the important part ***, BEFORE the install completed (it reboots after all of the files are copied, then installs), I ejected the XP disc and REINSTALLED LILO (or whatever bootloader) BEFORE XP finishes installing. For some reason, it seems as though if you put the LILO (or whatever) back into the MBR BEFORE the installation finishes, XP does NOT detect that something that it did has been tampered with.

After I verified that my Mandrake was still functional, I used LILO to boot back into my XP installation, and allowed that to finish. I know that this doesn't seem very practical, but this is the only way that I could get this to work

How stable this is going to be in the long run I am not sure of, and I would not really recommend doing this unless you are willing to copy all your important files off of a crashed system in case of disaster
 
Old 09-14-2005, 01:48 AM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Quote:
You can then pop in the Mandrake 10.0 disk and choose "upgrade".
A better way would be to just pop in the Mandrake 10 disk and boot into rescue mode. On the text menu that pops up there is a convenient option to 'restore boot loader', saves having to through the install process again.
 
  


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 LILO . bruse Linux - Newbie 1 08-23-2005 11:42 AM
Reinstall lilo hraposo Mandriva 6 09-22-2004 01:41 PM
reinstall lilo nixel Slackware - Installation 6 05-04-2004 05:20 PM
reinstall lilo watashiwaotaku7 Linux - Software 6 05-09-2003 03:05 AM
LILO Reinstall Stephanie Linux - General 2 08-23-2001 10:49 AM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration