<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nocrash.net/index.php?action=history&amp;feed=atom&amp;title=Grub_Problems</id>
	<title>Grub Problems - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nocrash.net/index.php?action=history&amp;feed=atom&amp;title=Grub_Problems"/>
	<link rel="alternate" type="text/html" href="https://wiki.nocrash.net/index.php?title=Grub_Problems&amp;action=history"/>
	<updated>2026-06-05T04:12:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.nocrash.net/index.php?title=Grub_Problems&amp;diff=35&amp;oldid=prev</id>
		<title>Chris: Created page with &quot;Grub Problems  That&#039;s where the editting of the init script and rebuilding the initrd comes in. The one you&#039;ve got was probably built for you as part of the anaconda installation...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nocrash.net/index.php?title=Grub_Problems&amp;diff=35&amp;oldid=prev"/>
		<updated>2010-08-05T13:40:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Grub Problems  That&amp;#039;s where the editting of the init script and rebuilding the initrd comes in. The one you&amp;#039;ve got was probably built for you as part of the anaconda installation...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Grub Problems&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s where the editting of the init script and rebuilding the initrd comes in.&lt;br /&gt;
The one you&amp;#039;ve got was probably built for you as part of the anaconda installation process.&lt;br /&gt;
If your initrd script is called /boot/initrd-xxxxxxxxx.img, then you can unpack it with:&lt;br /&gt;
&lt;br /&gt;
 mkdir /tmp/initrd&lt;br /&gt;
 cd /tmp/initrdgzip -&lt;br /&gt;
 cd /boot/initrd-xxxxxxxxx.img | cpio -imd --quiet&lt;br /&gt;
&lt;br /&gt;
then edit the init file at /tmp/initrd/init to change the entry with&lt;br /&gt;
the old swap partition, then pack it up again with:&lt;br /&gt;
&lt;br /&gt;
 cd /tmp/initrd&lt;br /&gt;
 find . | cpio -co | gzip -9 &amp;gt; /boot/initrd-xxxxxxxxx.img&lt;br /&gt;
&lt;br /&gt;
It would probably be a good idea to back up the old initrd file before you start in case it all goes wrong&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Fix the GRUB boot loader on your RAID drive(s).&lt;br /&gt;
To fix a non-bootable system and ensure GRUB is installed on both drives, manually install GRUB as follows:&lt;br /&gt;
&lt;br /&gt;
* Reboot the machine from the original Linux CDROM&lt;br /&gt;
* From the Linux boot menu, select ?Rescue a broken system?&lt;br /&gt;
* Continue through the prompts until the screen ?Device to use as a root file system? appears&lt;br /&gt;
* Press Alt-F2 to switch to a second console screen then press Enter to activate it.&lt;br /&gt;
* Mount the md0 RAID device and use chroot and grub to install the bootloader onto both sda and sdb using the following commands:&lt;br /&gt;
&lt;br /&gt;
 mount /dev/md0 /mnt&lt;br /&gt;
 chroot /mnt&lt;br /&gt;
 grub&lt;br /&gt;
 device (hd0) /dev/sda&lt;br /&gt;
 root (hd0,0)&lt;br /&gt;
 setup (hd0)&lt;br /&gt;
 device (hd1) /dev/sdb&lt;br /&gt;
 root (hd1,0)&lt;br /&gt;
 setup (hd1)&lt;br /&gt;
 quit&lt;br /&gt;
&lt;br /&gt;
* Reboot the system with command ?shutdown -r now?, remove the CDROM and allow the system to boot from the hard drive.&lt;/div&gt;</summary>
		<author><name>Chris</name></author>
	</entry>
</feed>