You are not logged in.

#1 2013-02-16 11:06:19

Raiden616
Member
Registered: 2012-11-13
Posts: 28

Installed new hard drive - now booting into emergency mode

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

#2 2013-02-16 11:28:38

NoSavvy
Member
From: Dorchester, Dorset, UK
Registered: 2013-01-23
Posts: 97

Re: Installed new hard drive - now booting into emergency mode

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

#3 2013-02-16 14:49:42

Raiden616
Member
Registered: 2012-11-13
Posts: 28

Re: Installed new hard drive - now booting into emergency mode

Awesome, that worked like a charm. Thanks for the quick help!

Offline

#4 2013-02-16 23:37:10

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Installed new hard drive - now booting into emergency mode

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

Board footer

Powered by FluxBB