GRUB problem after upgrading to 10.04

Tom H tomh0665 at gmail.com
Fri Apr 30 18:25:15 UTC 2010


On Fri, Apr 30, 2010 at 1:26 PM, Mark Ziranski <Wal3 at gmx.net> wrote:
>
> today I have upgraded from 9.10 to 10.04. At the end of the upgrade process GRUB-pc has been installed. I chosed /dev/sdb1 as device and my pc does not boot up anymore.
>
> It says:
>
> GRUB loading.
> error: the symbol 'grub_puts_' not found
>> ls
> (hd0) (hd0,6) (hd0,5) (hd0,3) (hd0,1) (hd1) (hd1,3) (hd1,2) (hd1,1)
>
> My computer has 2 hdds. On sda is windows 7 installed and on sdb ubuntu. I don't want sda in GRUB, I choose the hdd when I boot the pc. My / partition is encrypted, /boot is a seperate partition.
>
> root at ubuntu:~# fdisk -l
>
> Platte /dev/sda: 500.1 GByte, 500107862016 Byte
> 255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
> Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
> Disk identifier: 0x1549f232
>
>   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
> /dev/sda1   *           1          13      102400    7  HPFS/NTFS
> Partition 1 endet nicht an einer Zylindergrenze.
> /dev/sda2              13       59219   475572224    7  HPFS/NTFS
> /dev/sda3           59219       60802    12709888    7  HPFS/NTFS
>
> Platte /dev/sdb: 500.1 GByte, 500107862016 Byte
> 255 Köpfe, 63 Sektoren/Spuren, 60801 Zylinder
> Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
> Disk identifier: 0x0007f3f6
>
>   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
> /dev/sdb1   *           1          24      192748+  83  Linux
> /dev/sdb2              25       48655   390628507+   5  Erweiterte
> /dev/sdb3           48656       60800    97554712+   7  HPFS/NTFS
> /dev/sdb5              87       48655   390130461   83  Linux
> /dev/sdb6              25          86      497952   83  Linux
>
> Partitionstabelleneinträge sind nicht in Platten-Reihenfolge
>
> Platte /dev/sdc: 508 MByte, 508821504 Byte
> 17 Köpfe, 32 Sektoren/Spuren, 1826 Zylinder
> Einheiten = Zylinder von 544 × 512 = 278528 Bytes
> Disk identifier: 0x6d1b9103
>
>   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
> /dev/sdc1   *           1        1827      496864+   6  FAT16
>
>
> root at ubuntu:/# blkid
> /dev/loop0: TYPE="squashfs"
> /dev/sda1: LABEL="SYSTEM" UUID="D658AED058AEAEA5" TYPE="ntfs"
> /dev/sda2: LABEL="COMPAQ" UUID="F6B054EDB054B5B9" TYPE="ntfs"
> /dev/sda3: LABEL="FACTORY_IMAGE" UUID="1E28AA6F28AA459D" TYPE="ntfs"
> /dev/sdb1: UUID="8d3e648a-983d-4d69-aa3c-83798ec4683f" TYPE="ext3"
> /dev/sdb3: UUID="309896A798966ADC" TYPE="ntfs"
> /dev/sdb5: UUID="8dc30fea-2893-414f-a42c-3de06e2c8a95" TYPE="crypto_LUKS"
> /dev/sdc1: SEC_TYPE="msdos" UUID="4870-FD6B" TYPE="vfat"
> /dev/mapper/devkit-disks-luks-uuid-8dc30fea-2893-414f-a42c-3de06e2c8a95-uid999: UUID="c5146798-cb83-4317-87f2-ea9107479329" TYPE="ext3"
>
> 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.

You are mounting /dev/mapper/devkit-... on top of /boot.

You should mount /mnt/boot second.

You might want to bind-mount /sys too.




More information about the ubuntu-users mailing list