[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub question..



ISHWAR RATTAN <rattan@cps.cmich.edu> writes:

> I did Linux install on a Vista machine but wrote the grub
> info to partition (and not MBR) - I want to dual boot using
> grub on bootable CD.
>
> /dev/sda1, /dev/sda2 are NTFS partitions
> /dev/sd3 (Linux swap), /dev/sda4 (Linux /, all there)
>
> I copied the grub menu.lst entry from /boot/grub/menu.lst
> (on /dev/sda4) as:
>
> title           Debian GNU/Linux, kernel 2.6.24-2.6.24.4.slh.5-sidux-686
> root            (hd0,3)
> kernel          /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686 \
> root=/dev/sda4 ro  quiet vga=791
> initrd          /boot/initrd.img-2.6.24-2.6.24.4.slh.5-sidux-686
>
> but grub fails to find the /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-686
> file. Also tried prepending (hd0,3) to file name but did not work.
>
> Any pointers?

Use installation CD of the Debian.

Boot with it typing at boot prompt: rescue.

Choose the .../part4 where is your
/ directory.

When came to the Rescue operations, choose to run a shell on this
partition. 

Here you mount if you have to your /usr partition with: 'mount /usr'
command. 

Run the command: 'grub-install /dev/sda' and 'update-grub'.

Then Ctrl + Alt + Del and remove your installation CD and reboot. 

You should now to get the Grub menu.

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


Reply to: