On Thu, Feb 25, 2010 at 10:29 AM, Kenneth Gonsalves
<[email protected]> wrote:
> On Wednesday 24 Feb 2010 6:21:24 pm Saravanan S wrote:
>> > they are referred to as hd(0,0) and hd(0,5). But in menu.lst there is a
>> > reference to /dev/sda6 - should I change this to /dev/sda5? or to
>> > /dev/hda5? -
>> > I am asking all this because I do not have access to the machine right
>> > now.
>>
>> Once done with the
>>
>> Step A :
>> grub > root hd(0,0)
>>
>> The above should not throw any error.
>
> actually it is 'root (hd0,0), and it displays the partition info
>>
>> Step B:
>> grub > kernel /<Press TAB and find if you can see any files like vmlinuz*;
>> If yes proceed and then to initrd and boot steps, else go back to step A
>>  and try hd0,1 or something>
>
> doesnt work whatever I try - even 'find /boot/vmlinuz' says file not found
>

My standard modus operandi for grub problems is to

(a) boot with a rescuecd
(b) mount the root/boot partition on /mnt/<foobar>
(c) examine and ensure all files are proper in the /boot directory
tree (vmlinuz, initrd, menu.lst, device.map etc.)
(d) verfiy the above files are referenced properly in menu.lst.
(e) re-install grub e.g. grub-install --root-directory=/mnt/<foobar>  /dev/sda

The above works save and except when I am experimenting with the 'initrd' image.

HTH
-- Arun Khan
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to