Re: [Hampshire] windows grub repair suse 10.2

Top Page

Reply to this message
Author: John Cooper
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] windows grub repair suse 10.2
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.

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------