<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Debian-based machines and the (initramfs) prompt</title>
	<atom:link href="http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/</link>
	<description>Carpe Crap 'em</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:27:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cabanur</title>
		<link>http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/comment-page-1/#comment-23326</link>
		<dc:creator>cabanur</dc:creator>
		<pubDate>Fri, 06 Jan 2012 21:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/#comment-23326</guid>
		<description>Hi!

I had this same &quot;initramfs&quot; prompt, and for a while i have been trying to find the problem: i finally got it. 

My hard disk configuration: 

sda : 120 GB 
sda1: /boot 
sda2: /
sda3: /home
sda4: swap

sdb: 2 TB
sdc: 2 TB

I installed mdadm to use sdb and sdc as RAID1. the problem was, it only added sdb to the array, so I had a single-device RAID1 configuration, and that was why i got this initramfs prompt. 

surprisingly, all I had to do to get back to normal boot was typing &quot;exit&quot; on the initramfs prompt. It would continue booting without any trouble at all.

To solve the array problem, all I did is  (while on kubuntu) &quot;sudo mdadm --manage --add /dev/md0 /dev/sdc&quot;

Right now it&#039;s copying sdb to sdc (building the raid1 array), i think this will solve it all.

By the way, while on initramfs, there&#039;s a lot of things I could do, mostly creating a random dir in /, lets say /blah, then mounting sda2 in /blah/, sda1 in /blah/boot, and sda3 in /blah/home. then i chroot&#039;ed to /blah. 

Next, i executed /bin/bash, to get a normal prompt. From there, i could use most of my binaries, some things like shutdown didn&#039;t work, anyway. I used this to check /boot/grub/grub.cfg was OK, and /etc/fstab was also fine.

I hope this helps anyone =)</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I had this same &#8220;initramfs&#8221; prompt, and for a while i have been trying to find the problem: i finally got it. </p>
<p>My hard disk configuration: </p>
<p>sda : 120 GB<br />
sda1: /boot<br />
sda2: /<br />
sda3: /home<br />
sda4: swap</p>
<p>sdb: 2 TB<br />
sdc: 2 TB</p>
<p>I installed mdadm to use sdb and sdc as RAID1. the problem was, it only added sdb to the array, so I had a single-device RAID1 configuration, and that was why i got this initramfs prompt. </p>
<p>surprisingly, all I had to do to get back to normal boot was typing &#8220;exit&#8221; on the initramfs prompt. It would continue booting without any trouble at all.</p>
<p>To solve the array problem, all I did is  (while on kubuntu) &#8220;sudo mdadm &#8211;manage &#8211;add /dev/md0 /dev/sdc&#8221;</p>
<p>Right now it&#8217;s copying sdb to sdc (building the raid1 array), i think this will solve it all.</p>
<p>By the way, while on initramfs, there&#8217;s a lot of things I could do, mostly creating a random dir in /, lets say /blah, then mounting sda2 in /blah/, sda1 in /blah/boot, and sda3 in /blah/home. then i chroot&#8217;ed to /blah. </p>
<p>Next, i executed /bin/bash, to get a normal prompt. From there, i could use most of my binaries, some things like shutdown didn&#8217;t work, anyway. I used this to check /boot/grub/grub.cfg was OK, and /etc/fstab was also fine.</p>
<p>I hope this helps anyone =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/comment-page-1/#comment-9255</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/#comment-9255</guid>
		<description>Thanks admin for you urgent help. I will try that.</description>
		<content:encoded><![CDATA[<p>Thanks admin for you urgent help. I will try that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/comment-page-1/#comment-9254</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/#comment-9254</guid>
		<description>Vi should be available if your Debian + Initramfs environment is new enough.  If it isn&#039;t, you should be able to mount a disk and use a binary located there for editing.  If all else fails, you can echo the line on to the menu.lst file, but be sure to use the double carrot &gt;&gt; and don&#039;t screw it up.  It will be hard to get your changes back out.  The current version of busybox should have at least these commands available: 
ash, awk, basename, blkid, cat, clear, cp, cttyhack, cut, depmod, echo, egrep, fgrep, grep, halt, init, insmod, ln, ls, lsmod, mdev, mkdir, mknod, modprobe, mount, mv, poweroff, reboot, rm, rmdir, rmmod, seq, sh, sleep, switch_root, touch, um</description>
		<content:encoded><![CDATA[<p>Vi should be available if your Debian + Initramfs environment is new enough.  If it isn&#8217;t, you should be able to mount a disk and use a binary located there for editing.  If all else fails, you can echo the line on to the menu.lst file, but be sure to use the double carrot >> and don&#8217;t screw it up.  It will be hard to get your changes back out.  The current version of busybox should have at least these commands available:<br />
ash, awk, basename, blkid, cat, clear, cp, cttyhack, cut, depmod, echo, egrep, fgrep, grep, halt, init, insmod, ln, ls, lsmod, mdev, mkdir, mknod, modprobe, mount, mv, poweroff, reboot, rm, rmdir, rmmod, seq, sh, sleep, switch_root, touch, um</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/comment-page-1/#comment-9253</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.popmartian.com/tipsntricks/2007/08/09/debian-based-machines-and-the-initramfs-prompt/#comment-9253</guid>
		<description>I tried to edit my menu.lst file but tve vi editor is not available in the initramfs prompt.</description>
		<content:encoded><![CDATA[<p>I tried to edit my menu.lst file but tve vi editor is not available in the initramfs prompt.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

