ubuntuusers.de

chroot findet keine shell

Status: Gelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

floogy

Anmeldungsdatum:
21. Juli 2006

Beiträge: 3297

Wohnort: Koblenz

Hallo, nach einem Crash ist irgendwas mit den Daten z.B. in /bin oder /usr/bin.

Per busybox konnte ich sie zwar anzeigen lassen, der Pfad ist auch normal (echo $PATH), aber alle Tools in der command line konnten dennoch nicht mehr gefunden werden.

Z.B. ls /usr/bin/ls no such file or directory

Auch die shell konnte nicht gefunden werden.

Aber das BusyBox interne ls hat das ls unter /usr/bin angezeigt.

Ich dachte mal per live CD und chroot die Situation wieder hinzubekommen.

Smartmontool -H sagt, alles ist okay, -a deckt keine Reallocation sector counts auf. Fsck sagt alles clean.

Allerdings wurde beim hochfahren ein journal replay ausgeführt. Ein paar Daten waren nicht konsistent. Danach fsck überall clean.

chroot kann aber keine shell finden

chroot /mnt /usr/bin/bash /usr/bin/bash: no such file or directory

Ich denke hier müsste ich mit dpkg in das gemountete root 'remote' das Basesystem installieren?

bash hat in der live CD die gleiche Version wie im gemounteten System.

Allerdings ist die sha256s anders.

Ohne chroot kann ich es per exec bash --version etc. aufrufen.

Ehrlich gesagt habe ich keine Idee, was überhaupt los ist.

Ich mache grade ein e2fsck -cc -f -v /dev/sda1

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2178

Wohnort: dahoam

Hm .....

  • Vielleicht will er die Shell selbst wählen? was kommt bei: chroot /mnt

  • Kannst Du das Filesystem mounten (davon gehe ich mal aus) und sind da die Dateien unter /usr/bin und /bin noch da? Ausführbar?

  • cat /usr/bin/pwd gibt auch Binär-Daten aus und nicht nur Nullen?

0.02$

Thomas_Do Team-Icon

Moderator
Avatar von Thomas_Do

Anmeldungsdatum:
24. November 2009

Beiträge: 8808

floogy schrieb:

Z.B. ls /usr/bin/ls no such file or directory

ls -al /usr/bin
ls -al /usr

wären interessanter.

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 4984

Mit einer statischen Bash hatte ich schon mal eine Kubuntu Installation retten dürfen. 😇

Wenn ich mich recht entsinne, hatte ich das Bash Binary aus dem Paket bash-static ausgepackt, und von außen in die havarierte Kubuntu Installation reinkopiert. So, dass beim reinhüpfen mit chroot dann chroot erst mal zufrieden war, eine Bash vorzufinden. Die dann natürlich wieder durch die richtige Ubuntu Bash ersetzt werden muss.

floogy

(Themenstarter)

Anmeldungsdatum:
21. Juli 2006

Beiträge: 3297

Wohnort: Koblenz

Ja, ich hatte zuerst an sash gedacht, war aber leider nicht installiert. Dann kam mir busybox in den Sinn.

Aber die Idee ist vielleicht nicht schlecht. Ich habe gestern die bash aus der live CD nach mnt/usr/bin kopiert. Die hat er auch nicht gefunden.

Das Problem ist aber eigentlich, dass er sie nicht findet, obwohl sie da ist. Mit hexdump kann ich auch den ELF Header sehen.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[33727.660180] No Local Variables are initialized for Method [_GTF]

[33727.660184] No Arguments are initialized for method [GTF]

