You are not logged in.
Hi,
I updated system yesterday with
# pacman -Syyu
The update was successful without any error.
But now I randomly get error while booting and booting halts
The error is related to wrong recognition of harddisks internal and external.
Previously it used to recognize internal harddisk as sda and external harddisk as sdb.
But now it randomly recognize internal harddisk as sda or sdb and external harddisk as sdb or sda.
If it recognize internal harddisk as sda and external harddisk as sdb, system boots without any problem.
But if opposite happens ( internal haddisk as sdb and external harddisk as sda)
I get following errors after running journalctl -xb
dev-sda11.device:Job dev-sda11.device/start time out
Time out waiting for device /dev/sda11
Dependency failed for /home
Dependency failed for Local File Systems.
Dependency failed for File System Check on /dev/sda11
I get similiar errors for /dev/sda12
Dependency failed for swap
Dependency failed for /boot
Timed out waiting for /dev/sda8.
I tried rebooting several times, randomly it assigns sda to internal hdd and sdb to external hdd or sdb to internal and sda to external.
If it boots with sda to internal hdd and sdb to external hdd, everything works ok.
Last edited by cb9 (2021-01-13 13:23:01)
Offline
You should probably fix your /etc/fstab file.
https://wiki.archlinux.org/index.php/Pe … ng#by-uuid
https://wiki.archlinux.org/index.php/Fstab
Offline
And tangential but stop using -Syyu, the command is -Syu the second y has very few specific cases where it might be necessary but you'd know if you were in such a case and you will avoid potential partial upgrade issues by just using one
Online
And tangential but stop using -Syyu, the command is -Syu the second y has very few specific cases where it might be necessary but you'd know if you were in such a case and you will avoid potential partial upgrade issues by just using one
Thank you.
Offline
You should probably fix your /etc/fstab file.
https://wiki.archlinux.org/index.php/Pe … ng#by-uuid
https://wiki.archlinux.org/index.php/Fstab
Thank you,
I regenerated /etc/fstab using
#genfstab -U -p / > /etc/fstab
Now system boots without problem.
But it still randomly refers internal harddisk sda or sdb and external harddisk sdb or sda.
While booting sometimes I get
Starting version 247.2-1-arch
/dev/sda10 clean ...
and other times I get
Starting version 247.2-1-arch
/dev/sdb10 clean ...
Just wanted to know is it okay to have random reference sda/sdb to internal hdd and sdb/sda to external hdd?
Offline
Yes the randomness is normal which is why it's recommended to use UUIDs in files that need to properly identify a disk/partition.
This depends on udev detection which happens in parallel and is non-deterministic.
To fix this for the initramfs phase, now that your fstab is correct just rerun a mkinitcpio -P
Last edited by V1del (2021-01-13 13:41:10)
Online
Yes the randomness is normal which is why it's recommended to use UUIDs in files that need to properly identify a disk/partition.
This depends on udev detection which happens in parallel and is non-deterministic.
To fix this for the initramfs phase, now that your fstab is correct just rerun a mkinitcpio -P
Thank you.
Offline