If you happen to know the partition that your operating system is on, and the boot partition, you can boot into your kernel from this shell.
On my system, I have this layout:
/dev/sda1 > /boot
/dev/sda2 > /home
/dev/sda3 > / (ext4)
/dev/sda4 > / (ext4)
From this rootfs shell, I executed the following commands and booted into the desired kernel on sda4.
# mkdir /boot
# mount -t /dev/sda4 /new_root
# cd /new_root
# exec init
This had me boot into my fresh install of arch that I had installed from another partition. Now I can fix grub!
No comments:
Post a Comment