Bug#352207: grub-update does not work since update to 0.97-3

Kristian Edlund edlund at groenstue.dk
Sun Feb 12 18:22:25 UTC 2006


Hi again

It doesn't fail on my machine, so either it is caused by the amd64
architecture or the raid device.

It seems to fail around the command readlink -f /dev/sda1
Can you send the output of

readlink -f /dev/sda1
and
readlink -f /dev/sda1 ; echo $?

Kristian

On 2/12/06, Didrik Pinte <dpinte at itae.be> wrote:
> Le samedi 11 février 2006 à 10:19 +0100, Kristian Edlund a écrit :
> > Can you reproduce the error when you run update-grub with "sh update-grub"?
> >
> > Can you send supply your menu.lst file, and try to run update-grub
> > with "sh -x update-grub " and send the output of that file as well.
> >
> > Kristian
>
> The output of "sh -x /sbin/update-grub" is the following (showing no
> errors) :
>
> ------------------------------------------------------------------
> serveurmeteo:/home/did# sh -x /sbin/update-grub
> + set -e
> + grub_dirs='/boot/grub /boot/boot/grub'
> ++ find_grub_dir
> ++ echo -n 'Searching for GRUB installation directory ... '
> Searching for GRUB installation directory ... ++ for d in '$grub_dirs'
> ++ '[' -d /boot/grub ']'
> ++ grub_dir=/boot/grub
> ++ break
> ++ '[' -z /boot/grub ']'
> ++ echo 'found: /boot/grub'
> found: /boot/grub
> ++ echo /boot/grub
> + grub_dir=/boot/grub
> + menu_file=/boot/grub/menu.lst
> ++ find_root_device
> +++ find_device /
> +++ mount_point=/
> +++ device=
> +++ '[' -f /etc/fstab ']'
> +++ read DEV MNT FOO
> ++++ grep -q '^#'
> ++++ echo '#'
> +++ continue
> +++ read DEV MNT FOO
> ++++ echo '#'
> ++++ grep -q '^#'
> +++ continue
> +++ read DEV MNT FOO
> ++++ echo '#'
> ++++ grep -q '^#'
> +++ continue
> +++ read DEV MNT FOO
> ++++ echo proc
> ++++ grep -q '^#'
> +++ '[' /proc = / ']'
> +++ read DEV MNT FOO
> ++++ echo /dev/sda1
> ++++ grep -q '^#'
> +++ '[' / = / ']'
> +++ device=/dev/sda1
> +++ read DEV MNT FOO
> ++++ echo /dev/sda5
> ++++ grep -q '^#'
> +++ '[' none = / ']'
> +++ read DEV MNT FOO
> ++++ echo /dev/hda
> ++++ grep -q '^#'
> +++ '[' /media/cdrom0 = / ']'
> +++ read DEV MNT FOO
> ++++ echo /dev/fd0
> ++++ grep -q '^#'
> +++ '[' /media/floppy0 = / ']'
> +++ read DEV MNT FOO
> ++++ echo ''
> ++++ grep -q '^#'
> +++ '[' '' = / ']'
> +++ read DEV MNT FOO
> +++ '[' -n /dev/sda1 ']'
> +++ case "$device" in
> ++++ readlink -f /dev/sda1
> +++ device=
> ++ device=
> + root_device=
> ------------------------------------------------------------------
> It seems it did not find any root_device ...
>
> I've attached the menu.lst file to the mail
>
>
> Didrik
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQBD7ySo9Rlh4Zs4yBMRAnoNAKCkEVrOfB5aGERYiLarBlPxjSOQawCfaO/s
> toYG31UKDRjYhsLEoLsD8os=
> =R0nC
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>
>
>




More information about the Pkg-grub-devel mailing list