3rd March 2017, 16:03
I've now carefully re-read your links, + done more of my own research. Conceptually chroot still scares me a bit, but it seems a little less incomprehensible now.
This Wikipedia extract was encouraging:
Possible Procedure for me ??? TBC:
<<< for my Tower, boot is /sda1, & root is /sda5; per sudo fdisk -l >>>
Move into the mounted filesystem:
Do my "dirty work":
"At this point, you can perform whatever troubleshooting you need to do:
-- resintall GRUB to your disk's MBR
-- reset a forgotten password
-- perform a kernel upgrade (or downgrade)
-- rebuild your initramdisk
-- fix your /etc/fstab
-- reinstall packages using your package manager
-- whatever"
--> So, WHAT EXACTLY should i do here; maybe do the installation of the xserver-xorg-video-intel package, again? Other stuff?
Exit the chroot:
Unmount all the partitions i mounted:
Unmount my SSD:
Finally:
This Wikipedia extract was encouraging:
Quote:Recovery
Should a system be rendered unbootable, a chroot can be used to move back into the damaged environment after bootstrapping from an alternate root file system (such as from installation media, or a Live CD).
Possible Procedure for me ??? TBC:
<<< for my Tower, boot is /sda1, & root is /sda5; per sudo fdisk -l >>>
Code:
cd /
sudo mount -t ext4 /dev/sda1 /mnt # Or should it be "extended" not "ext4"?
sudo mount -t ext4 /dev/sda5 /mnt
sudo mount -t proc proc /mnt/proc
sudo mount -t sysfs sys /mnt/sys
sudo mount -o bind /dev /mnt/dev
Move into the mounted filesystem:
Code:
sudo chroot /mnt /bin/bash
Do my "dirty work":
"At this point, you can perform whatever troubleshooting you need to do:
-- resintall GRUB to your disk's MBR
-- reset a forgotten password
-- perform a kernel upgrade (or downgrade)
-- rebuild your initramdisk
-- fix your /etc/fstab
-- reinstall packages using your package manager
-- whatever"
--> So, WHAT EXACTLY should i do here; maybe do the installation of the xserver-xorg-video-intel package, again? Other stuff?
Exit the chroot:
Code:
exit
Unmount all the partitions i mounted:
Code:
sudo umount /mnt/boot
sudo umount /mnt/{proc,sys,dev}
Unmount my SSD:
Code:
sudo umount /mnt
Finally:
Code:
reboot