You are not logged in.

#1 2024-11-23 12:32:44

ottoskorceny
Banned
Registered: 2024-11-23
Posts: 1

IO error when upgrading system in external disk

Hi gentlemen

When I upgraded my system on an external disk, as I usually do, I received an I/O error, and now my system is unusable. I have other systems with Arch, so I can move folders from my other systems to the unusable system if necessary as a solution.

I also tried to chroot from the Arch ISO. The problem occurred when upgrading the entire system from my custom repository. There were about 200 upgrades, and they failed. The disk is from my deceased laptop's SSD.

I cannot start this system, but I can provide you with the content of a file.

The partition table is the same as my current system, but it is also encrypted with LUKS:

NAME            FSTYPE      FSVER    LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINTS
sr0
vda
├─vda1
├─vda2          ext4        1.0            d5cccdee-d589-41c5-ab91-7f4f3c02ddde      750M    16% /boot
└─vda3          LVM2_member LVM2 001       5r0ZLn-7DbL-4idm-2JRs-e48w-N433-paoDlu
  ├─vg1-swap    swap        1              f0d4ba61-4710-4c7f-9249-236718b56263                  [SWAP]
  ├─vg1-root    ext4        1.0            c2d9aa0c-ecd6-489d-8dfe-02b3e75a16ce      8.2G    42% /
  ├─vg1-tmp     ext4        1.0            e82d9342-6be8-492e-8aa3-3cbdaeb5a463      1.8G     0% /tmp
  ├─vg1-var     ext4        1.0            26e1f21e-d702-4257-9a3c-e1ea5097b874      5.7G    21% /var
  ├─vg1-var_tmp ext4        1.0            1ef97fc9-35cf-45d6-8a09-ef18d7f9baf2      1.8G     0% /var/tmp
  ├─vg1-log     ext4        1.0            de795050-54af-4ba2-afcc-f8cec41194ea      3.5G     4% /var/log
  └─vg1-home    ext4        1.0            60af1a1e-3488-4fb6-91fb-96c11a9b8fb6     72.5G    13% /home

Thank you

Offline

#2 2024-11-23 19:20:36

seth
Member
Registered: 2012-09-03
Posts: 59,228

Re: IO error when upgrading system in external disk

I also tried to chroot from the Arch ISO.

And does that work?
If yes, what's the output of

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup

You can redirect that into a file and upload that

cat /path/to/file | curl -F 'file=@-' 0x0.st

Offline

#3 2024-11-23 20:45:22

richardwagner
Member
Registered: 2024-11-23
Posts: 2

Re: IO error when upgrading system in external disk

Hi
Im ottoskorceny, i lost my account password.

I solved the problem reinstalling all packages again: https://wiki.archlinux.org/title/Pacman … an_upgrade

Thank you sir

Offline

#4 2024-11-23 20:50:07

richardwagner
Member
Registered: 2024-11-23
Posts: 2

Re: IO error when upgrading system in external disk

First i download required packages to run pacman:

pacman --root /mnt -S packages

And i reinstall all packages  inside arch-chroot, how i was using my own repo offline its very fast

pacman -Qqn | pacman -S - --overwrite "*"

Offline

#5 2024-11-24 01:20:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,239

Re: IO error when upgrading system in external disk

richardwagner wrote:

Hi
Im ottoskorceny, i lost my account password.

Next time, contact a moderator or admin and ask for help.  It is against our policy to permit more than one account.
I see enough similarities is how you connect and in the emails used that I believe you are who you say you are.
Banning the abandoned account.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2024-11-24 18:59:16

seth
Member
Registered: 2012-09-03
Posts: 59,228

Re: IO error when upgrading system in external disk

I solved the problem reinstalling all package

\o/
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.

pacman -Qqn | pacman -S - --overwrite "*"

Please don't do that.
https://wiki.archlinux.org/title/System … n_commands
You'll run into file conflicts for broken or missing mtrees and you can fix that by re-installing only the package database first (--dbonly) before reinstalling the actual package.

Offline

Board footer

Powered by FluxBB