Re: upgrading drive problems

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

 



On Friday 23 April 2004 04:17 pm, you wrote:
> I am using Grub as the loader and the latest kernel of RH9  ....".30" I
> believe.
>
> I will try the rescue method, however, now that you know the loader and
> os version is thery anything else critical I need to know before trying
> the rescue method????
> Thanks

Please when replying, reply to the list also so that others can both benefit 
and contribute the discussion. Also, it's easier to read if you don't top 
post. 

OK, assuming the following 

new drive connected as primary master,
/boot partition is: /dev/hda1
/ partition is: /dev/hda2

all you need to do is go to the recue mode, then try the following:

1. Mount the root partition of the drive 
$> mkdir /mnt/realroot
$> mount /dev/hda2 /mnt/realroot

2. Change root to that mounted partition
$> chroot /mnt/realroot
$> cd /

3. run grub-install, and install it to the MBR of /dev/hda
(ref: 
https://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-grub-installing.html)
$> /sbin/grup-install

4. reboot and see what happens

RDB


-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux