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!
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.
I don't actually have 2 HDDs, but I belive that lilo shouldn't have any problems with it. I can't remember if there's supposed to be a preceeding '/' or not (I don't think there is).
Will post a copy of the 'Windows' bit of my lilo.conf tomorrow. Unfortunately, I can only access the internet from Uni (I don't have a phone line yet) and they run WinNT (bleurgh) so I don't really have access to one just yet.
I don't remember making a boot disk. What I did try to do is your suggestions from the previous posts. I am confused as to what to change in the lilo.conf file. I don't think I can simply change all the hda's to hdb's and simply change the ribbons and jumpers around, or can I? What exactly should my lilo.conf look like now that I have the Windows disk as Primary and Linux as secondary. I also have to change my CMOS to boot from the Secondary drive because if I don't, it just goes to Windows 98 and never thinks about Linux.
Maybe it didn't like where the lines were put. Try putting these lines at the begining of lilo.conf. You'll have to put the drives back to the way they were if you want to try this.
disk=/dev/hdb
bios=0x80
disk=/dev/hda
bios=0x81
If it doesn't like those lines, try these:
map-drive=0x81
to=0x80
map-drive=0x80
to=0x81
If you were to leave the windows drive as hda and linux as hdb, you'll have to edit the lilo.conf and fstab files and change hdb to hda and hda to hdb.
You can leave your windows hard disk as slave if you use GRUB instead of lilo.
In the menu.lst file for GRUB add these lines.
title Windows
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
rootnoverify (hd1,0)
chainloader +1
This will lie to windows so it still thinks it is the centre of the universe! (assumes that your windows C:\ drive is the first primary partition on the slave drive (hd1,0))
To install grub:.
Install the grub rpm, then open a console, su to root then the commands:
grub
root (hd0,1) (or whatever the root of your linux is)
setup (hd0)
quit
to install grub to the mbr of hda.
Good luck
I have a RH9 and I have installed MS 2k3 afterwards,
so obviously 2k3 overwrote the mbr/bootloader with it's own - now when I go back to grub, mod the conf file and do the setup from grub console, it gives me error 12: invalid device request, this is were grub loader was before and worked, i'm not sure what to do next.
Any suggestions ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.