LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to repair the RHEL 5.5 x64 installation using the DVD install Media ? (https://www.linuxquestions.org/questions/linux-server-73/how-to-repair-the-rhel-5-5-x64-installation-using-the-dvd-install-media-829236/)

albertwt 08-30-2010 12:25 AM

How to repair the RHEL 5.5 x64 installation using the DVD install Media ?
 
Hi All,

How to initiate a file installation repair of Red Hat Enterprise Linux 5.5 x64 from the DVD rom drive ?

my problem is that i can only do it from single mode login since the run level 5 is always prompting me for login name loop.

Thanks.

kbp 08-30-2010 01:27 AM

1. Boot from the cd/dvd media
2. type 'linux rescue' and [enter] at the boot: prompt
3. don't bother with networking config
3. allow the search for existing linux installs
4. when you have a bash prompt type 'chroot /mnt/sysimage'
# Assuming your problem is a forgotten password
5. type 'passwd'
6. enter new root password twice
7. exit
8. reboot

<edit>
Sorry, just re-read your Q, which files have you 'broken' ? You'll need to determine which package they belong to then force a reinstall. This can be done by copying the rpm's to /mnt/sysimage/var before step 4 or using '--root /mnt/sysimage' if you install from outside the chroot environment.
</edit>

cheers

John VV 08-30-2010 04:05 AM

what kbp posted IS DISPLAYED once you start from the dvd
just fallow the onscreen instructions

albertwt 09-06-2010 08:00 AM

thanks man you are right :-)


All times are GMT -5. The time now is 01:09 PM.