LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2004, 06:40 AM   #1
Caled
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 8.2
Posts: 13

Rep: Reputation: 0
LILO vs Boot.ini... Round One


You guys are gonna love this...
I seem to have...err... 'misplaced' my boot.ini file under win2K pro. I can't use fixmbr from the recovery console as i also have RH9 installed, with LILO being used to choose between the two, and doing so would overwrite LILO, which would just be a pain to put back.
Win2K can still boot after displaying a message for a few seconds stating "missing boot.ini file. Booting from C:\WINNT". It will still load, but its just annoying, ya know.
I know this is more of a windows problem, but it has kind of a Linux twist, and you guys are better at this sort of thing than any windows forum ;-)
 
Old 08-10-2004, 07:13 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Make a lilo floppy or rescue cdrom - if you have mkrescue command and a cd burner then

mkrescue --iso

and burn the iso image to cd. It will allow you to boot back into linux after you fix windows.

you can do the same sort of thing with floppy with

lilo -b /dev/fd0

Test the floppy or cd before fixing windows with fixmbr...

Last edited by amosf; 08-10-2004 at 07:15 AM.
 
Old 08-10-2004, 07:18 AM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Of course once you fix everything and boot back to linux you run lilo again so you can boot RH as before.
 
Old 08-10-2004, 07:34 AM   #4
Caled
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 8.2
Posts: 13

Original Poster
Rep: Reputation: 0
right, im a newbie at all this, so basically follow your instructions to create a LILO boot disk to get back into linux, test it, then use fixmbr, then boot back into linux. does the LILO boot disk automatically reinstall LILO as the default boot loader?
 
Old 08-10-2004, 08:41 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,480

Rep: Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220Reputation: 6220
Boot.ini is an ASCII text file located in c:\. fixmbr will not correct the problem.

http://www.pcplus.co.uk/tips/default...bsectionid=390
http://support.microsoft.com/default...;EN-US;q289022
 
Old 08-10-2004, 09:08 AM   #6
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Rep: Reputation: 15
the boot.ini file is located in you're C drive and not on the MBR so reinstalling will not fix any problems with that.
If you can boot windows without a problem you just have to locate the boot.ini file and put it in the c:/ folder (your c drive) you will have to display hidden folders and files (its somewere in the explorer options)
If it is not found you can try to make one youself with notepad.
I don't know how it should look but you can look that up on the internet
 
Old 08-10-2004, 10:27 AM   #7
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Since boot.ini isn't needed, just create an empty file with that name. It could work?
 
Old 08-11-2004, 04:12 AM   #8
Caled
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 8.2
Posts: 13

Original Poster
Rep: Reputation: 0
I've tried searching for the boot.ini file with hidden system files shown, its gone...but where, who knows?
I've also tried replacing the boot.ini file with one i've seen which looks familiar to the one i used to have (i cant be 100% certain it was the same... can YOU remember every last letter and dash in your boot.ini file?) and it brings up a new message saying that it cant find something called NTOSKNL.exe, or something similar. Hm. I may just leave it as it is. I can't be one hundred percent certain, but I think this has all been caused by a virus. Damn them.
 
Old 08-11-2004, 04:54 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
here is mybot.ini
i have windows in hda5,i do not have anything in my C drive except the windows system files,msdos.sys,boot.ini, etc etc


[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(4)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINNT="Microsoft Windows 2000 Advanced Server" /fastdetect


regards
gaurav
 
  


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
WinXP Won't boot - Write to NTFS Boot.ini File GNewbie Linux - Newbie 9 11-14-2005 01:41 AM
edit windows boot ini to allow booting to lilo V_LESTAT Linux - Newbie 2 01-15-2004 07:58 PM
PS2 mouse goes crazy [it goes round n round n round...] goci Linux - Hardware 2 10-09-2003 09:15 AM
using lilo instead od win2000's boot.ini spyke01 Linux - Software 1 07-16-2003 10:15 PM
Dual Boot Win2000Pro & RH 8 w/Boot.ini JinxU1 Linux - Newbie 9 01-31-2003 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration