LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cannot boot Win Xp after installing Red hat 9.0 (https://www.linuxquestions.org/questions/linux-hardware-18/cannot-boot-win-xp-after-installing-red-hat-9-0-a-75951/)

shahrahulb 07-25-2003 05:37 PM

kindly reply
 
After installing Red Hat 9.0 Linux, I cannot boot WinXP.

Following is the cotenets of lilo.conf file:

prompt
timeout=100
default=linux
boot=/dev/hda
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/iniyrd-2.4.20-8.1mg
read-only
append="hda2ide-scsi root=/label=lu

other=/dev/hda2
optional
label=DOS
I have a dual boot lilo loader.
When I try to install WinXp,
it gives me error:

Loading DOS
Error 0x40
Boot DOS


I tried the following:
1)tried to change default to windows
2)tried removing "optional" frpm other=......... paragraph.

but still I can't boot Win Xp,

Your help is highly appreciated.

Thanks.


__________________
rahul shah

fancypiper 07-25-2003 05:40 PM

:mad: Double, triple, quadruple and other multiple posters apparently don't read anything. :rolleyes:

:tisk: Did you read the rules you agreed to? :study:

fancypiper 07-25-2003 05:41 PM

# How do I uninstall Linux completely and keep/use Windows only?
How to Remove Linux and Install Windows 2000
How to Remove Linux and Install Windows XP
You can remove lilo from the mbr with
/sbin/lilo -u
You can remove grub or lilo from the mbr by booting with a Windows 98 boot floppy (at the prompt, type fdisk /mbr), or by using the Windows XP Recovery Console or the Windows 2000 Recovery Console

shahrahulb 07-25-2003 05:47 PM

I m really sorry that I posted multiple messages.

if i remove lilo from mbr using /sbin/lilo -u ,

will i be able to boot in linux or winXp or both and how?

Thanks.
Rahul

fancypiper 07-25-2003 06:07 PM

Well, you will need a boot floppy or a boot CD if you don't use a bootloader. Otherwise, you will have to configure lilo correctly to boot Windows and Linux both.

You should either downloador buy the Red Hat Linux 9 Documentation Bundle and go over Chapter 2. Boot Loaders in the Red Hat Linux Reference Guide.

# I hosed my box
LILO fails: Error messages and their interpretation
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
Multiboot with GRUB Mini-HOWTO
Linux+Win9x+Grub HOWTO
KNOPPIX Linux Live CD
Linux Bootable Business Card
Tom's Root and Boot floppy
Windows 2000 Recovery Console
Windows XP Recovery Console

Why choose lilo over Red Hat's default, grub?

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Manarius 07-25-2003 08:05 PM

Hmm...GRUB is a little nicer (at least for RH9)
When you did your partitoning, did the default windows Drvie letter change? That can cause major boot errors. I had to buy a new HDD b/c when I did my Linux formatting, it screwed up my 2nd F32 partition(which I am booting 98 from)

danny_kurniawan 07-26-2003 06:01 PM

Why don't you try GRUB... for quite sometime I also have a problem using multiple OSes boot configuration... the problem happened when you create more than 1 primary partition, specifically for MS OSes...

The main cause is about active partition signature... Windows only boot to active partition, while usually on multiple OS installation, this signature can changed, depending on what OS installed last... to fix this, I use GRUB with makeactive command before chainloader +1 command.

Unfortunately there is no similiar command on lilo...

shahrahulb 07-28-2003 09:46 AM

changing from lilo to grub worked out
 
i reinstalled Linux but this time with Grub loader and now I can boot Win XP.

Thanks for your suggestions.

Rahul.

liquidskies 10-02-2003 12:57 PM

Boot Loaders
 
As to the coversation about boot loaders and Red Hat 9.....


Not Sure what I installed but Grub appeared to not like it. It started taking me over 10 min just to get past the login screen for Gnome on Red Hat 9....

I however switched to lilo and the problem went away. As for people telling you which boot loader to use. It matters very little. They both do they're job very well and its more of a personal preference issue. So if you like Grub use Grub if you like Lilo use Lilo.

Just remember everything in *nix is a personal preference for every person that tells you that Red hat is the best variant, or Grub is the best boot loader, you will have another person tell you it is trash.

Tho.... Red Hat 9 Rules! lol

msoares 10-13-2003 04:34 PM

I'm having the same problem, i.e., cannot boot Windows XP after installing RH9 Linux. When I get to GRUB, the Red Hat Linux boot works fine, but the Windows XP hangs after the following GRUB commands:
rootnoverify (hd0,0)
chainloader +1

I have tried adding "makeactive" after and before "chainloader +1", but it doesn't make a difference.

I have changed GRUB to be installed in the first sector of the HDD instead of the MBR, but it still doesn't make a difference.

I have 1 HDD with 250GB. I tried several installation configurations, but always with the same result:
- installing Windows in a small partition in the beginning, then Linux;
- creating a small partition in the beginning (1024 issue?) for the /boot directory, then windows and then linux (/ and swap)
- installing Windows first, but in the end of the HDD; then installing Linux in the beginning.

I also tried installing Linux first and in the beginning of the HDD, then Windows XP. In this last case, I lost GRUB and Windows XP took over and it seems GRUB was not called. I then tried to re-install Linux just to get GRUB to be called, but it did not work either.

Also, before I forget:
- I also tried LILO... did not work either!
- I have searched this site and others... it seems the best to resolve my problem is located at: http://www.enterprisedt.com/publications/dual_boot.html
- I do not have a floppy disk drive; just a CD/RW and DVD.







msoares 10-13-2003 04:37 PM

.

msoares 10-13-2003 04:47 PM

.


All times are GMT -5. The time now is 09:02 AM.