Linux - NewbieThis 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!
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 want to install Yoper linux and dual boot with windows/linux. I've already been through it once before...I installed windows, then yoper, and thinking that LILO is friendly with windows, I went ahead and installed it to the boot sector of my drive. Big mistake...
Anyway, long story and a couple days later, here I am with a new install of windows and no install of yoper. I found an interesting page where a guy describes how to dual boot using windows boot manager. The trouble is, I don't understand everything he's talking about. Here are the parts I'm having trouble with:
...therefore I place LILO (or other boot loader) in the boot record of /dev/hda2 partition which I mount as /boot.
I will most likely install yoper on hda2 (with windows on hda1). Do I have to create a boot record for it, or is it already installed when I install linux? How exactly do I mount it as /boot?
Copy the boot sector of /dev/hda2 partition into a file:
Where can I find the boot sector of the /dev/hda2 partition?
Copy the file bootsect.lnx to the windows partition
I guess he means any part of the partition, as long as I can access it from windows?
The rest is easy, it's just messing around with windows
I'd like to get this figured out before I install linux again...Thanks for your help!
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
don't get mixed up between the master boot record which is at the beginning of the disk, and the boot record which is at the beginning of each partition.
install yoper, and let lilo install itself in the boot record of the root partition. the boot record will exist in the first 512 bytes of the partition, which you can copy with
dd if=/dev/hda2 of=/boot.sec bs=512 count=1
mount the windows partition before rebooting and copy that file to the windows partition. if it's an ntfs partition, instead copy it to a floppy.
mount /dev/fd0 /mnt/floppy
cp /boot.sec /mnt/floppy
boot into windows and edit the file c:\boot.ini to include:
I have no experience with Yoper but in most distros you get to choose whether you want to install the bootloader(GRUB or LILO in most cases) into the MBR or into the partition bootsector, in your case you need to install it into the partition bootsector.
the boot.sec ends up in / because he specified absolute path, if you just have boot.sec without the leading slash it'll be created in your current working directory.
The extension shouldn't not matter, though I vaguely remember having issues with certain file extensions when using NT OS Loader. .lnx, .bin or .sec should certainly work.
The file has to reside on where your boot.ini, ntldr and ntdetect.com(these are hidden system files)is, which is usually C:\. Therefore if its on a NTFS partition you'll need to copy the file onto a floppy disk, reboot into Windows then copy it.