-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Robert Millan wrote: > On Wed, May 14, 2008 at 08:06:50PM +0200, Moritz Naumann wrote: >> Package: grub >> Version: 0.97-38 >> Severity: normal >> >> When running update-grub, I have this output: >> >> # update-grub >> Searching for GRUB installation directory ... found: /boot/grub >> grub-probe: error: /boot/grub/device.map:2: Duplicated entry found > > Please add a "set -x" to update-grub and determine the exact command that is > causing this. >
Instead of this, I invoked it prefixed by 'bash -x' (I assume this will provide the sme output - feel free to ask again if it doesn't): ~# bash -x /usr/sbin/update-grub + set -e ++ uname -s ++ tr '[A-Z]' '[a-z]' + host_os=linux ++ find_grub_dir ++ echo -n 'Searching for GRUB installation directory ... ' Searching for GRUB installation directory ... ++ for d in /boot/grub /boot/boot/grub ++ '[' -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 + device_map=/boot/grub/device.map + menu_file_basename=menu.lst + menu_file=/boot/grub/menu.lst + default_file_basename=default + default_file=/boot/grub/default ++ find_device / ++ test -e /boot/grub/device.map ++ grub-probe --device-map=/boot/grub/device.map -t device / + root_device=/dev/md2 ++ find_device /boot ++ test -e /boot/grub/device.map ++ grub-probe --device-map=/boot/grub/device.map -t device /boot + boot_device=/dev/md0 ++ make_system_path_relative_to_its_root /boot ++ path=/boot ++ test -e /boot ++ : +++ readlink -f /boot ++ path=/boot ++ : ++ test -d /boot ++ dir=/boot +++ stat -c %d /boot ++ num=2304 ++ : +++ readlink -f /boot/.. ++ parent=/ +++ stat -c %d / ++ '[' x2306 = x2304 ']' ++ break ++ echo /boot ++ sed -e 's,^/boot,/,g' -e s,//,/,g + kernel_dir=/ + kopt='root=/dev/md2 ro' ++ uname -s ++ sed -e s,GNU/,,g + title='Debian GNU/Linux' + updatedefaultentry=false ++ convert_default /dev/md0 +++ convert_raid1 /dev/md0 ++ tmp_dev=/dev/dm-5 ++ : ++ convert /dev/dm-5 ++ test -e /boot/grub/device.map ++ GRUB_LEGACY_0_BASED_PARTITIONS=1 ++ grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/dm-5 grub-probe: error: /boot/grub/device.map:2: Duplicated entry found + grub_root_device= ~# grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/dm-5 grub-probe: error: /boot/grub/device.map:2: Duplicated entry found ~# -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFILiMIn6GkvSd/BgwRCjbIAJ4ja+hFKpZ6LpiHzeX7ceQOkeVAwgCfa1DX twrceJllwmYhLzOPA4oPMG4= =0JlL -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]