GRUB problem after upgrading to 10.04
J
dreadpiratejeff at gmail.com
Fri Apr 30 17:58:35 UTC 2010
On Fri, Apr 30, 2010 at 13:26, Mark Ziranski <Wal3 at gmx.net> wrote:
> Now I booted from 9.10 LiveCD to recover GRUB.
>
> # mount /dev/sdb1 /mnt/boot
> # mount /dev/mapper/devkit-disks-luks-uuid-8dc30fea-2893-414f-a42c-3de06e2c8a95-uid999 /mnt/
> # mount -t proc none /mnt/proc
> # mount -o bind /dev /mnt/dev
> # chroot /mnt /bin/bash
> # grub-install /dev/sdb1
> /usr/sbin/grub-probe: error: no mapping exists for `devkit-disks-luks-uuid-8dc30fea-2893-414f-a42c-3de06e2c8a95-uid999'.
> Auto-detection of a filesystem module failed.
> Please specify the module with the option `--modules' explicitly.
> # grub-install /dev/sdb
> /usr/sbin/grub-probe: error: no mapping exists for `devkit-disks-luks-uuid-8dc30fea-2893-414f-a42c-3de06e2c8a95-uid999'.
> Auto-detection of a filesystem module failed.
> Please specify the module with the option `--modules' explicitly.
>
> There's also no device.map anymore.
>
> Please help me.
Did you do all this manually? Because this doesn't work...
First you mount /dev/sdb1 to /mnt/boot but then you mount your
encrypted / filesystem to /mnt... this effectively makes the first
mount inaccessible...
Here's a demonstration using a usb stick and my windows partition...
root at klaatu:/home/bladernr# mkdir /mnt/windows
root at klaatu:/home/bladernr# mount /dev/sda1 /mnt/windows/
root at klaatu:/home/bladernr# mount /dev/sdb1 /mnt/
root at klaatu:/home/bladernr# ls /mnt/
README.diskdefines
autorun.inf install
casper ldlinux.sys
casper-rw md5sum.txt syslinux
cdromupgrade pics wubi.exe
Diablo_swing_orchestra.tar.gz pool
dists preseed
root at klaatu:/home/bladernr# ls /mnt/windows
ls: cannot access /mnt/windows: No such file or directory
First I mount my Win7 parition to /mnt/windows
then I mount the usb key to /mnt.
This is identical to what you did by mounting sdb1 to /mnt/boot then
mounting sdb5 to /mnt/
That's why you aren't seeing the device.map file (or grub-install
isn't seeing it at least).
So mount your root FS first, THEN mount all the other stuff afterwards.
Cheers
Jeff
More information about the ubuntu-users
mailing list