<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how can repair grub.conf? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646971#M41111</link>
    <description>it was really gud explanation . i understood first part but didn't fully understood chroot part . could u pls elaborate it a bit more.</description>
    <pubDate>Tue, 15 Jun 2010 07:51:06 GMT</pubDate>
    <dc:creator>Beginner_2</dc:creator>
    <dc:date>2010-06-15T07:51:06Z</dc:date>
    <item>
      <title>how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646969#M41109</link>
      <description>in rhel5, how can we repair or change grub.conf as we will not be able to boot without repairing that ?we cant even boot in single user mode..help.....?</description>
      <pubDate>Mon, 14 Jun 2010 05:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646969#M41109</guid>
      <dc:creator>Beginner_2</dc:creator>
      <dc:date>2010-06-14T05:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646970#M41110</link>
      <description>Insert the installation CD/DVD, boot from it and type "linux rescue" to the syslinux boot prompt.&lt;BR /&gt;&lt;BR /&gt;The rescue environment will search for your existing RHEL installation. If it can be found (i.e. not too badly damaged), it will automatically mount it to /mnt/sysimage. You can then go to /mnt/sysimage/boot/grub directory (= the real /boot/grub when the system is running normally) and fix your grub.conf.&lt;BR /&gt;&lt;BR /&gt;If you run "chroot /mnt/sysimage" your rescue session's root directory will be switched to the installation's root directory (e.g. /mnt/sysimage/boot/grub becomes simply /boot/grub), so all the tools of your RHEL5 installation will work more or less normally. &lt;BR /&gt;&lt;BR /&gt;The RHEL5 Installation Guide has more information about the rescue mode:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Installation_Guide/pt-rescue-mode.html" target="_blank"&gt;https://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Installation_Guide/pt-rescue-mode.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 14 Jun 2010 07:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646970#M41110</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-14T07:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646971#M41111</link>
      <description>it was really gud explanation . i understood first part but didn't fully understood chroot part . could u pls elaborate it a bit more.</description>
      <pubDate>Tue, 15 Jun 2010 07:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646971#M41111</guid>
      <dc:creator>Beginner_2</dc:creator>
      <dc:date>2010-06-15T07:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646972#M41112</link>
      <description>It's kind of hard to explain simply. Try it and see what happens:&lt;BR /&gt;&lt;BR /&gt;- boot into rescue environment&lt;BR /&gt;&lt;BR /&gt;- run "ls /etc", you see the very limited /etc directory of the rescue environment&lt;BR /&gt;&lt;BR /&gt;- run "ls /mnt/sysimage/etc", you see the complete /etc directory of your RHEL5 installation&lt;BR /&gt;&lt;BR /&gt;- now run "chroot /mnt/sysimage"&lt;BR /&gt;&lt;BR /&gt;- run "ls /etc" again: now it's the complete one! Now the system looks just like it does when running normally.&lt;BR /&gt;&lt;BR /&gt;- run "ls /mnt/sysimage": you find it does not seem to exist.&lt;BR /&gt;&lt;BR /&gt;- run "exit" to return to non-chrooted rescue environment&lt;BR /&gt;&lt;BR /&gt;- running "exit" a second time will exit the rescue environment and cause the system to reboot.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 15 Jun 2010 11:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646972#M41112</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-15T11:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646973#M41113</link>
      <description>&amp;gt; - boot into rescue environment&lt;BR /&gt;&lt;BR /&gt;Maybe you should mention here to type&lt;BR /&gt;"linux rescue" and hit Enter at the CD's boot prompt.</description>
      <pubDate>Tue, 15 Jun 2010 12:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646973#M41113</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2010-06-15T12:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646974#M41114</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Linux rescue, as noted above should do the trick.&lt;BR /&gt;&lt;BR /&gt;If there is real damage to your system, you may need to install an OS to a secondary disk, as I once had to do to recover a system.&lt;BR /&gt;&lt;BR /&gt;grub contains all the commands needed to fix the issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 15 Jun 2010 12:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646974#M41114</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-06-15T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646975#M41115</link>
      <description>Do you need to re-install grub to your MBR?&lt;BR /&gt;if so,&lt;BR /&gt;Boot up with a rescue cdrom/usb.&lt;BR /&gt;Assuming that hda is the active boot disk and that /boot is on the first partition, you need to:&lt;BR /&gt;rescue# grub&lt;BR /&gt;grub&amp;gt;root(hd0,0)&lt;BR /&gt;grub&amp;gt;setup(hd0)&lt;BR /&gt;&lt;BR /&gt;That should reinstall grub and fix your MBR problems.&lt;BR /&gt;Let me know if it works, and don't forget about assigning points.!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2010 17:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646975#M41115</guid>
      <dc:creator>Gerardo Arceri</dc:creator>
      <dc:date>2010-06-15T17:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646976#M41116</link>
      <description>thanks a lot for all replies but what i understood is when we do chroot /mnt/sysimage , our already installed faulty root filesystem on disk gets ignored and the fresh reliable root filesystem gets mounted in root partition so that we can carry out repairing on our faulty filesystem?&lt;BR /&gt;i understoot what to do but didn't understand how it happens?</description>
      <pubDate>Wed, 16 Jun 2010 11:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646976#M41116</guid>
      <dc:creator>Beginner_2</dc:creator>
      <dc:date>2010-06-16T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: how can repair grub.conf?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646977#M41117</link>
      <description>You should not need to chroot, can you tell me if /boot is a separate filesystem or is it part of / ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jun 2010 15:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-repair-grub-conf/m-p/4646977#M41117</guid>
      <dc:creator>Gerardo Arceri</dc:creator>
      <dc:date>2010-06-16T15:35:15Z</dc:date>
    </item>
  </channel>
</rss>

