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: 38

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: 5,662

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

Please mark the thread [solved].


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB