Re: Misplaced Kernel? Boot from GRUB?
Originally posted by Qqmike
Well, looks like you may have deleted your boot menu, /boot/grub/menu.lst. That's why you still get grub> even after you successfully re-installed GRUB (using root-setup-quit, which DID succeed). (the grub> => there is no stage 2 menu.lst).
And we still don't know what kernel(s) ("vmlinuz"'s) you may have left to boot.
You can check these things using your Live Kubuntu CD. They are in /boot and /boot/grub.
I also know why you got "no grub installed" in your Live Kubuntu CD: you are using the new 9.10 Kubuntu which uses the new GRUB 2.
For now, let's stick with GRUB Legacy (the old one) since that's what we started.
You might also be able to generate a new menu.lst from the live CD, but I'm not sure in GRUB Legacy if you need to chroot into that partition to do so.
You could try from the live CD to mount that partition, then do a
sudo update-grub
and see if that would work (re-boot to test).
Lots of things you can do to fix this, but it gets complicated in the sense that you need to use some Linux techniques.
You can study the GRUB Legacy how-to, learn how to boot from the GRUB prompt (grub>) using TAB completion, and THAT would tell you a simple way to make a boot menu (/boot/grub/menu.lst). (See below.)
But here's two tangible things to try first:
Another simple way to make a menu.lst would be:
Make a text file, as root, say using kate:
At Konsole,
kdesudo kate
call it /boot/grub/menu.lst
and type this into it:
# My homemade menu.lst
timout=15
default=0
title My Kubuntu on (hd0,0) = sda1
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro quite splash
initrd /initrd.img
That should work to boot you into the latest kernel listed under /boot (that's where your kernels should be). In fact, try this FIRST at that grub> you keep getting:
grub>
grub>root (hd0,0)
grub>kernel /vmlinuz root=/dev/sda1 ro quite splash
grub>initrd /initrd.img
grub>boot
(don't copy these lines; actually type them)
You are a GENIUS!!!!! It worked!!! I'm looking at my own desktop again!! I can't thank you enough--truly! This is wonderful and amazing! Thank you! Thank you! Thank you!! My only question is...is there anything that I need to do to ensure that this stays this way? Oh, thank you!!
And we still don't know what kernel(s) ("vmlinuz"'s) you may have left to boot.
You can check these things using your Live Kubuntu CD. They are in /boot and /boot/grub.
I also know why you got "no grub installed" in your Live Kubuntu CD: you are using the new 9.10 Kubuntu which uses the new GRUB 2.
For now, let's stick with GRUB Legacy (the old one) since that's what we started.
You might also be able to generate a new menu.lst from the live CD, but I'm not sure in GRUB Legacy if you need to chroot into that partition to do so.
You could try from the live CD to mount that partition, then do a
sudo update-grub
and see if that would work (re-boot to test).
Lots of things you can do to fix this, but it gets complicated in the sense that you need to use some Linux techniques.
You can study the GRUB Legacy how-to, learn how to boot from the GRUB prompt (grub>) using TAB completion, and THAT would tell you a simple way to make a boot menu (/boot/grub/menu.lst). (See below.)
But here's two tangible things to try first:
Another simple way to make a menu.lst would be:
Make a text file, as root, say using kate:
At Konsole,
kdesudo kate
call it /boot/grub/menu.lst
and type this into it:
# My homemade menu.lst
timout=15
default=0
title My Kubuntu on (hd0,0) = sda1
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro quite splash
initrd /initrd.img
That should work to boot you into the latest kernel listed under /boot (that's where your kernels should be). In fact, try this FIRST at that grub> you keep getting:
grub>
grub>root (hd0,0)
grub>kernel /vmlinuz root=/dev/sda1 ro quite splash
grub>initrd /initrd.img
grub>boot
(don't copy these lines; actually type them)
You are a GENIUS!!!!! It worked!!! I'm looking at my own desktop again!! I can't thank you enough--truly! This is wonderful and amazing! Thank you! Thank you! Thank you!! My only question is...is there anything that I need to do to ensure that this stays this way? Oh, thank you!!
Comment