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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-14-2004, 07:08 PM
|
#1
|
Member
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46
Rep:
|
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.
|
|
|
02-14-2004, 08:43 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354
|
"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.
|
|
|
02-14-2004, 10:29 PM
|
#3
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918
Rep:
|
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.
|
|
|
02-15-2004, 12:25 PM
|
#4
|
Member
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46
Original Poster
Rep:
|
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.
|
|
|
02-15-2004, 12:30 PM
|
#5
|
Member
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46
Original Poster
Rep:
|
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.
|
|
|
02-16-2004, 04:45 PM
|
#6
|
Member
Registered: Oct 2003
Location: Wyoming
Distribution: Gentoo, Ubuntu, FreeBSD
Posts: 46
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|