<?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: Install OpenFiler on USB stick</title>
	<atom:link href="http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/</link>
	<description>Connexeon Blog</description>
	<lastBuildDate>Mon, 16 Jan 2012 12:14:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1732</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 16 Jan 2012 06:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1732</guid>
		<description>Hi!

Thanks for sharing!
It really helped me alot!
I just have one problem though...
After few months using my openfiler (configured as ISCS target), we got an unexpected power failure.
Then the openfiler usb boot drive (where it was installed) got crached. It wont boot to openfiler anymore! What should I do!?
Is there a way to rebuild it without destroying the files inside the openfiler drives?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thanks for sharing!<br />
It really helped me alot!<br />
I just have one problem though&#8230;<br />
After few months using my openfiler (configured as ISCS target), we got an unexpected power failure.<br />
Then the openfiler usb boot drive (where it was installed) got crached. It wont boot to openfiler anymore! What should I do!?<br />
Is there a way to rebuild it without destroying the files inside the openfiler drives?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1715</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 05 Sep 2011 11:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1715</guid>
		<description>Ouups, form cut off end of command.

Basically the mkinitrd command after the preload statements has the  name and path of where you want to put the initrd image followed by a space and then the kernel release number in full as in the directory name where /lib/modules is ie in case above 2.6.29.6-0.24.smp.gcc3.4.x86.i686.

mkinitrd   

If you get an error already exists choose a different initrd name as its already there.
If you get  is not a directory. then you have the kernel release wrong. Check the new kernel release number in /lib/modules.

