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 mo

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 dri

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 >> /boot/grub/device.map is correct and do grub-install >> --root-directory= /dev/sda (a

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 > /boot/grub/device.map is correct and do grub-install > --root-directory= /dev/sda (assuming you want the mbr on > sda) I am booting

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 /boot/grub/device.map is correct and do grub-install --root-directory= /dev/sda (assuming you want the mbr on sda) James On 3 Aug 2010 18:21, wrote: > Edward Diener wrote: >> On

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 partiti

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) refer

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: >> >> r

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

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

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

2010-08-03 Thread Edward Diener
On 8/3/2010 4:53 AM, Robert Grasso wrote: > Hello, > > as for understanding the grub disk and partition numbering scheme, you should > read : > > info grub > > and more specifically the "Naming convention" paragraph. > > Your issue is all about understanding this. > > Hope this helps No, it does

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 Diener wrote: > >> From: Edward Diener >> 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

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

2010-08-03 Thread Robert Grasso
Hello, as for understanding the grub disk and partition numbering scheme, you should read : info grub and more specifically the "Naming convention" paragraph. Your issue is all about understanding this. Hope this helps --- Robert GRASSO – System engineer CEDRAT S.A. 15 Chemin de Malacher -

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

2010-08-02 Thread Mark Pryor
--- On Mon, 8/2/10, Edward Diener wrote: > From: Edward Diener > 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 existing CentOS 5.5 > system on my hard

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