new install 10.04 server... grub>
g.lip at gmx.com
Sun Jul 11 06:46:00 UTC 2010
On 07/11/2010 10:02 AM, steve reilly wrote:
> On 07/10/2010 09:28 PM, NoOp wrote:
>> I'm sorry but I've no clue as to what you are asking. Try again please.
>> grub2 info is here:
>> 10.04 release notes are here:
> thanks for the info links. been there, and tried the "use the CLI to
> boot" area earlier today with no success.
> sysnopsis-> fresh install of 10.04 server boots to grub prompt. thats
> the problem. this is the info i can give at this point.
> (hd0) (hd0,1)
> grub>set root=(hd0,1)
> grub>linux /boot/vmlinuz root=/dev/sda1 ro
> error: file not found
> grub>cat /boot/grub/grub.cfg
> error: out of disk
> / is sda1
> swap is sda5
Steve, 'find' is replaced by 'search' in grub2.
So the command should be 'search -f /vmlinuz' or "search -f
/boot/vmlinuz-2.6.xx-xx-generic' if you have /boot in /.
Yes, 'ls' still works. You can, in adition try 'ls (hd0,1)' for more
information about (hd0,1). Also note sda1 is (hd0,1), sda2 is (hd0,2)
and so on.
So to boot your Ubuntu in sda1, at grub prompt, type
linux (hd0,1)/vmlinux root=/dev/sda1 ro
You can also boot using
linux (hd0,1)/boot/vmlinux-2.6.xx-xx-generic root=/dev/sda1 ro
After booting up. at terminal.
sudo grub-install /dev/sda
Regards - Goh Lip
More information about the ubuntu-users