Joe.</description>
		<content:encoded><![CDATA[<p>Ouups, form cut off end of command.</p>
<p>Basically the mkinitrd command after the preload statements has the  name and path of where you want to put the initrd image followed by a space and then the kernel release number in full as in the directory name where /lib/modules is ie in case above 2.6.29.6-0.24.smp.gcc3.4.x86.i686.</p>
<p>mkinitrd   </p>
<p>If you get an error already exists choose a different initrd name as its already there.<br />
If you get  is not a directory. then you have the kernel release wrong. Check the new kernel release number in /lib/modules.</p>
<p>Joe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1714</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 05 Sep 2011 11:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1714</guid>
		<description>Hi,

Quick note when a kernel updates you can simply use mkinitrd to make a new loader.

mkinitrd --preload=ehci-hcd --preload usb-storage --preload scsi_mod --preload sd_mod /boot/initrd-2.6.29.usb.img 2.6.29.6-0.24.smp.gcc3.4.x86.i686

takes a couple of minutes.

This will preload the usb module and other bits needed to start machine.
Also the mkinitrd script has a preloaded delay for usb module set into it.

Once done edit your /etc/grub.conf with new kernel details as first entry so its looks something simliar to:-

title Openfiler NSA (32-bit PAE) 2.3 (2.6.29.6-0.24.smp.gcc3.4.x86.i686)
        root (hd0,0)
        kernel /vmlinuz-2.6.29.6-0.24.smp.gcc3.4.x86.i686 ro root=LABEL=/  quiet
        initrd /initrd-2.6.29.usb.img


mkinitrd takes the following parms.

mkinit --preload=ehci-hcd --preload usb-storage --preload scsi_mod --preload sd_mod /boot/  

You could actually do this from the rescue section to get installed instead of making your own initrd file.

Hope this makes it easier for some folks.

Cheers
Joe.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Quick note when a kernel updates you can simply use mkinitrd to make a new loader.</p>
<p>mkinitrd &#8211;preload=ehci-hcd &#8211;preload usb-storage &#8211;preload scsi_mod &#8211;preload sd_mod /boot/initrd-2.6.29.usb.img 2.6.29.6-0.24.smp.gcc3.4.x86.i686</p>
<p>takes a couple of minutes.</p>
<p>This will preload the usb module and other bits needed to start machine.<br />
Also the mkinitrd script has a preloaded delay for usb module set into it.</p>
<p>Once done edit your /etc/grub.conf with new kernel details as first entry so its looks something simliar to:-</p>
<p>title Openfiler NSA (32-bit PAE) 2.3 (2.6.29.6-0.24.smp.gcc3.4.x86.i686)<br />
        root (hd0,0)<br />
        kernel /vmlinuz-2.6.29.6-0.24.smp.gcc3.4.x86.i686 ro root=LABEL=/  quiet<br />
        initrd /initrd-2.6.29.usb.img</p>
<p>mkinitrd takes the following parms.</p>
<p>mkinit &#8211;preload=ehci-hcd &#8211;preload usb-storage &#8211;preload scsi_mod &#8211;preload sd_mod /boot/  </p>
<p>You could actually do this from the rescue section to get installed instead of making your own initrd file.</p>
<p>Hope this makes it easier for some folks.</p>
<p>Cheers<br />
Joe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisB</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1597</link>
		<dc:creator>ChrisB</dc:creator>
		<pubDate>Wed, 23 Mar 2011 01:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1597</guid>
		<description>Rather than increase the size of the partitions or the USB stick itself, you can instead modify /etc/fstab to mount certain folders as tmpfs folders i.e: /var/{run,tmp,cache,spool}, /tmp etc

You can also tmpfs /var/log and create an init script to recrate folders, files and their perms as well as increase the log rotation frequency, but it&#039;s better to enable remote syslogging and leave as little local logs as possible.</description>
		<content:encoded><![CDATA[<p>Rather than increase the size of the partitions or the USB stick itself, you can instead modify /etc/fstab to mount certain folders as tmpfs folders i.e: /var/{run,tmp,cache,spool}, /tmp etc</p>
<p>You can also tmpfs /var/log and create an init script to recrate folders, files and their perms as well as increase the log rotation frequency, but it&#8217;s better to enable remote syslogging and leave as little local logs as possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1553</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Wed, 29 Sep 2010 05:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1553</guid>
		<description>Hi!
I&#039;m following the instructions but I&#039;m stuck at
&quot; cd /lib/modules/`uname -r`/kernel/drivers
cp usb/storage/usb-storage.o /tmp/a/lib
cp usb/host/ehci-hcd.ko /tmp/a/lib
cp usb/host/uhci-hcd.ko /tmp/a/lib &quot;

the first line is not working.. how should i do this?
sorry for the question..</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I&#8217;m following the instructions but I&#8217;m stuck at<br />
&#8221; cd /lib/modules/`uname -r`/kernel/drivers<br />
cp usb/storage/usb-storage.o /tmp/a/lib<br />
cp usb/host/ehci-hcd.ko /tmp/a/lib<br />
cp usb/host/uhci-hcd.ko /tmp/a/lib &#8221;</p>
<p>the first line is not working.. how should i do this?<br />
sorry for the question..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viknet</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1477</link>
		<dc:creator>viknet</dc:creator>
		<pubDate>Sat, 30 Jan 2010 21:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1477</guid>
		<description>for scott and because googling openfiler+usb give yur page as a first:
chroot does not work if bash is not on the filesystem where you chroot, this is the case if you have created a /boot partition (the standard with openfiler)
in this case two things have to be done:
1st: mount /dev/sda2 instead of /dev/sda1
2nd: you also have to mount /dev/sda1 as /mnt/source/boot/
then chroot to /mnt/source

good luck for others</description>
		<content:encoded><![CDATA[<p>for scott and because googling openfiler+usb give yur page as a first:<br />
chroot does not work if bash is not on the filesystem where you chroot, this is the case if you have created a /boot partition (the standard with openfiler)<br />
in this case two things have to be done:<br />
1st: mount /dev/sda2 instead of /dev/sda1<br />
2nd: you also have to mount /dev/sda1 as /mnt/source/boot/<br />
then chroot to /mnt/source</p>
<p>good luck for others</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1408</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 19 Nov 2009 20:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1408</guid>
		<description>This does not want to work for me. When I try to chroot /mnt/source I get an error:

chroot: cannot execute /bin/sh: no such file or directory</description>
		<content:encoded><![CDATA[<p>This does not want to work for me. When I try to chroot /mnt/source I get an error:</p>
<p>chroot: cannot execute /bin/sh: no such file or directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1362</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Sun, 04 Oct 2009 07:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1362</guid>
		<description>Hi,

Thanks for your article. I use a low cost Imation USB stick. With help of your writings I was up and running in minutes. (After the initials install which indeed takes a long time.)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your article. I use a low cost Imation USB stick. With help of your writings I was up and running in minutes. (After the initials install which indeed takes a long time.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PsyMan</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1292</link>
		<dc:creator>PsyMan</dc:creator>
		<pubDate>Tue, 12 May 2009 09:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1292</guid>
		<description>I must admit, freeNAS is a lot simpler to install on a USB or CF card/drive however after many many stability issues I have decided to run with openfiler. Thanks for the guide though, from this I have decided to simply stick a 5th small hard drive in and forget using openfiler from a USB drive afterall :P</description>
		<content:encoded><![CDATA[<p>I must admit, freeNAS is a lot simpler to install on a USB or CF card/drive however after many many stability issues I have decided to run with openfiler. Thanks for the guide though, from this I have decided to simply stick a 5th small hard drive in and forget using openfiler from a USB drive afterall <img src='http://blog.connexeon.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlton</title>
		<link>http://blog.connexeon.com/sysadmin/linux/install-openfiler-on-usb-stick/comment-page-1/#comment-1286</link>
		<dc:creator>Carlton</dc:creator>
		<pubDate>Mon, 27 Apr 2009 20:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://sysadmin.blog.connexeon.com/?p=25#comment-1286</guid>
		<description>I followed your instructions, but I&#039;m stuck on the grub.conf file. I copied the existing boot options and added &quot;initrd /usbinird.img&quot; to the end.
Here is the error I get when I boot from the USB:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.26.8-1.0.11.smp.gcc3.4.x86_64 ro 
[ Linux-bzImage, setup=0x3000, size=0x219300]
root=LABEL=/1 quiet
ERROR 11: Unrecognized device string
Press any key to continue...

Next screen is both boot options. (One I created a top.)
I setup the partitions on the USB with ext3. Does it need to be ext2?</description>
		<content:encoded><![CDATA[<p>I followed your instructions, but I&#8217;m stuck on the grub.conf file. I copied the existing boot options and added &#8220;initrd /usbinird.img&#8221; to the end.<br />
Here is the error I get when I boot from the USB:</p>
<p>root (hd0,0)<br />
Filesystem type is ext2fs, partition type 0&#215;83<br />
kernel /vmlinuz-2.6.26.8-1.0.11.smp.gcc3.4.x86_64 ro<br />
[ Linux-bzImage, setup=0x3000, size=0x219300]<br />
root=LABEL=/1 quiet<br />
ERROR 11: Unrecognized device string<br />
Press any key to continue&#8230;</p>
<p>Next screen is both boot options. (One I created a top.)<br />
I setup the partitions on the USB with ext3. Does it need to be ext2?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

