Translate

মঙ্গলবার, ১০ ডিসেম্বর, ২০১৩

How to Rescue your system with Single user mode in Linux, CentOS 6 / RHEL 6, How to restore Grub on RHEL6

How to Rescue your system with Single user mode in Linux, CentOS 6 / RHEL 6, 
Rescue mode provides the ability to boot a small Red Hat Enterprise Linux environment entirely from CD-ROM, or some other boot method, instead of the system's hard drive.
As the name implies, rescue mode is provided to rescue you from something. During normal operation, your Red Hat Enterprise Linux system uses files located on your system's hard drive to do everything — run programs, store your files, and more.
However, there may be times when you are unable to get Red Hat Enterprise Linux running completely enough to access files on your system's hard drive. Using rescue mode, you can access the files stored on your system's hard drive, even if you cannot actually run Red Hat Enterprise Linux from that hard drive.
To boot into rescue mode, you must be able to boot the system using one of the following methods.
  • By booting the system from an installation boot CD-ROM.
  • By booting the system from other installation boot media, such as USB flash devices.
  • By booting the system from the Red Hat Enterprise Linux CD-ROM #1

 Re-install bootstrap code (GRUB)

Please perform the following steps:
  1. Boot from CentOS installation disc (for example, CD #1 or DVD).
  2. For CentOS-4 or CentOS-5 type "linux rescue" at the "boot:" prompt. For CentOS-6 pick "Rescue installed system" from the boot menu.
  3. Mount all filesystems in read-write mode.
  4. Change root to real root ('/') on your hard disk:
    # chroot /mnt/sysimage
    
  5. Re-install bootstrap code (GRUB).

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন

Popular Posts

show

click here