Page 1 of 1

Building a distro using openSUSE

Posted: Sun Apr 23, 2017 9:20 pm
by nastybuttler322
Hey people,

I am doing linux from scratch using 64-bit openSUSE. I would also like to do this with the openSUSE OS running from USB. I spent an entire day trying to get this OS to run from USB yesterday. I almost did, because it definitely booted grub, but it was checking the microSD port to boot from. I followed instructions that I believe are outdated, because I followed them exactly at each step of the way. I definitely changed a grubfile that referenced the sd to reference USB. The file was called dracula.raspberry, or something, I'm not looking right at it right now.

The instructions were also updated at the end to include the fact that the capability is now built into some tumbleweed versions with a link to those versions. I'm pretty sure that it was one of these that I tried that booted grub.

I also booted a regular image from usb with a blank microSD card inserted, this did the same as the other.

I tested the usb to see that it is able to boot by using Raspbian, and it booted fine.

I really want to boot this from USB, or at least boot from microSD, and the microSD direct the system to the USB.

Is source code available to the public for openSUSE? Also, is source code available to the public for Raspbian? I would like to read these to see exactly what is going on without just relying on the solution outline that I found for how the raspberry pi boots.

Re: Building a distro using openSUSE

Posted: Sun Apr 23, 2017 9:37 pm
by nastybuttler322
Other than that USB booting issue, all of the tools required for a Linux from Scratch were able to be installed no problem.

Has anyone done Linux From Scratch for the raspberry pi? If so, any advice for this? I am thinking that getting it to boot on the pi will be the hardest part.

Re: Building a distro using openSUSE

Posted: Mon Apr 24, 2017 8:58 am
by YCN-

I see two possible problems here, why are you using grub? In my mind the Rpi boots up with U-Boot, it may be possible with grub but it doesn't seems standard.
I had issue once with distro I made using buildroot, the problem was all about addressing the boot, and there might also be problems with formating and size of the memory where you want to boot on.