You are not logged in.
Pages: 1
I was in the process of attempting to install Arch on another drive on my pc, testing out how it would work so I can could migrate files later, and ran through the steps of generating an fstab and chrooting in to begin configuring the new drive. When I attempted to restart into the new install grub gave me an error stating it couldn't find the UUID of the drive and was dropping into an emergency shell. I was unable to use my keyboard in emergency shell and hopped into my arch usb. After chrooting into my old installation of arch I was going to attempt to update grub to fix the problem, but ran lsblk and fdisk prior. I received the following errors.
lsblk
lsblk:failed to access sysfs directory: /sys/dev/block: No such file or directory
fdisk:
cannot open /proc/partitions: No such file or directory
After chrooting into the new installation and running lsblk and fdisk I am not getting the same errors, it shows the drive and partition information. How can I revert this back so I can load back into my old installation?
EDIT: I checked the fstab on my old drive and it doesn't look like it was modified.
Last edited by barefly (2017-07-03 02:41:09)
Offline
Did you use arch-chroot command from arch-install-scripts or just the regular chroot command?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I used chroot.
EDIT: I'm thinking of formatting the drive I was testing on and installing arch again on the old drive, since all my files are still fine.
Last edited by barefly (2017-06-30 01:55:00)
Offline
Offline
In the context of doing this from a liveusb, how do I go about doing this? Do I mount both drives and reference them from their mount points? Do I need to be chrooted into the new drive since that would have been the the proc, sys, and dev info migrated to? Or can I mount both these within liveusb and run the commands from there?
EDIT: This may not work as intended because even when chrooted into the new install and I run
mount -t proc proc/
I get...
mount: can't find proc in /etc/fstab
Last edited by barefly (2017-06-30 02:11:05)
Offline
You're making this too complicated You either need to use arch-chroot, which mounts the pseudo-filesystems for you, or you need to do it manually like the wiki says. Notice that proc, sys, and dev aren't real filesystems, but in-memory access to kernel or system functions.
Offline
You're making this too complicated You either need to use arch-chroot, which mounts the pseudo-filesystems for you, or you need to do it manually like the wiki says. Notice that proc, sys, and dev aren't real filesystems, but in-memory access to kernel or system functions.
I ran the commands for chroot in the wiki and after restart it dropped me back into emergency shell.
EDIT: God I'm an idiot. Ran mkinitcpio -p linux and I'm back up. Thanks for your patience folks.
Last edited by barefly (2017-06-30 02:49:20)
Offline
Remember to mark your thread as solved.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1