SlackwareThis Forum is for the discussion of Slackware 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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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.
The first is hda - with windows xp
The second is with linux slack.
When installing lilo I do this:
I open my PC case and unplug the first hard disk - hda.
Then I have only hdc.
I install lilo in the MBR of hdc
I reboot and Lilo runs.
After this I shutdown my pc and plug the other hard - hda.
The PC starts winxp - wich is ok.
If I want linux to boot I denied access to the first hda in BIOS (CMOS settings). And this is how I want the things
BUT I HAVE TO UNPLUG MY FIRST HARD - hda.
Is there another way . I don't want every time (installing Linux) to disconnect my first hard from the PC.
I'm estimating you want a dual boot machine - Windows XP and Linux from your comments.
SuSE 8.1 allowed me to create dual boot machine during setup and provided the option to boot from a floppy. Remove the floppy and I boot to Windows XP, insert the floppy and a Linux boot menu gives me the choice of Linux and Windows with the default boot to Linux.
I have two physical hard drives and one USB hard drive. I was not allowed to install XP on one drive and Linux on the second. I had to partition the first physical drive with Windows and Linux partitions.
You may have a similar issue in that Linux and Windows XP must both be installed on separate partitions on but on the FIRST physical drive in your system. When you unplug your Windows drive, that makes your Linux drive your first physical drive so you boot.
That's been my experience and it works well for SuSE 8.1 and Windows XP.
That's why I unplug the first - hda . My hdc gets first . And the I have linux on the second drive . And I choose what to boot only by "access moode" from the bios - my two hard drives are already connected.
So I have windows xp on the first and linux on the second
I don't want lilo to be installed on the first device becouse I don't want nothing on windows drive from linux and other way .
If you can use a boot floppy to choose which OS to boot than it may work. SuSE created the boot floppy for me during install but I believe I could have used Partition Magic to do the same.
Your Linux distribution may not allow you install Linux on your second physical drive and boot from that drive on demand. Having Windows XP on the first physical drive in the system and Linux on the second physical drive in your system with the option to boot to either one may not be possible. Changing the BIOS at boot seems like it raises the hassle factor considerably.
I don't understand why you don't want the MBR for lilo on the Windows drive. It has worked perfectly for me in the past.
If you're freaked out by the idea for some reason, you'll have to use a boot floppy. I've never done this before, but I think if you either use Slack setup or read the man pages for lilo and lilo.conf, you'll figure out how to do this.
Phathead's right - its a common scenario round here - Windows on the 1st hard drive - Linux on the 2nd hard drive - LILO on the MBR of the 1st hard drive - typically, if configured right, there's not a problem - however, if you're still concerned, wait for more opinions.
If you can't set your BIOS to boot from the second hard drive while the first one is still hooked up, then you could make the Linux drive hda and just have an option in Lilo to boot to the Windows drive, hdc, when you wanted. Of course, to do this you would have to reconfigure some files in Linux to point to the opposite drives.
I have placed LILO on /dev/hdb (not on MBR)
In my bios I have the option set to boot from HD2 (/dev/hdb)
My Lilo conf looks something like this (doing this from work, might contain error)
boot = /dev/hdb6 (this is /)
other = /dev/hda1
label = windows
tabel = /dev/hda
Image = /boot/vmlinuz
Label = Linux
Root = /dev/hdb6
So my machine boots HD2, display's LILO with option windows and Linux, both boot fine.
The big advance of this is that if I remove my Linux HD, Windows will still be able to boot.
The same if I remove my Windows HD.
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
I have a similar issue in that grub on SuSE has been very hard to configure for my system Win ME on ist partition of Master drive SuSE on the 2nd partition; debian and slackware on the slave or 2nd hard drive. I found that gujin (look at freshmeat.net or sourceforge) has a lot of features for boot loading.I still haven't mastered it yet but it does see all the drives/partitions and booting options and it doesn't touch your MBR unless you want it to. Hope this helps.