Hi,
Theodore A. Roth <> [20080714 12:04:22 -0700]:
>
> I have been trying unsuccessfully to create an initrd on a 2-GB sd
> card that is larger than 4-MB.
>
I do not think you can have more than a 4MB initrd loaded by the TS
bootloader, however that's just me guessing. Best to ask TS support directly
regarding this.
> So, now for my questions:
>
> * Is my suspicion true?
> * Is there a way to tell the bootloader the size of the image to load
> into the ramdisk?
> * Why doesn't the bootloader read the partition table and just copy
> the entire partition in to the ramdisk?
> * Is it even possible to use an initrd that is more than 4-MB?
>
I would suggest you use initramfs (not initrd), ignore that 4MB partition on
the SD card as a waste of space/time and then pivot root into a an image you
yank off the SD card and put into a RAM disk that gives you everything you
need. I personally would probably use initramfs, mount the third partition
read-only, untar a file from there into / and pivot root into it's-self.
Hopefully thats clear, that way the least amount of memory (initramfs is
tmpfs and it dynamically grows and shrinks iirc) is used and you avoid
playing with image re-preperation all the time.
Cheers
Alex
--
_______________________________________
/ Things are not always what they seem. \
| |
\ -- Phaedrus /
---------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|