<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">You may want to look at the old boot loader LILO, that was designed with your particular purpose in mind, however I only used it to boot to a Linux kernel installed to hard storage.</div>

<div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">I was also a slow adopter of GRUB, I wanted to stick to LILO until it was seasoned.</div>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font face="courier new, monospace">" ' With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead"<br>

- Alex Smith<br>- Dulles Technology Corridor (Chantilly/Ashburn/Dulles), Virginia USA</font></div></div>
<br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 5:28 PM, William Roush <span dir="ltr"><<a href="mailto:william.roush@roushtech.net" target="_blank">william.roush@roushtech.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Yeah, especially considering this is
      "just shove dd at it".<br>
      <pre cols="72">William Roush
<a href="mailto:william.roush@roushtech.net" target="_blank">william.roush@roushtech.net</a>
<a href="tel:423-463-0592" value="+14234630592" target="_blank">423-463-0592</a>

<a href="http://www.roushtech.net/blog/" target="_blank">http://www.roushtech.net/blog/</a>


</pre><div><div class="h5">
      On 3/3/2014 11:34 PM, Chad Smith wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Something that is awesome, and yet scary about
        Linux.<br>
        <br>
        <div>"I'm sure this is crazy... but can you do ____ with Linux?"<br>
          <br>
          14 different people respond with 18 different ways to do it.</div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div><font size="4"><i><span style="font-family:garamond,serif">-</span><font style="font-family:garamond,serif"> Chad W. Smith</font></i></font>
        </div>
        <br>
        <br>
        <div class="gmail_quote">On Mon, Mar 3, 2014 at 10:27 PM, <span dir="ltr"><<a href="mailto:flushy@flushy.net" target="_blank">flushy@flushy.net</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>Quoting Dan Lyke <<a href="mailto:danlyke@flutterby.com" target="_blank">danlyke@flutterby.com</a>>:<br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                On Mon, 03 Mar 2014 19:48:05 -0500<br>
              </blockquote>
              <br>
            </div>
            <div>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                And now is when you get to dive. Deep.<br>
              </blockquote>
              <br>
              <br>
            </div>
            ah the days of the boot/root disk.<br>
            <br>
            Basically:<br>
            <br>
            # copy the kernel to a floppy image<br>
            dd bs=1k if=/boot/vmlinuz of=/tmp/floppy.img 2>&1 |
            tee /tmp/log.txt<br>
            <br>
            # calculate the kernel blocks<br>
            awk '/ records out/ { print $1 + 1 ; }' < /tmp/log.txt
             > /tmp/size.txt<br>
            <br>
            # write a compressed root floppy image (ramdisk) to the img<br>
            dd bs=1k seek=$(cat /tmp/size.txt) of=/tmp/floppy.img
            if=root.img.gz bs=1k 2>/dev/null<br>
            <br>
            # finally write the whole thing to the floppy<br>
            dd bs=512 of=/dev/fd0 if=/tmp/floppy.img<br>
            <br>
            [end]<br>
            <br>
            You can make 1992K floppies using some low level format
            utilities.<br>
            <br>
            <a href="http://www.fdutils.linux.lu/" target="_blank">http://www.fdutils.linux.lu/</a><br>
            <br>
            This project seeks to help you build root/boot disks, though
            it's a bit outdated.<br>
            <br>
            <a href="http://sourceforge.net/projects/byld/" target="_blank">http://sourceforge.net/projects/byld/</a><br>
            <br>
            Here is a write up of how to do it manually (you'll need to
            create your own version of rdev as it's deprecated).<br>
            <br>
            <a href="http://www.tldp.org/HOWTO/Bootdisk-HOWTO/x703.html" target="_blank">http://www.tldp.org/HOWTO/Bootdisk-HOWTO/x703.html</a><br>
            <br>
            --b
            <div>
              <div><br>
                <br>
                <br>
                _______________________________________________<br>
                Chugalug mailing list<br>
                <a href="mailto:Chugalug@chugalug.org" target="_blank">Chugalug@chugalug.org</a><br>
                <a href="http://chugalug.org/cgi-bin/mailman/listinfo/chugalug" target="_blank">http://chugalug.org/cgi-bin/mailman/listinfo/chugalug</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Chugalug mailing list
<a href="mailto:Chugalug@chugalug.org" target="_blank">Chugalug@chugalug.org</a>
<a href="http://chugalug.org/cgi-bin/mailman/listinfo/chugalug" target="_blank">http://chugalug.org/cgi-bin/mailman/listinfo/chugalug</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Chugalug mailing list<br>
<a href="mailto:Chugalug@chugalug.org">Chugalug@chugalug.org</a><br>
<a href="http://chugalug.org/cgi-bin/mailman/listinfo/chugalug" target="_blank">http://chugalug.org/cgi-bin/mailman/listinfo/chugalug</a><br>
<br></blockquote></div><br></div>