LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-24-2004, 12:20 AM   #1
luizebs
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
XP wants to enter recovery mode after installing RH9


Dear Linuxers,
I just installed RH9 on a new HD, and would like to have XP on the original HD (for my wife). Everything was fine with the installation and I was able to boot to RH and to windows XP. I installed Lilo on the MBR.
The problem is that when I boot to WindowsXP, it enters in a recovery mode, and if I accept the recovery process, it will screw up my boot. (I once tried, and I couldnt boot at all - I had to boot Knoppix from CD to alter GRUB (that time I opted for GRUB instead of LILO), at least to check if I have lost any data... Everything was fine...). Then after spending a lot of time trying to fix boot loaders, I went for a new linux installation (RedHat installed again in the same place). This time I opted for LILO.

Now I have dual boot again, but still, when I go to Windows, it enters in the damn recovery mode, which I am afraid will screw up everything (i mean Boot) again...

I tried to skip this recovery mode, but there is no way: next time I boot, windows ask me again to run recovery...

Can anyone help me?
Thanks,
Luiz
 
Old 12-24-2004, 12:48 AM   #2
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Rep: Reputation: 15
ur biggest mistake....................
u installed lilo on MBR. it should be installed on /boot parttion.

Follow the link,
http://www.enterprisedt.com/publications/dual_boot.html

create a boot floppy wen prompted to do so in installation procedure.
 
Old 12-24-2004, 01:04 AM   #3
luizebs
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
No floppy

There is no floppy in my desktop...
How can I go back and revert this?
If I reinstall Linux, MBR will still be wrong... right?
Thanks,
Luiz
 
Old 12-24-2004, 07:31 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
First off, installing LILO to the MBR is NOT a mistake, it is a perfectly viable option. You probably want to post at least the windows section of your /etc/lilo.conf file. For comparison, here is mine, and I dual boot from the MBR without any problems:

Code:
# Windows Boot Section
other = /dev/hdc2
  label = WindowsXP
  table = /dev/hdc
#End of Windows boot section
#Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hdc6
  label = Linux
  append = "acpi=on"
  read-only
Of course your disk designations will be different.
 
Old 12-24-2004, 08:10 AM   #5
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Rep: Reputation: 15
if u dont have a floppy there's workaround.
boot from 1st linux cd-rom, at the boot prompt type linux rescue or rescue (i gues). u wil get a prompt. there mount ur windows partition in /mnt if it is not already mounted.
then issue this comman

dd if=/dev/hda3 of=/bootsect.lnx bs=512 count=1

after this copy the bootsect.lnx file to ur windows partition.
edit boot.ini after booting in windows. and add entry

C:\BOOTSECT.LNX="Linux"

here c:\ is the location where u hav copied bootsect.lnx

i hope this clears all stuff.
 
Old 12-24-2004, 08:18 AM   #6
zatka
Member
 
Registered: Dec 2003
Distribution: Fedora 7
Posts: 75

Rep: Reputation: 15
i forgot to mention,
/dev/hda3 in the dd command is the boot partition.

if u want to see ur /boot partition issue this command,

df -h

u wil get a list of partitions on ur HDD.
replace /dev/hda3 with the respective /boot partition.
 
Old 12-24-2004, 01:31 PM   #7
luizebs
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Sure, my lilo.conf looks like this:

prompt
timeout=50
default=WindowsXP
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"

other=/dev/hda1
optional
label=WindowsXP

(Forgive me, I am quite ignorant in these boot issues, I just learn a little bit with this problem...)

Marry Christmas to all,
Thanks,
Luiz
 
Old 12-24-2004, 01:53 PM   #8
luizebs
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Also,
Do you think it is really a boot issue? I mean, XP is booting... The only problem is that he somehow recognize some unexpected alteration and "instists" in running recovery...
I am very confused...
thanks
Luiz
 
Old 12-29-2004, 07:55 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I think the lack of a "table" directive in your Windows section could be causing trouble. I'm not sure that Windows is getting all the info it needs from LILO to boot properly and that may be causing it to think something has gone wrong. So yes, I do think it is a boot issue. I would try modifying your lilo.conf to match mine (only keep your disk settings) and see what that gets you.
 
  


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
KDE 3.4.1 Login Manager won't enter admin mode rgingels Debian 12 11-09-2005 03:20 PM
Lost root passwd and can't enter resuce mode musikalg Linux - Software 3 09-18-2005 08:33 AM
cannot enter full screen mode in vmware maenho Linux - Software 0 01-07-2005 03:50 AM
can no enter rescue mode entirely pandachina Linux - Software 0 09-07-2003 07:56 PM
how to enter into console mode madiyaan Linux - Newbie 12 05-31-2003 06:05 PM


All times are GMT -5. The time now is 03:30 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