You are not logged in.
Hi,
I just reinstalled a windows partition, and I wasn't exactly sure the best-practice way to reinstall grub. I booted into arch and used cfdisk to delete the windows partition (I use MBR). Then, I installed windows on that partition, and it overwrote the bootloader as expected. To try to reinstall grub, I followed some steps from the beginner's guide. I booted into a live arch usb, and executed
mnt <arch-partition> /mnt/arch_mnt
arch-chroot /mnt/arch_mnt
grub-install --recheck /dev/sda
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
grub-mkconfig -o /boot/grub/grub.cfgAnd after this, I rebooted successfully into grub. However, when I selected my arch partition, I got
/dev/sda4: clean, 410855/11583488 files, 13668977/46319622 blocks
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" to try again
to boot into default mode.
Give root password for maintenance
(or type Control-D to continue):The output of journalctl -xb was http://pastebin.com/Xraijhk7
Thoughts?
Last edited by muon (2013-04-20 01:34:18)
Offline
This is embarrassing...
After a bit of searching, I found https://bbs.archlinux.org/viewtopic.php?id=151847 and realized that the problem was being caused by my fstab in which I had set a windows partition to mount on boot via UUID. I commented that out and am booting into my arch install fine now. Marking as solved.
Offline
@Muon,
Thanks for this, I was having the same problem too.
I used ntfs-3g to mount my windows partition so I can access it in arch. It worked for a while, but after using Win8 for awhile, I booted into the emergency mode. Commenting out that line in the fstab solved it.
Do you know of a solution of mounting the windows partition during boot, that would NOT result in booting into emergency mode? It sucks to have to mount it manually everytime.
Offline
I think I know what's going on now.
My windows went to hybernation. But on the next boot up, I went directly into linux. And since you can't mount a windows partition that shut-down in hybernation, it throws this error.
The easy way is to simply not hybernate windows.
Offline
Very nice. Glad it helped. I didn't know that about the hibernation actually. Good to know.
Offline