You are not logged in.
I have been trying to install a new hard drive into my system, but when I have it plugged in, arch boots into emergency mode (it boots fine if I unplug it again). It goes through GRUB fine.
Ithink the device names are being reassigned, as I ran an fdisk -l before and after. Without the new hard drive, fdisk shows device /dev/sda1 to be my 1TB hdd, and various partitions of /dev/sdb - archlinux is installed here; /dev/sdb3 is my /boot, /dev/sdb5 is my root and /dev/sdb6 is /home.
However, when I plug in the new drive and run fdisk, /dev/sda1 is reassigned to /dev/sdb1, /dev/sdb moves to /dev/sdc and the new drive becomes /dev/sda1. I assume this is causing problems with booting from the correct device. So I guess I can fix this by either stopping the device names changing, or by pointing GRUB to /dev/sdc3 instead of /dev/sdb3. I guess the first option is cleaner, but I don't really know where to start with that, or if it would screw up the rest of my system.
Can anyone give any guidance?
Thanks!
Offline
You could use the blkid method then the id stays the same whether /dev/sda1 or /dev/sdb1
Run blkid as root to obtain to ID of the correct disk you want and then edit your grub.cfg and fstab files as necessary.
Offline
Awesome, that worked like a charm. Thanks for the quick help!
Offline
Please mark the thread [solved].
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline