Booting linux on USB-sticks.

Lonni J Friedman netllama at gmail.com
Tue Mar 10 17:50:51 PDT 2009


On Tue, Mar 10, 2009 at 5:42 PM, Jerry McBride <mcbrides9 at comcast.net> wrote:
> 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....

How exactly is it failing?  Where did you get this kernel that you're using?



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama at gmail.com
LlamaLand                       https://netllama.linux-sxs.org



More information about the Linux-users mailing list