Booting linux on USB-sticks.

Jerry McBride mcbrides9 at comcast.net
Tue Mar 10 17:42:27 PDT 2009


On Tuesday 10 March 2009 12:00:17 am Kurt Wall wrote:
> On Mon, Mar 09, 2009 at 04:54:42PM -0500, Jerry McBride wrote:
> > Does any one know why it's required to boot linux on a usb stick via
> > initrd? I've been toying around with this and try as I may, I can't get
> > either LILO or GRUB to boot linux directly from a USB sitck. However
> > using the same exact kernel config, It'll boot just fine via initfs image
> > via initrd...
> >
> > It would seem to me, that if you can partition and format a usb stick, 
> > then surely it should behave like a normal bootable media, without the
> > need for the initd nonsense.
>
> What's in the initrd?
>
> Kurt

It's a kernel, modules and an init script. This loads, before it loads the 
normal stuff off the stick. What I don't understand is, why can it boot the 
kernel in the inird, but not the kernel I put into /boot.

I'm about done....

-- 

*****************************************************************************
                                       
                             From the desk of:
                             Jerome D. McBride
                                       
   20:41:00 up 84 days,  1:49,  5 users,  load average: 0.05, 0.25, 0.27
 
*****************************************************************************



More information about the Linux-users mailing list