The officially official Devuan Forum!

You are not logged in.

#1 2022-06-13 15:15:35

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

[SOLVED] fresh devuan install fails with debootstrap chroot warning

Hi
I ran a webserver with beowulf, LAMP, nextcloud which started failing the 23rd May 2022. Before on debian, later devuan.
Also ssh remote login and rsnapshot was scrapped. I took it from the net/grid on the 25th.
Yesterday I investigated and noted that fail2ban erases logfiles on every root login of root since 23 May. Having problem with upgrade to chimaera and especially ldconfig. This looks like another story. (hijacked?)

I decided to make a fresh install.
tried to make a fresh install now using the chimaera netinstall in expert mode. Release_notes_chimaera_4.0.0.md from Di 12 Okt 2021 12:48:01 CEST
this install fails repeatedly with a debootstrap error failing to chroot to "target/"  .... also in install mode.

HW is this old Intel atom described here https://dev1galaxy.org/viewtopic.php?id=4693

iso written with dd to the usb stick

Last edited by bai4Iej2need (2022-06-13 17:00:24)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#2 2022-06-13 15:33:05

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

Check the sha256sum of the iso to make sure it downloaded correctly.

FWIW,  i used denyhosts in the past, which is similar to fail2ban. I found it to be useless because every break-in attempt now comes from a different IP address. Using non-standard ports is pretty useless too, because Censys publishes their port scans on everyone, so you only have to look it up on the web to find what ports are open on any address.

Offline

#3 2022-06-13 16:40:06

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

Tried the same with server install

I had the same
Warnung : Failure trying to run : chroot "/target" dpkg --force-depends --install /var/cache/apt/archives/base-passwd.3.5.51_amd64.deb

/var/cache/apt/ directory is completely missing !

It seems, that the RAM of 1GB (-videoram) is not sufficient to install a devuan server, also it could once be done as an upgrade from the debian history

there is no top and the ps of busybox has no options. so I cannot see how much RAM is in use.

silently fails the installer without telling the true reason, why the install must fail

Last edited by bai4Iej2need (2022-06-13 17:20:44)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#4 2022-06-13 17:34:54

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

bai4Iej2need wrote:

there is no top and the ps of busybox has no options. so I cannot see how much RAM is in use.

cat /proc/meminfo

EDIT: check TTY4 for full error messages.

Last edited by Head_on_a_Stick (2022-06-13 17:36:33)


Brianna Ghey — Rest In Power

Offline

#5 2022-06-13 23:26:19

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

expert install server iso
with

cat /proc/meminfo > meminfo 
more meminfo

it is possible to see the memory needs.
only because of this
https://dev1galaxy.org/viewtopic.php?pid=35494#p35494

There is still plenty of 600,000kByte in RAM available(free)

However /var/cache/apt is not generated when going to the step of install base system

edit 6:56 CEST
There is a directory /var/cache/anna, which seems to be the replacement for apt , but then

package: anna
Version: 1.83+devuan1
Installed-Size: 166
Maintainer: Ralph Ronnquist <ralph.ronnquist@gmail.com>
Architecture: amd64
Depends: libc6-udeb (>= 2.31), libdebconfclient0-udeb (>= 0.260), libdebian-installer4-udeb (>= 0.121), cdebconf-udeb
Origin: Devuan
Description: anna's not nearly apt, but for the Debian installer, it will do
Description-md5: 39239def5f89c730ca582effecd5256a
Section: debian-installer
Priority: standard
Filename: pool/DEVUAN/main/a/anna/anna_1.83+devuan1_amd64.udeb
Size: 44792
SHA256: 0dae2686092c53e324f3cf0c0fefd9d6e20fb8261edd17369aabc8ee9198e64f

bug or feature, spent now 2 days fighting with this installer

edit 7:10 CEST
Who takes carte of the devuan installer ?     @ralph.ronnquist?

Last edited by bai4Iej2need (2022-06-14 05:16:45)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#6 2022-06-14 15:59:02

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