[33727.660188] ACPI Error: Aborting method SB.PCIO.SATO.SPTI. GTF due to previous error (AE [33727.662514] ata2.00: ATA Identify Device Log not supported

[33727.662525] ata2.00: configured for UDMA/100 [33727.662662] scsi 1:0:0:0: Direct-Access ATA VB0250EAVER HPG7 PQ: 0 ANSI: 5

[33727.663031] sd 1:0:0:0: Attached scsi generic sg1 type o [33727.663313] sd 1:0:0:0: [sdf] 488397168 512-byte logical blocks: (250 GB/233 GiB)

[ [33727.663398] sd 1:0:0:0: [sdf] Mode Sense: 00 38 00 00

33727.663390] sd 1:0:0:0: [sdf] Write Protect is off

[33727.663531] sd 1:0:0:0: [sdf] Write cache: disabled, read cache: enabled, doesn't support DP sdf2 sdf3 sdf5 sdf6 sdf7 sdf sdf9 >

[33727.784829] sdf sdf1 [33727.821111] sd 1:0:0:0: [sdf] Attached SCSI disk

root@ubuntu:~# fdisk -1/dev/sdf

Disk /dev/sdf: 232.89 G1B, 250059350016 bytes, 488397168 sectors

Disk model: VB0250EAVER

Units: sectors of 1 512 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes/512 bytes

Disklabel type: dos

Disk identifier: 0x8c372ec4

Device

Boot

Start

End Sectors

Size Id Type

/dev/sdf1

2048 88084394

88082347

/dev/sdf2 *

88084480 176134143 88049664

/dev/sdf3

/dev/sdf5

42G 7 HPFS/NTFS/exFAT

42G 7 HPFS/NTFS/exFAT

176136156 488392064 312255909

148.9G f W95 Ext'd (LBA)

176136192 178610669 2474478 178610733 199077479 20466747

1.2G 7 HPFS/NTFS/exFAT

/dev/sdf6

9.8G 82 Linux swap / Solaris

/dev/sdf7

199077888 287145809 88067922 42G 7 HPFS/NTFS/exFAT 39.16 83 Linux

/dev/sdf8 /dev/sdf9

287145873 369061244 81915372 369061308 488392064 119330757 56.9G 83 Linux

e2fsck 1.46.5 (30-Dec-2021)

root@ubuntu:~# e2fsck -n -f -v /dev/sdf9

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity Pass 4: Checking reference counts

Pass 5: Checking group summary information

984105 inodes used (26.34%, out of 3735552) 43669 non-contiguous files (4.4%)

2357 non-contiguous directories (0.2%)

#of inodes with ind/dind/tind blocks: 48417/800/0

10938804 blocks used (73.33%, out of 14916344)

0 bad blocks 1 large file

764324 regular files

81194 directories

0 character device files 1 block device file

O fifos 192 links

138572 symbolic links (131599 fast symbolic links) 5 sockets

984288 files root@ubuntu:~#

Ich versuche das trotzdem. Vielleicht findet er ja auch das Environment nicht und ich muss profile oder ähnliches der bash oder chroot mitgeben?

Werde das später versuchen.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
NEC

Ubuntu 22.04.4 LTS \n \

root@ubuntu:"# cat /etc/issue

Ubuntu 22.04.1 LTS \n 1

root@ubuntu:~# uname -a

Linux ubuntu 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86-64 x86_64 x86_64 GNU/Linux

root@ubuntu:~# exec/mnt/usr/bin/bash.orig --version | head -ni

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) root@ubuntu:~# exec /usr/bin/bash --version | head -ni

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu) root@ubuntu:~# sha256sum /mnt/usr/bin/bash.orig/usr/bin/bash

594745888312b6b6e73e5842859bf71e62b55416b6c9d5e4a6e1c630c2a9ecd4/mnt/usr/bin/bash.orig

2c336c63626881d2f02f34379024e7c314bce572c08cbaa319bacbbec29f93ed /usr/bin/bash

root@ubuntu:~# ls -1/mnt/usr/bin/bash.orig /usr/bin/bash -rwxr-xr-x 1 root root 1396520 Mar 14 11:31 /mnt/usr/bin/bash.orig

-гихг-хг-x 1 root root 1396520 Jan 6 2022 /usr/bin/bash

root@ubuntu:~# smartctl-a /dev/sda | egrep -1 'model pre-fail health'

Device Model: SanDisk SDSSDX240GG25

Hodel Family:

SandForce Driven SSDs

SHART overall-health self-assessment test result: PASSED 0x000f 116 116 050

