LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2004, 07:08 PM   #1
lobo78
Member
 
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46

Rep: Reputation: 15
replacing grub with lilo for dual-booting


I had a computer that would dual boot XP and Red Hat 9. I was using Red Hat's grub installed in the MBR to handle the dual booting. I decided that I wanted to switch over to Debian Woody, so I installed it over my RH9 partitions. I did not change the partitions in any way, I only installed debian where red hat used to be. I also installed lilo to the mbr like debian asks in the install. I assumed that it would just replace grub and allow me to boot into windows just fine, as before.

However, now I can boot into debian just fine, but when I try to boot into XP I get the
multi(0)disk(0)rdisk(0)partition... errors until it reboots. Since I didn't change any partitions, I assume this must have something to do with the MBR. But since grub was already there, I don't understand why this would have happened? Any ideas? Thanks.
 
Old 02-14-2004, 08:43 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
"I don't understand why this would have happened? Any ideas? Thanks."

There is probably something wrong with your file /etc/lilo.conf. Fix lilo.conf and then run lilo for the changes to take effect. Here is a lilo HOWTO to help you work your way through the problem:

http://tldp.org/HOWTO/LILO.html

For safety's sake you should first create a lilo boot floppy as described in section 8. That way if you screw up lilo.conf you can still boot with the floppy.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 02-14-2004 at 08:45 PM.
 
Old 02-14-2004, 10:29 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Check "cfdisk -P s" (as root) to confirm partitions.

If Windows is on /dev/hda1 (first partition, first hard disk) then add (per "man lilo.conf"):

other = /dev/hda1
label = WinXP
table = /dev/hda

to your /etc/lilo.conf (with your favorite text editor, as root).
Then run "/sbin/lilo" as root and you should be good.

Good Luck.
 
Old 02-15-2004, 12:25 PM   #4
lobo78
Member
 
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46

Original Poster
Rep: Reputation: 15
Ok, I tried what you said, 2damncommon, but it didn't work. Actually, I am not so sure that it is lilo at all. Because when I try to load XP it gives me the screen asking if I want to load it in Safe mode or normally. Only once I pick any of the selections does it give my the before mentioned error. So, it appears that the problem isn't that it's not getting to the right partition. The debian install must have done something to the partitions.

Just on a side note, I also upgraded my computer, adding a new motherboard, cpu, and ram. I don't see how any of that would have caused this problem, unless it had something to do with the bios. What should I do? Thanks for helping me out so far.
 
Old 02-15-2004, 12:30 PM   #5
lobo78
Member
 
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46

Original Poster
Rep: Reputation: 15
One more thing, I happened to have PartitionMagic on XP. Well, I tried loading the PM boot disks and it gives me this error:

"PartitionMagic has detected an error 116 on the partition starting at sector 77112000 on disk 1.

The starting LBA value is 77112000 and the CHS value is 16450559.
The LBA and CHS values must be equal.
PartitionMagic has verified that the LBA value is correct and can fix the CHS value.

Would you like PartitionMagic to fix this error?"

So far, I have said no because I don't know what this will do and if it even has anything to do with booting XP problem.
 
Old 02-16-2004, 04:45 PM   #6
lobo78
Member
 
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46

Original Poster
Rep: Reputation: 15
In case anyone would like to know, the problem had nothing to do with the bootloader. The issue was because I had changed my motherboard. Linux loaded perfectly the first time, but XP has a bug (go figure) that required me to do an in-place upgrade of XP. It basically installs all the system files again, without deleting the programs and user files.

Once again, Linux proves its superiority over Windows.
 
  


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
replacing LILO w/ GRUB microsoft/linux Debian 13 01-18-2012 02:15 PM
lilo vs grub, dual-booting binkgle Ubuntu 6 05-16-2005 01:39 AM
Dual Booting WinXP/MDK with Lilo and Grub StealthSpectar Mandriva 5 11-09-2004 01:02 PM
LILO/GRUB for dual booting Gentoo and Debian. rmanocha Linux - Software 2 02-22-2004 01:23 PM
Dual Booting: Using LiLo, using GRUB, using BootMagic Rashaverak Linux - General 0 03-08-2001 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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