Gamingphreek
Lifer
Hey Guys,
Recently I update my Ubuntu Kernel from:
2.6.31-02063103 -> 2.6.31-02063104
After this, I had about 7 different Kernels on my system and decided to remove some of them. I did a 'sudo apt-get purge' of:
linux-image 2.6.30-02063003
linux-headers 2.6.30-02063003-generic
As well as another kernel which version escapes me.
Those were the only files I touched.
I left these kernels on the system:
2.6.30-02063005
2.6.30-02063103
(One that was just installed) -> 2.6.31-02063104
The /boot/grub/menu.lst was updated as normal after updating the kernel files.
When I booted up; however, the grub menu did not load as normal. Instead I was greeted with the grub command prompt:
[ Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub >
I have very little experience in the grub commands but I was able to manage to remember enough to boot into my new kernel. I ran these commands.
grub >root (hd0,0)
grub >kernel /boot/vmlinuz-2.6.31-063104-generic root=UUID=[my uuid] ro quiet splash
grub>initrd /boot/initrd.img-2.6.31-063104
grub > boot
The computer booted. I quickly opened a terminal and ran "update-grub". When I restarted; however, I was greeted with the same grub prompt. I ran everything and booted up again. This time, I did an 'rm -f /boot/grub/menu.lst' and then had the "update-grub' command recreate the file. This time it worked and I am fully operational with all 4 kernel options again.
Can someone attempt to explain to me what happened?
Thanks,
-Kevin
Recently I update my Ubuntu Kernel from:
2.6.31-02063103 -> 2.6.31-02063104
After this, I had about 7 different Kernels on my system and decided to remove some of them. I did a 'sudo apt-get purge' of:
linux-image 2.6.30-02063003
linux-headers 2.6.30-02063003-generic
As well as another kernel which version escapes me.
Those were the only files I touched.
I left these kernels on the system:
2.6.30-02063005
2.6.30-02063103
(One that was just installed) -> 2.6.31-02063104
The /boot/grub/menu.lst was updated as normal after updating the kernel files.
When I booted up; however, the grub menu did not load as normal. Instead I was greeted with the grub command prompt:
[ Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ]
grub >
I have very little experience in the grub commands but I was able to manage to remember enough to boot into my new kernel. I ran these commands.
grub >root (hd0,0)
grub >kernel /boot/vmlinuz-2.6.31-063104-generic root=UUID=[my uuid] ro quiet splash
grub>initrd /boot/initrd.img-2.6.31-063104
grub > boot
The computer booted. I quickly opened a terminal and ran "update-grub". When I restarted; however, I was greeted with the same grub prompt. I ran everything and booted up again. This time, I did an 'rm -f /boot/grub/menu.lst' and then had the "update-grub' command recreate the file. This time it worked and I am fully operational with all 4 kernel options again.
Can someone attempt to explain to me what happened?
Thanks,
-Kevin