On 6/8/19 5:58 AM, Peter Robinson wrote:
On Fri, Jun 7, 2019 at 10:58 PM Steven A. Falco
<stevenfalco(a)gmail.com> wrote:
>
> On 6/7/19 2:38 PM, Steven A. Falco wrote:
>> On 6/7/19 2:32 PM, Peter Robinson wrote:
>>> On Fri, Jun 7, 2019 at 7:28 PM Steven A. Falco <stevenfalco(a)gmail.com>
wrote:
>>>>
>>>> On 6/7/19 2:26 PM, Peter Robinson wrote:
>>>>>> I have a wandboard quad, and I'd like to move the root
filesystem to a sata drive. I have the drive connected and formatted, and I copied all of
"/" to a partition on the sata drive.
>>>>>
>>>>> For the wandboard you can actually have the entire OS on SATA. The
>>>>> only thing that needs to be on a SD card is U-Boot.
>>>>>
>>>>> So if you take a new image and DD it out to the sata device, then
just
>>>>> dd out the U-Boot to a mSD card it should just all boot.
>>>>
>>>> That is very interesting. So I think you are saying that the initramfs
that is part of the Fedora 30 image already has the necessary drivers. Do I have that
right?
>>>
>>> Sort of. The pre generated images that we ship have "generic"
>>> initramfs which have a LOT of drivers so the images will boot on the
>>> vast majority of Arm devices, once the first kernel update is applied
>>> it automatically moves to a host specific initramfs so will then be a
>>> lot smaller, and hence much quicker to boot, but will not be a generic
>>> initramfs.
>>
>> Excellent! That is a good design.
>
> I am happy to report that it worked perfectly. My Wandboard is now running entirely
from a SATA drive, with the tiny exception of U-Boot.
Excellent news, feel free to suggest any improvements that could be
done to improve the process.
Is there a page where I could contribute some information, or is this already written up?
In particular, I find that on a cold boot, it usually fails, because U-Boot is faster than
the disk can spin up. :-) However, if I then hit the reset button it boots fine. Others
might want to know that.
Steve