The most common mistake for an "expert" installer is to skip the "load components" (or similar) step.

Does that fit your use case?

Offline

#7 2022-06-14 17:13:25

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

bai4Iej2need wrote:
cat /proc/meminfo > meminfo 
more meminfo

Lolwut?

pager /proc/meminfo

tongue

bai4Iej2need wrote:

silently fails the installer without telling the true reason

I wrote:

check TTY4 for full error messages

So press <ctrl>+<alt>+F4 to read them (or just <alt>+F4 if you're using the non-graphical installer).


Brianna Ghey — Rest In Power

Offline

#8 2022-06-14 19:55:23

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

devuan_chimaera_4.0.0_amd64_server.iso appears to be ok here. I just installed in qemu with 1024M ram. I  selected web server and ssh server from the tasksel menu. I un-checked xfce, but I forgot to un-check devuan-desktop-environment, so I got xfce anyway.

I have noticed that 1G ram in qemu is not enough to boot an installed system if the root partition is encrypted. But in those cases, the installation completed normally - just *can't* reboot into it.

Edit: can't, can not, it hangs.

Offline

#9 2022-06-16 03:24:40

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

Head_on_a_Stick wrote:

Lolwut?

pager /proc/meminfo

tongue

pager /proc/meminfo
/bin/sh : command not found

so far the pager in busybox and/or the d-i
tongue tongue

I spent the day with digging in this horrible old BIOS and the Interaction with messed up USB sticks,
which do not behave as one would expect when isos are copied to them without proper complete erasing old partitions, mbr GBT and the like.
In this respect I miss a multiboot Stick (which works) for several Images and isos.

After having sorted this out, and using the regular Install of the netinstall iso I arrive at the same result

I wrote:
Failure trying to run : chroot "/target" dpkg --force-depends --install /var/cache/apt/archives/some......deb

from my post up there

/var/cache/apt is missing again.
However I copied the syslog and will bring it here, once  I open the box and move the /dev/sda to this thing I am using right now.

There must be a difference if it must work on bare metal of 2008.

Last edited by bai4Iej2need (2022-06-16 03:30:10)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#10 2022-06-16 10:16:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

bai4Iej2need wrote:
pager /proc/meminfo
/bin/sh : command not found

so far the pager in busybox and/or the d-i
tongue tongue

Ha! Yes, well, my point was more general — why cat the content of a file to another file and then read the other file when you could just use a pager (any pager) to read the file. But anyway...

bai4Iej2need wrote:

messed up USB sticks, which do not behave as one would expect when isos are copied to them without proper complete erasing old partitions, mbr GBT and the like.

^ This raises my suspicions.

How exactly did you transfer the ISO image to the USB stick?

If you used the correct method then the image itself would erase old partitions.

bai4Iej2need wrote:
Failure trying to run : chroot "/target" dpkg --force-depends --install /var/cache/apt/archives/some......deb

Is that everything you see when you check TTY4?

There is https://forums.debian.net/viewtopic.php?t=79785 in which the OP was trying to use debootstrap on an NTFS partition. Would that apply here?


Brianna Ghey — Rest In Power

Offline

#11 2022-06-21 06:59:08

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

I tried to update the BIOS and ended several times with a CMOS checksum failure. Maybe the MB is doomed. Will test later again


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#12 2022-11-07 10:46:54

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 117  

Re: [SOLVED] fresh devuan install fails with debootstrap chroot warning

I finally burned the server ISO on a cdrom , connected a Year 2000 cdrom drive with the IDE connector,
The standard Install of devuan_chimaera_4.0.0_amd64_server.iso makes huge /home /root / partitions and a small /var partition.

So I had to make an expert install with no /home partition,
and evaded lvm.
Partition  / , Partition /tmp Partition /usr , Partition /usr/local/ small , all <= 6 GB
The rest for Partition /var 230 GB .
Installation successfull.

Last edited by bai4Iej2need (2022-11-07 10:50:53)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

Board footer