new install 10.04 server... grub>

steve reilly sfreilly at roadrunner.com
Sun Jul 11 16:37:00 UTC 2010


On 07/11/2010 02:46 AM, Goh Lip wrote:

>
> 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
> initrd (hd0,1)/inintrd.img
> boot

genius! genius!


>
> You can also boot using
> linux (hd0,1)/boot/vmlinux-2.6.xx-xx-generic root=/dev/sda1 ro
> initrd (hd0,1)/boot/inintrd-2.6.xx-xx-generic.img
> boot
>
> After booting up. at terminal.
> sudo grub-install /dev/sda

complete without errors.  it appears to have worked without a hitch, 
updating system now, if i have any issues, will report back!  thanks for 
the tips!


>
> Regards - Goh Lip
>
>
>
>
>





More information about the ubuntu-users mailing list