SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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 have linux suse on my computer, but i want boot it from xp boot loader. what files i have to copy from linux CD into my windows XP partition, and how i write the boot.ini in windows XP.... thanx...........
Assuming Windows is already installed, when you install Linux (on its own partition) you'll get an option to install GRUB (the Linux boot loader) either on the MBR or on the first sector of the Linux partition. Choose the latter (if you choose the former, you'll overwrite the Windows boot loader). Once Linux is running, you can use a utility called dd to copy the boot sector to a file on a floppy. See the dd man page for syntax. Or if you have a raw disk editor, such as NtExplorer, use it to locate the Linux boot sector and copy it to a file. The file will be exactly 512 bytes.
Then add a line in boot.ini pointing to the file, like so:
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP Professional x64 Edition" /noexecute /fastdetect
c:\linuxboot.bin="Redhat Enterprise Linux 3.94 beta" /fastdetect
Last line is the new one. Doesn't matter what you call the file.
You can get NtExplorer (disk manager) from http://www.runtime.org. Free version won't let you write back to the disk, but you can write to a file.
BTW, if you have any weird drives connected (RAID, etc) that you're not using for the install, you oughta disconnect them before installing Linux. My RAID drives confused GRUB when I installed it.
Just forget about it, I dont think you will ever be able to boot linux using a MICROSOFT windows boot loader ... it can't read linux partitions, you can't specify a kernel, etc. You'll have to use a linux boot loader or some other commercial product if you wish ( )
Windows doesn't have to be able to read Linux partitions. It only has to read that file you point to in boot.ini. It will load that, and Linux will taker over from there. If you aren't using GRUB, you'll probably be using LILO. I haven't tried it with LILO, but it should work the same: Locate the GRUB or LILO boot sector (should be the first sector in your Linux partition), copy it to a file, place that file on the main Windows partition in c:\, then point to it in boot.ini, per my previous post.
That's a great write-up GaryM, but why would anybody want to do this, when Grub, or Lilo could simply give you the option to boot into Windows anyway? It seems to me that boot.ini would point to grub, and then let grub take over. This just seems to be the same thing to me...
Thanx for all..........i know i can use lilo or grub from linux, but i want to know the other way to boot linux from windows bootloader. Windows can't read linux partition, but in linux cd there is some file that can read in windows, so this file can load linux.
Originally posted by mtaylor57 That's a great write-up GaryM, but why would anybody want to do this, when Grub, or Lilo could simply give you the option to boot into Windows anyway? It seems to me that boot.ini would point to grub, and then let grub take over. This just seems to be the same thing to me...
Yup -- you can also set up dual booting via GRUB or LILO. But he asked about doing it from Windows. Either way works (usually :-)). As for boot.ini pointing to GRUB, that is what the method I described is doing.