lilo problem
I have 2 hard drives in my computer. The master has Red Hat Linux 7.1 and the slave has Win 98.
I edited the /etc/lilo.conf file and added the following at the end: /other=/dev/hdb1 (because that is what's in the vfstab) label=Win98 Then I ran /sbin/lilo. When I rebooted, and selected Win98, it said "Loading Win98" and just sat there. What did I do wrong and what do I need to do now? Thanks, Randall |
Not entirely sure, but:
Try removing the preceeding '/' so that it reads: other=/dev/hdb1 label=Win98 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). Keep us posted. |
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.
|
Slash was a mistake in post
The / was a mistake in the post.
It reads: other/dev/hdb1 |
Hi !!!
My lilo.conf looks like this: other = /dev/hdx (without number) label = windows Where x is the letter of the ide channel, a=master on primary, b=slave on primary, c=master on secondary, d=slave on secondary. Try it and see if it works. |
Add this to your fstab file:
other=/dev/hdb1 label=Win98 table=/dev/hdb disk=/dev/hdb bios=0x80 disk=/dev/hda bios=0x81 Then run /sbin/lilo. |
Still Not Working
I tried the suggestion in the previous post. The computer rejects the lines:
disk=/dev/hdb bios=0x80 disk=/dev/hda bios=0x81 When I put any of those lines in, the computer comes back with a syntax error. This is what the lilo.conf looks like now: ******************* boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=Win98 image=/boot/vmlinuz-2.4.2-2 label=linux read-only root=/dev/hda8 append="hdc=ide-scsi" other=/dev/hdb1 label=Win98 table=/dev/hdb ******************** Everything before "other=/dev/hdb1" is what was in the lilo.conf before I touched it, except "default=Win98" used to say "default=linux" Any suggestions? Thanks, Randall |
Win98 can't boot from anything other than /dev/hdaX (primary master)
|
Here's a problem
Mr. Heatseeker,
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. Randall |
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 ? |
All times are GMT -5. The time now is 01:55 PM. |