Re: Manually mounting partitions in "linux rescue" mode

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



On 8/3/2010 12:22 AM, Mark Pryor wrote:
>
>
> --- On Mon, 8/2/10, Edward Diener<eldiener@xxxxxxxxxxxxxx>  wrote:
>
>> From: Edward Diener<eldiener@xxxxxxxxxxxxxx>
>> Subject:  Manually mounting partitions in "linux rescue" mode
>> To: centos@xxxxxxxxxx
>> Date: Monday, August 2, 2010, 9:07 PM
>> I boot from the installation DVD,
>> with an already existing CentOS 5.5
>> system on my hard disks. I have separate boot, root, and
>> home
>> partitions. I have moved the boot partition and now I need
>> to
>> re-initialize grub from rescue mode.
>>
>> 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.
>>
>> So now I decide to manually mount my partitions at
>> /mnt/sysimage and
>> then do a chroot to /mnt/sysimage. This succeeds and when I
>> look at my
>> files they are there.
>>
>> I now try 'grub' and the 'grub' shell comes up. I now
>> attempt the 'grub'
>> command:
>>
>> root (hd0,9)
>
> try /dev/sdb8 ->  (hd1,7)

The 'root' for grub is the boot partition, not the root partition. On my 
system the boot partition is /dev/sda10 -> (hd0,9).



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux