LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-25-2003, 05:37 PM   #1
shahrahulb
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
Question 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

Last edited by shahrahulb; 07-25-2003 at 05:58 PM.
 
Old 07-25-2003, 05:40 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Double, triple, quadruple and other multiple posters apparently don't read anything.

Did you read the rules you agreed to?
 
Old 07-25-2003, 05:41 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# 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
 
Old 07-25-2003, 05:47 PM   #4
shahrahulb
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
Old 07-25-2003, 06:07 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
 
Old 07-25-2003, 08:05 PM   #6
Manarius
LQ Newbie
 
Registered: Jul 2003
Location: Grantham, PA, US
Distribution: Ubuntu 8.1 w/ KDE4
Posts: 20

Rep: Reputation: 0
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)
 
Old 07-26-2003, 06:01 PM   #7
danny_kurniawan
Member
 
Registered: Jul 2003
Location: Surabaya - East Java, Indonesia
Distribution: Red Hat, Mandrake, Debian, Knoppix
Posts: 57

Rep: Reputation: 15
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...
 
Old 07-28-2003, 09:46 AM   #8
shahrahulb
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Smile 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.
 
Old 10-02-2003, 12:57 PM   #9
liquidskies
LQ Newbie
 
Registered: Oct 2003
Location: USA
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
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
 
Old 10-13-2003, 04:34 PM   #10
msoares
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
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.







Last edited by msoares; 10-13-2003 at 04:49 PM.
 
Old 10-13-2003, 04:37 PM   #11
msoares
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
.

Last edited by msoares; 10-13-2003 at 04:50 PM.
 
Old 10-13-2003, 04:47 PM   #12
msoares
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
.

Last edited by msoares; 10-13-2003 at 04:50 PM.
 
  


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
Multi Boot (Red Hat 9 and 2 versions of Win XP) Slindner Linux - Newbie 1 08-30-2004 03:43 AM
Installing lucent win modem (red hat 9) victor_shulist Linux - Hardware 1 11-01-2003 06:42 PM
cannot boot Win Xp after installing Red hat 9.0 shahrahulb Programming 5 07-25-2003 06:24 PM
Win XP/ Red Hat 7.3 dual boot = slow Linux/n0ob Linux - Newbie 1 11-19-2002 07:59 PM
Dual Boot Win XP / Red Hat 7.2 Linuxidiot Linux - Software 8 02-16-2002 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:10 AM.

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