DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Install DiePi In Orange Pi One

Open actraiser30 opened this issue 2 years ago • 12 comments

Hello im trying to install DietPi in my Orange Pi One Board Using the latest Armbian Minimal Bookwom Image

and i get an error upon installation,that could not install some packages i press retry but is doing nothing like there is no internet but there is

before in Armbian bullseye image i was doing this when getting this error and it was working after

i opened a subshell and type inside:

echo 'iface eth0 inet dhcp' > /etc/network/interfaces ifup eth0 exit

now when i type ifup eth0 it says: eth0 not found

any help??

thanks

actraiser30 avatar Oct 18 '23 11:10 actraiser30

Can you show the full error message, at best the full output of the script? There should be nothing stopping the network connection with the minimal image, but probably they recently changed something.

now when i type ifup eth0 it says: eth0 not found

Because Armbian uses "predictable" interface naming, hence it is not called eth0 but something like enp0s1. You can check the names via:

ip l

MichaIng avatar Oct 18 '23 16:10 MichaIng

now i deleted the card,i tried multiple times and tired,in armbian bullseye the eth0 was working,i will try again and let you know where can i download the image that you are using to create DietPi itself?

actraiser30 avatar Oct 18 '23 17:10 actraiser30

We create images from scratch via debootstrap, so no pre-image is used. See our build script: https://github.com/MichaIng/DietPi/blob/master/.build/images/dietpi-build

MichaIng avatar Oct 18 '23 17:10 MichaIng

How can I create an image my self are there instructions anywhere?? I mean you need to boot an image to create this image right??

On Wed, Oct 18, 2023, 8:53 PM MichaIng @.***> wrote:

We create images from scratch via debootstrap, so no pre-image is used. See our build script: https://github.com/MichaIng/DietPi/blob/master/.build/images/dietpi-build

— Reply to this email directly, view it on GitHub https://github.com/MichaIng/DietPi/issues/6689#issuecomment-1769053315, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONKYOROYUGBUXTB2LV3YAAJQVAVCNFSM6AAAAAA6FKGU3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGA2TGMZRGU . You are receiving this because you authored the thread.Message ID: @.***>

actraiser30 avatar Oct 18 '23 17:10 actraiser30

I mean you need to boot an image to create this image right??

You can create this on any Debian or Ubuntu host system. BUT: It does only work for supported SBCs, hence not the Orange Pi One. So in your case you need to keep using the dietpi-installer. There was actually an issue regarding the base-files package. This has been fixed in the dev version of the installer:

bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-installer')"

If it still fails, it would be helpful it you retried it with the Armbian Bookworm image, and pasted the whole output of the script here + when you run into the network connection issue, from the subshell:

ip a
ip r

MichaIng avatar Oct 18 '23 18:10 MichaIng

Can't you create a one time only Image for the Orange Pi One ?? I know it's not in your plans to have an image for this board,but I think a one time image can be possible without plans for an updated version just this once,I also have a Cubieboard 2,I can't find in the installer list the generic Allwinner A20 is it possible to add it???

Thanks

On Wed, Oct 18, 2023, 9:10 PM MichaIng @.***> wrote:

I mean you need to boot an image to create this image right??

You can create this on any Debian or Ubuntu host system. BUT: It does only work for supported SBCs, hence not the Orange Pi One. So in your case you need to keep using the dietpi-installer. There was actually an issue regarding the base-files package. This has been fixed in the dev version of the installer:

bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-installer')"

If it still fails, it would be helpful it you retried it with the Armbian Bookworm image, and pasted the whole output of the script here + when you run into the network connection issue, from the subshell:

ip a ip r

— Reply to this email directly, view it on GitHub https://github.com/MichaIng/DietPi/issues/6689#issuecomment-1769076222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONLDO2JWLZCI25KX2PDYAALP3AVCNFSM6AAAAAA6FKGU3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGA3TMMRSGI . You are receiving this because you authored the thread.Message ID: @.***>

actraiser30 avatar Oct 18 '23 18:10 actraiser30

Can't you create a one time only Image for the Orange Pi One ??

Not without implementing support for it into all related scripts. There are a lot of other newer boards, including new ones from Orange Pi, which we'll implement with higher priority. There is no point for this effort without aiming to keep it maintained as well.

For the Cubieboard, try to use the "Generic Device" option.

MichaIng avatar Oct 18 '23 19:10 MichaIng

The command ip 1 returns nothing And the eth0 it's not the enp0s1 Any idea how can I found out what name has the Ethernet adapter??

On Wed, Oct 18, 2023, 10:09 PM MichaIng @.***> wrote:

Can't you create a one time only Image for the Orange Pi One ??

Not without implementing support for it into all related scripts. There are a lot of other newer boards, including new ones from Orange Pi, which we'll implement with higher priority. There is no point for this effort without aiming to keep it maintained as well.

For the Cubieboard, try to use the "Generic Device" option.

— Reply to this email directly, view it on GitHub https://github.com/MichaIng/DietPi/issues/6689#issuecomment-1769158017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONJKFWB2JTYMEUWS3HTYAASNPAVCNFSM6AAAAAA6FKGU3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZGE2TQMBRG4 . You are receiving this because you authored the thread.Message ID: @.***>

actraiser30 avatar Oct 19 '23 09:10 actraiser30

can you show output of

ip a
ip r

Joulinar avatar Oct 19 '23 09:10 Joulinar

IMG_20231019_122935_598_LL

actraiser30 avatar Oct 19 '23 09:10 actraiser30

When I do ifup end0 it says unknown interface end0

actraiser30 avatar Oct 19 '23 09:10 actraiser30