1 Raw Read Error_Rate 5 Retired Block_Count

Pre-fail Pre-fall

Always

0/129350986

0x0033

100 100

003

Always

10 10 100 0

196 Reallocated_Event_Count

0x0033 100 100

003

Pre-fall

Always

230 Life Curve_Status

0x0013 100 100

000

Pre-fail Pre-fall Always

Always

231 SSD Life Left

0x0013 100 100 010

root@ubuntu:"#chroot /mnt/bin/bash

root@ubuntu:~# chroot /mnt/usr/bin/bash

chroot: failed to run command '/usr/bin/bash: No such file or directory

chroot: failed to run command '/bin/bash': No such file or directory

root@ubuntu:~# chroot /mnt/mnt/usr/bin/bash

chroot: failed to run command /mnt/usr/bin/bash': No such file or directory

root@ubuntu:"# cat /mnt/etc/issue

Ubuntu 22.04.4 LTS \n \1

root@ubuntu:~# cat /etc/issue Ubuntu 22.04.1 LTS \n \1

root@ubuntu:~# umount /mnt

root@ubuntu:"#e2fsck -f -v/dev/sda1 e2fsck 1.46.5 (30-Dec-2021

) Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

795411 Inodes used (20.23%, out of 3932160)

17643 non-contiguous files (2.2%) 1735 non-contiguous directories (0.2%)

#of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 723969/6768/2

14760982 blocks used (93.85%, out of 15728640)

O bad blocks

1 large file

640734 regular files 86127 directories

65 character device files

26 block device files

o fifos

67757 links

67077 symbolic links (63200 fast symbolic links)

1373 sockets

863159 files root@ubuntu:~#

fsck

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
Inode 1007364 extent tree (at level 1) could be shorter. Optimize? no

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity Pass 41 Checking reference counts

Pass 5: Checking group summary information

795411 Inodes used (20.23%, out of 3932160)

17643 non-contiguous files (2.2%)

1735 non-contiguous directories (0.2%) of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 723965/6772/2 14760986 blocks used (93.85%, out of 15728640)

O bad blocks

1 large file

640734 regular files 86127 directories

65 character device files

26 block device files

o fifos

67757 links

67077 symbolic links (63200 fast symbolic links)

1373 sockets

863159 files

root@ubuntu:~# e2fsck -n -c -f -v /dev/sda1

e2fsck: Then and c options are incompatible.

root@ubuntu:~# e2fsck -cc -f -v/dev/sda1

e2fsck 1.46.5 (30-Dec-2021)

Checking for bad blocks (non-destructive read-write test)

Testing with random pattern: done

/dev/sda1: Updating bad block inode.

Pass 1: Checking inodes, blocks, and sizes

Inode 1853603 extent tree (at level 1) could be shorter. could be shorter. Optimize<y>? yes Optimize<y>? yes

Inode 1859063 extent tree (at level 1) could be shorter. Optimize<y>? yes

could be shorter. Optimize<y>? yes Inode 1866705 extent tree (at level 1) Inode 1887364 extent tree (at level 1)

Pass 1E: Optimizing extent trees

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

/dev/sda1: FILE SYSTEM WAS MODIFIED

795411 inodes used (20.23%, out of 3932160)

17643 non-contiguous files (2.2%)

1735 non-contiguous directories (0.2%)

#of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 723965/6772/2

14760982 blocks used (93.85%, out of 15728640)

0 bad blocks

1 large file

640734 regular files

86127 directories

65 character device files

26 block device files

O fifos

67757 links

67077 symbolic links (63200 fast symbolic links)

1373 sockets

863159 files

root@ubuntu:~#

Es sind ein paar Fehler in Zeilenumbrüchen und vielleicht weitere, durch das OCR von Lens enthalten.

Ich kann vom Handy leider nichts anhängen. Sonst hätte ich einen screenshot angegangen. Vielleicht den Text per Lens später.

Ein paar Screenshots als OCR Text von Lens nachgetragen.

