LILO to GRUB
I just got a new laptop, it came with winxp home. I installed ghost and made an image.
Tried to re-part without killing windows but was not successfull. And so I ended up killing windows (as I repartitioned my harddrive into 4 part). The partitions are as follows (on ONE harddrive only): hda1 = ntfs hda2=linux hda3=linux hda4=linux swap Re-installed winxp image back into the ntfs, installed mepis linux on hda2 and after playing with it finally got it to dual boot. Now comes the next linux distro - BUFFALO, it installed okay - but it also screwed up my MBR by putting in LILO. So it only booted to BUFFALO from then on. I re-installed grub and got it back to dual booting to WINXP and MEPIS, and now want to add in BUFFALO, and that is where the problem is. I have looked at the lilo.conf file and here is what it says. lba32 boot = /dev/hda prompt timeout = 90 message= / boot/boot-message.txt vga=normal image= /boot/vmlinuz root= /dev/hda3 label= BUFFALO read-only Now the question would be to convert that to GRUB. This is what I think it will be, have tried variations of it but it just goes in a loop and does not boot (just stays at the grub menu screen - actually brings up a grub prompt for me to fix it). This is what I plan on trying next, tell me if it is correct. title BUFFALO root (hd0,3) kernal /boot/vmlinuz root=/dev/hda3 |
Device numbering in grub is offset by -1, that is, it starts counting disks/partitions at 0.
Replace: root (hd0,3) with: root (hd0,2) in grub.conf in your buffalo entry and I think you will find joy. |
thanks
After thinking about it for 24 hrs I came to the same conclusion. And that worked! Thanks for the confirmation. Its easy when you have the right information in GRUB.
|
All times are GMT -5. The time now is 02:22 PM. |