One of the common problems after boot from a cdrom is accessing the devices or processes that runs from the cd but inside the jail of the chroot. You can bind some already mounted system folders like /dev, inside our root partition.
Here’s what I usually do:
- Boot up from a rescue cd
- Mount root partition to /mnt and boot partition into /mnt/boot.
- mount –bind /proc /mnt/proc
- mount –bind /sys /mnt/sys
- mount –bind /dev /mnt/dev
- chroot /mnt (you just went live on the system)
Now you have direct access to the devices under /dev, process from /proc and system devices inside the disk / partition, usefull for example to reinstall a lost grub MBR information
# grub-install /dev/<root device>
When finish with what you were doing after chroot, run
# exit # reboot