Kurz: Einige e2fsck -cc sind mit Optimierung von directories fehlerfrei und ohne badblocks durchgelaufen. Smart Okay, Daten sind da. Datenkonsistenz dennoch fragwürdig.

sha256sum zeigt Unterschiede, Versionen aber gleich. Pointrelease der CD ist 1 der Installation 4 inklusive Updates. Das System wurde gestern auf den neuesten Stand gebracht.

Die Daten scheinen okay. Sicher ist das aber nicht.

Ein replay des journals hat eventuell das filesystem wieder konsistent gemacht, was aber nicht bedeuten muss, dass die Dateien nun auch wieder konsistent, also nicht korrumpiert sind(?).

Später hänge ich noch den Text des Screenshots vom shutdown nach der Situation (alles rot) und des Kernel oops beim booten hoch.

Herunterfahren, nachdem die Situation entstanden ist:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Falled unmount ing RPC Pipe File System.

FABLES] Falled to start Show Plymouth Power Off Screen. /media/ethersrv-linux.

FAILED) Failed unmounting PABLED] Falled unmounting /media/gerhard/1.

Failed unmounting /run/credentials/systemd-s sysusers.service.

[RE] Failed unmount ing Prepare/run/qesu to allow still running gemu binaries of former builds (after package upgrades) to fallback-load modules from there.

FAILED Failed unmount ing/run/snapd/ns/canonical-Livepatch.ant. AILED Failed unmount ing/run/snapd/res/ch 1/ms/chromium.ent.

PARLEG] Falled unmounting /run/snapd/ns/cups.int. FALE] Falled unmount ing /run/snapd/ns/docker.ent

VALE Failed unmount ing/run/snapd/ns/filelight.nt.

PATLED Failed unmount ing/run/snapd/ns/firefox.mnt PABLED Failed unmount ing /run/snapd/ns/links.mnt.

OLED) Failed unmount ing/run/snapd/ns/snap-store.ant.

FAILED Failed unmount ing/run/user/1000/doc. PALE Falled unmount ing /run/user/1000/gvfs.

[AILER] Falled unmount ing Mount unit for assistivecam, revision 10.

FAILED] Failed unmount ing Mount unit for audacity, revision 1051. FAILER] Falled unmount ing Mount unit for bare, revision 5.

[RE] Falled unmount ing Mount unit for canonical-livepatch, revision 278.

[FAILED) Failed unsount ing Mount unit for chromium, revision 2842. [FILE] Failed unsount ing Mount unit for cake, revision 1381.

Falled unmount ing Hount unit for core, revision 16928.

FAILED [ ) Failed unsounting Hount unit for core18, revision 2823.

Failed unmount ing Hount unit for core20, revision 2264. Failed unmount ing Hount unit for core22, revision 1380. FAILED) Failed unmount ing Hount unit for cups, revision 1047.

Falled unmount ing Hount unit for docker, revision 2915. Failed unmounting Hount unit for dosbox-x, revision 1261.

FAILED ) Failed unmounting Hount unit for filelight, revision 30.

Failed unmount ing Hount unit for firefox, revision 4209.

Failed unmounting Hount unit for sh, revision 502. Failed unmounting Hount unit for gnome-3-28-1804, revision 198.

FAILED)

FAILED) Failed unmounting Hount unit for gnome-3-34-1804, revision 53.

FAILED) FAILED) Failed unmount ing Mount unit for gnome-3-38-2004, revision 143. Failed unmounting Hount unit for gnome-42-2204, revision 176.

FAILED) Failed unmount ing Mount unit for gnome-system-monitor, revision 186.

FASLED) Failed unmount ing Mount unit for stk2-common-themes, revision 13.

03 Failed unmount ing Hount unit for gtk-common-themes, revision 1535.

FAILED) Failed unmount ing Mount unit for suvcview, revision 81. Failed

unmounting Hount unit for hunspell-dictionaries-1-7-2004, revision 2. Failed unmounting Mount unit for kf5-5-111-at-5-15-11-core22, revision 7.

FAILED) Failed unmount ing Mount unit for links, revision 65.

Failed unmounting Mount unit for mattermost-desktop, revision 752. Failed unmounting Hount unit for p7zip-desktop, revision 220.

Failed unmounting Mount unit for snap-store, revision 1113. Failed unmount ing Mount unit for firefox, revision 1860 vie mount-control.

Failed unmount ing/run/snapd/ns.

FAILED ) Failed unmounting /run/user/1000.

FAILED Failed deactivating suec /dev/disk/by-uuid/5015b97c-8ec6-4505-5272-08853873bf26.

FAILED Failed deactivating susp /dev/sdes. FAILED) Failed deactivating suep/dev/disk/by-id/ata-SanDisk 80690X2400025 123323400991-part5.

VAILED Failed deactivating suso /dev/disk/by-partuuid/14301430-05. FAILED) Failed deactivating suso /dev/disk/by-id/uun-0x50016447c23abf1f-part5.

Failed deactivating LED Failed deactivating susp/dev/disk/by-path/pc1-0000:00:11.2-ata-1.0-parts. (1) Failed to execute shutdown binary.

suep/dev/disk/by-path/pc1-0000:00:11.2-ate-1-part5.

Broadcast message from systemd-journaid@ubuntu-8801 (Sun 2024-05-05 17:56:37 CEST):

systend (1) Freezing execution.

Nächster Boot (schlechtes Foto= schlechter OCR)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
NEC

11.3657761 ACPI BIM Error (g): Could set resale sol PTS GTF DSSPI, AR NOT FOUND (28211217/poarge-330)

1.3657%) CPI Error: Morting method 38.PCI0.SATS.SP75. GTF due to provi error (AE NOT FOUND) (20211217/

1.3667931 ACPI B Error (hog) Could not resul

تمشي PC19.TO.SPTS, STF BESP), AE NOT FOUND (20211217/psargs-330(

1.366005) BCPI Error: Morting meth18SSPTS. STF da to preulous error (AE NOT FOUND) COR211217/apara-525) 1.3685151 ACPI BIOS Error (hug) Cou resalue sysñol PC10.2010.SPTS STF DSP, NOT FM (28211217/ysurga-3383 (AR NOT PIRMD) (28211217/-52

1.3685611 CPI Error: shorting method 38. PC1B.SATO.SPT4 STF do to previous error 1.36/32331 ACPI 8105 Error (bog): Could not resolve symbol C.S.SPTI. STFALL Error: Marting method. PC19.SATO.SPTI. STF due to previous error (AL NOT FORD

1.3632431 ACPI 1.3701171 ACPH Bit Error (bug) : Could not resolve sabel Is 38 PC10.SATS.SPTI. GIF. DSSP), NOT FOUND 13791261 C1 Eur: Morting method PC10.819.571. GIF se to previous error (TM) (28211217/-52)

28215217-338)

1.3724001 ACPI BIO Error (ug): Could not resolve nedel P103019P1, STY, A MOT JOLBO (28211217/rs-3301 1.3724201 ACPI Error: Morting method. PC18 STOPS GTF due to previous error (ALJIT FEMD) (20211217/peparse-52) nydel 58 PC10.2010.SPTB STF BISP), AE NOT FOLPO (28211217/psargs-330)

1.3761361 ACPI BIOS Error (heg): Could not resolve 1.3761471 ACPI Error: thorting sethod 58. PC10.SATS.SPT. STF 14 1.386129) ACPI BIOS Error (hay): not resolve symbol to prestons error (AL NOT FOAMD) (28211217/asparse 330)

1.3061381 leu/slal: recovering Journal

ACPI Error: Aborting sethod PC19.SATO SPTS GTF due to previous error (A HOT PD) (28211217/paparse-525)

journald Clearing orphaned inode 30057574-9140100044, size 94522) deudat Clearing orphaned Isode 3005761 -, -, mode-0100614, sizm-140135) dev/sdel: Clearing orphaned inde 3814348 (14-0, gd-0, mode-0100644, size-5)

journald Clearing orphaned inode 3539960 (1-334-13, sole-01006, size-6) deu/adal: cloas, 25418/2932110 files, 1476045/15720640 locks can't execute shin/isit: such file or directory

run-init:

Target filesystem doesn't have requested /sbin/init.

rus-loit can't execute /sbin/init: No such file or directory Init: can't execute /etc/init: Permission denied

4.957743) Kernel panic sot syncing: Attempted to kill init exitcode 0x00000100

4.9903001 CPU: 2 PID: 1 : -nit Not tainted 5.10.0-051000-generic 8282205222030 Gigabyte Techenlogy Co., Ltd. To be filled by .../4778-001, 8105 136 12/05/2013

1.950916) Hardware se: 4.999634) Call Trace:

4.9790133 (TASK

0002123

dump stack lv1-9x19/0x60

0004803

dump stack+0x10/0x13

0007211 panic-x162/27

000545) Jundle fanit-x3cb/bx790

5.0012571

do exit.cold-x150x15

5.0015111 do group_exit-x35

0017721ops_exit group-B18/0x20

5.0020761

0021371 0025761

7 do user_addr_fault-xidc/b570

7 exit_to_user_node_prepare-0x37/60

5.0030251 7 Irgentry_exit_to_user_node-3/0x20

0633751 7 irgentry_exit+0x35/ 00:36-401 7 ext page fault-0x70x100

00:33311 0042321 entry SYSCALL 54 after Jafrane x11/xat

Tas esc page fault/0x30

5.0045991 817:00:33:0x7fe6734031 0043601 Date: 05 12 12 00 be e7

00 00 00 b4 3: 00 00 00 eb 16 66 of 17 04 00 00 00 000000000000007

5.0062171 8SP: 0026:00007710652 : 00000246 16 X 000

5.0073031 RDX: 5.0070191 :

0000000000000031

000000000000000100

00000020 00007fe6738bea

0003361

10: 0000000000000000 0000000000000000

11: 0000000000000246 RIZ: 00007fe673473 15: 14:

00007fe673473500

0093701

5.0095641 Reroel Offset: 0x23600000 from uffffffff01000000 (relocation range 0000000-0 5.010453) - ent Kernel panic not syncing: Attempted to kill initf exitcode 0x00000100-

елег

MultiSync LCD мил

Vielleicht nehme ich später noch mein Laptop zur Hilfe und korrigiere die wichtigsten Textstellen ein wenig.

floogy

(Themenstarter)

Anmeldungsdatum:
21. Juli 2006

Beiträge: 3297

Wohnort: Koblenz

Ich habe es gelöst. Aus irgendeinem Grund wurde beim einfügen des Infotextes in Checkinstall für PCem 17, mit leeren Zeilen, wohl der symbolische link von /lib auf /Urs/lib gelöscht .

Vielleicht war etwas im Info Text oder das crtl+c, das ich wegen der Situation, dass Leerzeichen nicht ausreichten, oder Zollzeichen, um checkinstall mehr als dem ersten Absatz des Info Textes akzeptieren zu lassen, hat zu der Situation geführt.

Jedenfalls stehe ich nun vorm Login nach reboot.

Also fehlte der Zugriff zu den libraries.

Obwohl ich gleich an sash dachte, und ich busybox-static verwendet hatte, war bash-static der entscheidende Hinweis, der dazu führte, dass ich bash-static als shell für chroot verwendete und dann nach /bin als bash symlinkte. Dann funktionierte ldd(?) und ich würde auf die libraries aufmerksam. BusyBox df /lib gab eine Fehlermeldung aus (not mounted oder so). In /etc/fsck gab es aber keinen Hinweis auf /lib als mountpoint. Nur / und SW für swap.

Ein busybox ls -l /lib zeigte nur terminfo. Darin nur x.

Es gab aber lib32, lib64 und so weiter. Unter /usr war dann lib inclusive der libraries zu finden.

busybox mv -v /lib /lib-rootfolder busybox ln -s /usr/lib /lib

und siehe da ldd /bin/ls gab wieder eine sinnvolle Ausgabe und ein ls / funktionierte wieder exit umount /mnt reboot

et voilà: bootup, init gefunden, login

Antworten |