m.nuttall@??? wrote:
> Quoting John Cooper <lug@???>:
>
>   
>> m.nuttall@??? wrote:
>>     
>>> Quoting John Cooper <lug@???>:
>>>
>>>   
>>>       
>>>> m.nuttall@??? wrote:
>>>>     
>>>>         
>>>>> Quoting John Cooper <lug@???>:
>>>>>   
>>>>>
>>>>> I dont know what chroot means, i presume it means change to root
>>>>>       
>>>>>           
>>>> something.
>>>>     
>>>>         
>>>>> Can you tell me command line for chroot
>>>>>   
>>>>>       
>>>>>           
>>>> Change root will define a new root (/) path. After booting from a rescue
>>>> CD you need to mount the root partition on the harddrive
>>>>     
>>>>         
>>> Done that with mount -t ext3 /dev/hda6 /root
>>>   
>>>       
>> Without the -t is should default to auto detect, but if you know it is
>> ext3, you can define it.
>>     
>>>   
>>>       
>>>> then chroot to
>>>> it. E.g.
>>>>
>>>> mkdir /mnt/newroot
>>>>     
>>>>         
>>> that line returns:
>>> /root/bin/mkdir no such file or di
>>>       
>> All you need is a new directory under / (root directory), so try
>> /tmp/newroot or /newroot.
>>     
>
> ok that all works ok until:
>
> grub-install /dev/hda 
>
> that returns:"/dev/hda:not found or not a block device"
>   
Assuming for did
# mkdir /newroot
# chroot /newroot
# grub-install /dev/hda
What is the output of
# fdisk -l
-- 
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------