Re: Reboot and all I get is a grub prompt.
On Mon, Dec 5, 2011 at 10:06 AM, Brian <email@example.com> wrote:
> On Mon 05 Dec 2011 at 08:44:51 -0600, Harry Putnam wrote:
>> When I run update-grub, it appears to be working but ends with
>> something akin to an error:
>> root # update-grub
>> Generating grub.cfg ...
>> Found background image:
>> Found linux image: /boot/vmlinuz-3.0.0-1-686-pae
>> Found initrd image: /boot/initrd.img-3.0.0-1-686-pae
>> Cannot find list of partitions! (Try mounting /sys.)
>> So its not clear if it has finished properly or what.
> OSs on other partitions will not be found.
>> Apparently /sys is not populated in a chroot, or there is something I
>> needed to run before chroot.
> mount -o bind /sys <mount_point>/sys
I only bind-mount "/dev"; for "/sys", I run:
mount -t sysfs sysfs /path_to_mountpoint/sys