[CentOS] Manually mounting partitions in "linux rescue" mode

Edward Diener eldiener at tropicsoft.com
Tue Aug 3 14:56:53 UTC 2010


On 8/3/2010 12:19 AM, Scott Robbins wrote:
> On Tue, Aug 03, 2010 at 12:07:58AM -0400, Edward Diener wrote:
>
>> Attempting to use 'rescue mode" to automatically mount my system under
>> /mnt/sysimage eventally fails with an error message, which essentially
>> says 'mount error' and nothing else. I am then put at a command prompt
>> as root.
>
> I'm guessing (I'm not all that familiar with the sysimage thing--I
> usually just mount things on /mnt) that you probably need to do
>
> mount -o bind /dev /mnt/sysimage/dev

I did not do this. Maybe I need to,

> mount -o bind /proc /mnt/sysimage/proc

I did do this.

>
> However, as I said, I'm not familiar with the sysimage thing, I've
> always just skipped that when using rescue and gone to a shell prompt.

I am at the shell prompt but in order to get grub to work, don't I need 
to mount my actual boot and root partitions for grub to know that 
(hd0,9) refers a valid boot partition when I tell grub:

root (hd0,9)
setup (hd0,9)





More information about the CentOS mailing list