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

Mark Pryor tlviewer at yahoo.com
Tue Aug 3 04:22:56 UTC 2010



--- On Mon, 8/2/10, Edward Diener <eldiener at tropicsoft.com> wrote:

> From: Edward Diener <eldiener at tropicsoft.com>
> Subject: [CentOS] Manually mounting partitions in "linux rescue" mode
> To: centos at centos.org
> 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)

-- 
Mark


      



More information about the CentOS mailing list