You are not logged in.

#26 2022-01-24 20:14:38

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:

"shred" means "torn to pieces" (it's just to say that the file got damaged) - and according to pacman -Qkk systemd, that's not the case either.
Are you being asked to decrypt the root partition before the error shows up?
Can you boot if you edit the kernel parameters and add "init=/bin/bash"?

No. It doesn’t ask for decrypt password but all partitions are well! I can normally chroot and install packages over pacman or yay.

In Arch.conf under options init=/bin/bash

Ok. I will give a try tomorrow. I’m really desperated.

Offline

#27 2022-01-25 13:09:58

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:

"shred" means "torn to pieces" (it's just to say that the file got damaged) - and according to pacman -Qkk systemd, that's not the case either.
Are you being asked to decrypt the root partition before the error shows up?
Can you boot if you edit the kernel parameters and add "init=/bin/bash"?

It's ending in a kernel panic and say requested init=/bin/bash not found

@seth any thoughts?

Offline

#28 2022-01-25 14:43:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

Check (on the chroot)

ldd /bin/init
stat /lib /lib64 /usr/lib /usr/lib64

Try passing "rootwait" to the kernel commandline.
There's an MCE error but if the HW had issues you couldn't mount it from the iso.

Online

#29 2022-01-25 14:54:45

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:

Check (on the chroot)

ldd /bin/init
stat /lib /lib64 /usr/lib /usr/lib64

Try passing "rootwait" to the kernel commandline.
There's an MCE error but if the HW had issues you couldn't mount it from the iso.

ldd /bin/init

not a dynmaic executable

stat /lib /lib64 /usr/lib /usr/lib64

https://termbin.com/iuzg

stat: cannot statx /usr/lib64 ?!

Under rd.options=discard rootwait ?!

Last edited by Morta (2022-01-25 14:54:56)

Offline

#30 2022-01-25 15:01:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

stat: cannot statx /usr/lib64 ?!

That's one of your issues - /usr/lib64 is supposed to be a symlink to "lib" (ie. finding /usr/lib)

not a dynamic executable

That's the next issue - what is it:

file /bin/init
file $(realpath /bin/init)

Under rd.options=discard rootwait ?!

Anywhere in the kernel options, but for now let's focus on your broken filesystem and questionable bin/init…

Online

#31 2022-01-25 15:11:17

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

Ok i do

ln -sf /usr/lib /usr/lib64 

?


not a dynamic executable

That's the next issue - what is it:

file /bin/init

https://termbin.com/76gc9

file $(realpath /bin/init)

https://termbin.com/orcw

Under rd.options=discard rootwait ?!
Anywhere in the kernel options, but for now let's focus on your broken filesystem and questionable bin/init…

Ok. I deleted init=/bin/bash and added rootwait

Last edited by Morta (2022-01-25 15:13:46)

Offline

#32 2022-01-25 15:16:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

ln -s lib /usr/lib64
ldd /usr/lib/systemd/systemd

But it's probably the missing lib64

Online

#33 2022-01-25 15:23:28

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:
ln -s lib /usr/lib64
ldd /usr/lib/systemd/systemd

But it's probably the missing lib64

https://termbin.com/6py6

And what is with /bin/init ?

ldd /bin/init

https://termbin.com/958s

Ok, now mkinitcpio -P and bootctl install ?

And then reboot?

Last edited by Morta (2022-01-25 15:25:58)

Offline

#34 2022-01-25 15:30:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f6e9acbc000)

Just rebooting will likely do, but feel free to recreate the initramfs as well.

Online

#35 2022-01-25 15:39:16

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f6e9acbc000)

This is just a information?! What was wrong?

Just rebooting will likely do, but feel free to recreate the initramfs as well.

Have I to do something else?



Ok. How can this happened?


I think it happens because of deinstalled Debian package with dpkg

I will spend some money to ArchLinux with my next salary for the support. 

That should be fine now?

PS: What is with the noauto option for the bind mount in /etc/fstab?
PSS: Stil no ESP Drive

bootctl | nc termbin.com 999

https://termbin.com/c1acx

How I can set it?

Last edited by Morta (2022-01-25 15:50:08)

Offline

#36 2022-01-25 15:51:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

Just for information why bin/init wasn't resolvable - ld-linux-x86-64.so.2 could not be resolved.

Does the re/boot now work?

I've no idea how exactly that happened - it was more common when users could throw "--force" at pacman.
"deinstalled Debian package with dpkg" certainly sounds capable of such, but you absolutely should not use dpkg as package manager.

Some dude, probably Allan wrote:

I am the Pacman thy Package Manager
Thou shalt have no other package managers before me

Edit: termbin is 404

Last edited by seth (2022-01-25 15:51:58)

Online

#37 2022-01-25 15:56:26

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

It's give a solution to morph RPM an DEB packages to Pacman packages like alien on Debian based systems? Or should I use a PKGBUILD script instead before I install a package with dpkg or yum?

https://termbin.com/c1ax

Sorry, for the fault

Last edited by Morta (2022-01-25 15:56:59)

Offline

#38 2022-01-25 16:10:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

https://archlinux.org/packages/extra/any/rpmextract/
https://aur.archlinux.org/packages/deb2targz/

dpkg also allows you to extract files and leverage that in a PKGBUILD, but using it as a secondary package manager is a recipe for a disaster.

Do you only concern

               ✗ Boot loader sets ESP information
          ESP: n/a

or is there still an active problem w/ booting the system?

Online

#39 2022-01-25 16:13:23

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [SOLVED]System doesn't boot

seth wrote:

https://archlinux.org/packages/extra/any/rpmextract/
https://aur.archlinux.org/packages/deb2targz/

dpkg also allows you to extract files and leverage that in a PKGBUILD, but using it as a secondary package manager is a recipe for a disaster.

Do you only concern

               ✗ Boot loader sets ESP information
          ESP: n/a

or is there still an active problem w/ booting the system?


It's working! NICE!!! THANKS MAN!

Offline

#40 2022-01-25 16:19:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,090

Re: [SOLVED]System doesn't boot

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.


Then we return to the nfs situation…

Online

Board footer

Powered by FluxBB