GRUB to recover?
I mistakenly copied an extremely large file to the wrong location, in root, on hd1 and had problems booting...I didn't know how to fix it, and installed another copy of rh9 on hd2, which installed GRUB, booted from it, and saw and fixed my mistake. Now, however, I can't figure out how to get back to square one.
Now I want GRUB to boot from hd1,5, but can't make it work. The old install used LILO. Do I HAVE to use vmlinuz...I've never compiled a kernel? The reason that I want to boot from my first installation is that I spent many, many hours installing programs such as Mplayer, WINE, etc, and really don't want to have to go through all of that again ( newbie). The older, preferred install is on a 10G partition, and the new only has 3G, so I'm at a loss what to do.
Alternatively, can I just hard-link the old onto the new...? Really confused by so many options, and too inexperienced to know the best root to take.
If I were you I'd add your old install to the new /boot/grub/menu.lst
Grub has a different format/syntax/whatever to lilo, but you should be able to figure it out. It starts counting from zero so what was 1, grub calls 0.
/dev/hda5 grub calls hd(0,4) and /dev/hdb4 grub calls hd(1,3)
Did you get that? The rest of the options are basically the same as lilo
For example, this is an entry from /etc/lilo.conf to boot Mandrake
I compared my own hda4 LILO.conf, and my hdb6 LILO.conf , with my hdc GRUB.conf ( or menu.lst, as is more correct) per your instructions ( I think at one point I had seven lucky windows open)( the essentail clue was the ( hd#,x) indicated at the beginning of the path) and saw the error of my ways...I fixed the code in GRUB and re- grub-install -ed. BOOM...I'm back in the pink! You gave me all of the clues that I needed. Apparently my second drive hadn't been mapped, so I had to edit the map file and re-do grub-install.. Can I send you a Cantaffordya fruit-basket or something...?or maybe come across the Atlantic and p l a y . . . .? Yer an anchell. -Allen
By the way? I agree with you completely about GRUB...it ( apparently) can boot anything anywhere anytime.. you can even boot Winblows ( or is it windoze..?) from your second hard-drive...I'm blown away! I have wanted to boot the ( better) saved copy of 98SE from hdb for a very long time, although WINE is getting stronger and stronger... ( and sooner rather than laterI'm going to reformat Mr. Gates last remaining 'partition' and then....
The rest was history.
|All times are GMT -5. The time now is 06:18 AM.|