1 |
Check the date and time when you boot and if it isn't correct, you |
2 |
probably have a dead battery on your motherboard. I had to replace one a |
3 |
couple days ago. Fortunately the kind of battery my computer uses is sold |
4 |
in pharmacies since blood sugar meters also use them. |
5 |
|
6 |
On Mon, 15 Feb 2021, gevisz wrote: |
7 |
|
8 |
> Yesterday, my relatively new install of Gentoo failed to boot with the |
9 |
> following repeated messages: |
10 |
> |
11 |
> ata5.04: SATA link down (SStatus 0 SControl 0) |
12 |
> ata5.04: hard resetting link |
13 |
> ata5.04: failed to resume link (SStatus 0 Scontrol 0) |
14 |
> |
15 |
> My first thought was that something is wrong with my old IDE (ATA) |
16 |
> drive. (The Gentoo system partition was on /dev/sda5.) |
17 |
> |
18 |
> Nevertheless, I was able to boot from a flash drive with a live Gentoo |
19 |
> CD and chroot into the Gentoo system partition of my IDE drive. |
20 |
> |
21 |
> So, I formatted a new SATA drive according to instructions given in |
22 |
> Gentoo AMD64 Handbook, rsynced the corresponding IDE system partition |
23 |
> into it by the following command: |
24 |
> |
25 |
> rsync -qaHAXS source_dir target_dir |
26 |
> |
27 |
> made the necessary changes to the corresponding fstab file, chrooted |
28 |
> into the new system SATA partition, recompiled grub and installed it |
29 |
> on the new disk. |
30 |
> |
31 |
> After all that I was able to boot the Gentoo system from the new |
32 |
> partition. However, the booting process went as slow as hell, and at |
33 |
> the end Xorg server failed to start. |
34 |
> |
35 |
> My next guess was that something went wrong with the last kernel I |
36 |
> used to boot. So, I tried to boot using the previous kernel. |
37 |
> |
38 |
> However, this time the booting failed with almost the same messages as above: |
39 |
> |
40 |
> ata5.03: failed to resume link (SStatus 0 SControl 0) |
41 |
> ata5.03: SATA link down (SStatus 0 SControl 0) |
42 |
> ata5.03: hard resetting link |
43 |
> ata6.04: failed to resume link (SStatus 0 SControl 0) |
44 |
> |
45 |
> (Now, my new Gentoo system partition is on /dev/sdb2.) |
46 |
> |
47 |
> Shall I try to do something to fix it before reinstalling Gentoo anew? |
48 |
> |
49 |
> For example, I thought of booting with a live Gentoo flash drive, |
50 |
> chrooting into the new system partition and recompiling @system. |
51 |
> However, if it is not some package that is corrupted, it may be a waste of time. |
52 |
> Or, maybe, @system may be narrowed to just a few packages needed at boot time? |
53 |
> Shall I try to recreate initramfs, what in my case means re-emerging |
54 |
> gentoo-kernel package? |
55 |
> What do you think? |
56 |
> |
57 |
> P.S. Nevertheless, I still can successfully boot my very old legacy |
58 |
> system from another partition of my IDE drive. |
59 |
> |
60 |
> |