1 |
On 3 June 2020 20:38:49 CEST, thelma@×××××××××××.com wrote: |
2 |
>On 06/03/2020 12:06 PM, J. Roeleveld wrote: |
3 |
>> On 3 June 2020 18:24:47 CEST, thelma@×××××××××××.com wrote: |
4 |
>>> When I try to boot I'm getting an error: |
5 |
>>> |
6 |
>>> "Kernel panic - not syncing: No working init found. Try passing |
7 |
>init= |
8 |
>>> option to kernel." |
9 |
>>> |
10 |
>>> I am running very low on disk space, I think. |
11 |
>>> I've tried to boot strap the system and remove some files but boot |
12 |
>>> strap |
13 |
>>> is not working. When I boot from minimal-install gentoo CD I try: |
14 |
>>> |
15 |
>>> swapon /dev/sda3 |
16 |
>>> swapon: /dev/sda3: read swap header failed: Input/output error |
17 |
>>> |
18 |
>>> Any solution? |
19 |
>> |
20 |
>> Is this on a new system? Or on an existing system that started |
21 |
>showing this issue after working correctly for a while? |
22 |
>> |
23 |
>> -- |
24 |
>> Joost |
25 |
>> |
26 |
> |
27 |
>The system is old and was working for some time, it has a SSD drive, it |
28 |
>just recently this error showed up. |
29 |
> |
30 |
>-- |
31 |
>Thelma |
32 |
|
33 |
How old are the SSDs? |
34 |
Were they used for swap? |
35 |
How are they connected? |
36 |
|
37 |
The dmesg you sent in the other email makes me think the SSDs are connected to old ATA ports as they mention UDMA instead of Sata speeds. |
38 |
|
39 |
I would definitely suspect: |
40 |
- the drives (incl. SSDs) |
41 |
- other hardware (incl. the disk controller(s)) |
42 |
- memory |
43 |
- PSU |
44 |
|
45 |
As the issue is recent and intermittent, either a recent addition is causing issues, or there is a timing issue occuring during boot. And these can also occur during kernel initialisation. An initramfs with failover to a simple shell could help here as then you can get a dmesg of when the init fails. |
46 |
|
47 |
There is a kernel commandline option that forces the kernel to wait an X amount of time before trying to access the root-partition and starting "init". This is usually needed for USB-boot, but might also be necessary when disks take a bit longer to initialize. |
48 |
|
49 |
-- |
50 |
Joost |
51 |
-- |
52 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |