Lilo troubles - RedHat Linux & Win XP *Please help
Linux - SoftwareThis 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
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.
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.
/etc/lilo.conf is a text file where lilo configuration is kept. You can edit it to make a choice between Linux and Windows. But if you were using XP boot manager it will be better to let Windows use its boot manager. You can delete lilo using
lilo -u
but remember to make a boot disk to have a possibility to get to Linux after this. A good guide about using NT bootloder (which is the same XP uses) is in NT-bootloader-HOWTO (or it has a similar name).
I've installed RedHat 7.2 using LILO Boot-loader on the first sector of the boot partition and NOT ON MBR. A linux bootdisk has been successfully created... So, I can normally boot up WinXP and Linux will only boot up by using the appropriate bootdisk.
In Linux I created the bin-file using:
dd if=/dev/hdb2 of=/tmp/LiloBoot.bin bs=512 count=1
->
mcopy /tmp/LiloBoot.bin a:
->
Then I started Windows and copied the file to d:\
->
This I added to the boot.ini: d:\LiloBoot.bin="RH Linux 7.2"
Note: "I removed /fastdedect from Win entries because I heard this will ignore booting up Linux
->
Then I restarted the system and tried to boot up by choicing the Linux panel entry. No luck at all... The system restart again and come back to the boot menu...
So, in my opinion I set up everthing correctly und I'm wondering why it's not working. Below you'll find my hole system specification. I'd be very grateful if some could help me in that matter...
Tanks in advance for every reply *Cheers Marco
My System profile:
----------------------
HD1 (60GB)
c: -> 1 Partition -> NTFS -> Win2000 (This I want to uninstall later)
d: -> 2 Partition -> NTFS -> WinXP (Main OS)
HD2 (10GB)
Linux Redhat 7.2
From Disk Druid:
---------------------
dev/hda1 Win2000 NTFS
dev/hda2 Erweitert
dev/hda5 WinXP NTFS
What you mean with lilo was not installed... I thought lilo is installed when I can boot up Linux... How can I try lilo? Is that same was Linuxcool is recommending?
Linuxcool,
Can you briefly explain me what map=/boot/map means
For runnining lilo:
cd /sbin/lilo
lilo (just typing lilo?)
Is there annother command than vi for editing files... I hate vi because I can't quite it with q and have even big problems to make any adjustments....
Sorry for these questions but I'm now at enterprise can't test anything at this time...
The lilo program is installed, but it should be started to place itself in the begging of a partition. Im' not sure it was done in your case.
To start lilo you can just type lilo. It's placed in sbin (so you can also use /sbin/lilo with the same effect).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.