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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I tried to install a dual boot system on a laptop.
Default OS is XP on /dev/hda1 which is loadable
from the Windows boot loader. I did everything
to move the boot sector to C:\ (dd and that kind
of stuff). Still Linux isn't accessable from the
Windows boot loader (just black screen).
What I am really concerned about is that this
approach worked very well for NT4 and 2000.
Maybe there's a problem with XP?
In another thread someone gave the hint to
execute lilo manually, first. This isn't working!
Typing "/sbin/lilo" results in "Fatal: can't put
the boot sector on logical partition 0x307"
Try changing the line boot=/dev/hda5 to boot=/dev/hda and re run lilo. Currently you're trying to install Lilo to the boot sector of /dev/hda5, which is a partition. You'd still need a bootloader (were you planning on using XPs boot loader?) to load Linux. Changing that line to /dev/hda puts Lilo in the MBR (master boot record), which is where your WinXP bootloader currently resides.
Don't install lilo in your mbr. It needs to be installed in the /boot or root ' / ' partition. Change the boot=/dev/hd5 to the partition that you want to install lilo on and run /sbin/lilo. Then make your copy of the boot sector using dd. Also, make sure that the root=/dev/hda7 is pointing to the root ' / ' partition.
That could be the problem and that could explain the error message: "Fatal: can't put the boot sector on logical partition 0x307". It's trying to install lilo in the boot sector of hda7 instead of hda5 and the line ' boot=/dev/hda5 ' is saying to install it in hda5.
Are you sure there is no map file or any file that has map in its name in the /boot folder? Running the command locate map | less will locate any file or folder that has map in it.