Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-05 Thread Lamar Owen
On Tuesday, August 03, 2010 12:07:58 am Edward Diener wrote: 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.

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Robert Grasso
2010 06:08 À : centos@centos.org Objet : [CentOS] Manually mounting partitions in linux rescue mode 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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Edward Diener
On 8/3/2010 12:22 AM, Mark Pryor wrote: --- On Mon, 8/2/10, Edward Dienereldie...@tropicsoft.com wrote: From: Edward Dienereldie...@tropicsoft.com Subject: [CentOS] Manually mounting partitions in linux rescue mode To: centos@centos.org Date: Monday, August 2, 2010, 9:07 PM I boot from

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Edward Diener
: centos-boun...@centos.org [mailto:centos-boun...@centos.org] De la part de Edward Diener Envoyé : 3 août 2010 06:08 À : centos@centos.org Objet : [CentOS] Manually mounting partitions in linux rescue mode I boot from the installation DVD, with an already existing CentOS 5.5 system on my hard

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Edward Diener
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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Les Mikesell
On 8/3/2010 9:56 AM, Edward Diener wrote: 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) No, grub doesn't need to

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Edward Diener
On 8/3/2010 11:13 AM, Les Mikesell wrote: On 8/3/2010 9:56 AM, Edward Diener wrote: 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)

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Les Mikesell
On 8/3/2010 11:47 AM, Edward Diener wrote: On 8/3/2010 11:13 AM, Les Mikesell wrote: On 8/3/2010 9:56 AM, Edward Diener wrote: 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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread m . roth
Edward Diener wrote: On 8/3/2010 11:13 AM, Les Mikesell wrote: On 8/3/2010 9:56 AM, Edward Diener wrote: 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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread James Hogarth
I normally use a live CD for this sort of thing... in that case you don't need to cheroot at all. Just make sure your rootmountpoint/boot/grub/device.map is correct and do grub-install --root-directory=rootmountpoint /dev/sda (assuming you want the mbr on sda) James On 3 Aug 2010 18:21,

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Edward Diener
On 8/3/2010 2:27 PM, James Hogarth wrote: I normally use a live CD for this sort of thing... in that case you don't need to cheroot at all. Just make sure your rootmountpoint/boot/grub/device.map is correct and do grub-install --root-directory=rootmountpoint /dev/sda (assuming you want the mbr

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread Les Mikesell
On 8/3/2010 2:08 PM, Edward Diener wrote: On 8/3/2010 2:27 PM, James Hogarth wrote: I normally use a live CD for this sort of thing... in that case you don't need to cheroot at all. Just make sure your rootmountpoint/boot/grub/device.map is correct and do grub-install

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-03 Thread James Hogarth
True... but the checks it does such as the device.map are usually beneficial. No the live CD (or is it a DVD now? I forget...) is not the same as the install CD. An error saying hd2 doesn't exist does sound like it could be an incorrect map in your boot filesystem... did you add or remove any

[CentOS] Manually mounting partitions in linux rescue mode

2010-08-02 Thread Edward Diener
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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-02 Thread Scott Robbins
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

Re: [CentOS] Manually mounting partitions in linux rescue mode

2010-08-02 Thread Mark Pryor
--- On Mon, 8/2/10, Edward Diener eldie...@tropicsoft.com wrote: From: Edward Diener eldie...@tropicsoft.com Subject: [CentOS] Manually mounting partitions in linux rescue mode To: centos@centos.org Date: Monday, August 2, 2010, 9:07 PM I boot from the installation DVD, with an already