[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"error: found two disks with number 1" - Grub refuses to update
From: |
Linus Lüssing |
Subject: |
"error: found two disks with number 1" - Grub refuses to update |
Date: |
Fri, 10 Jun 2011 21:15:52 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi everyone,
I tried to update my Debian squeeze system today, but
unfortunately it failed for the grub-updating part. I'm not quite
sure if it's the right place to report it here or if I should send
a bugreport to the Debian folks, but there was this
address@hidden mail address in the output, so I'm going to try
to get some feedback here first :).
The harddisk setup shouldn't be that complicated here, it's just a
RAID1 with a luks container with a LVM which has a single PV, the lukes
container, which has single VG which has three LVs:
-----
$ sudo lvm pvs
PV VG Fmt Attr PSize PFree
/dev/dm-0 raid-lvm lvm2 a- 464,82g 0
$ sudo lvm vgs
VG #PV #LV #SN Attr VSize VFree
raid-lvm 1 3 0 wz--n- 464,82g 0
$ sudo lvm lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
root raid-lvm -wi-ao 451,69g
swap raid-lvm -wi-ao 4,75g
tmp raid-lvm -wi-ao 8,38g
-----
Now aptitude refuses to update grub-pc and the linux-image as grub
fails to update itself on /dev/sda and /dev/sdb:
-----
$ sudo aptitude full-upgrade
Die folgenden teilweise installierten Pakete werden konfiguriert:
grub-pc linux-image-2.6-686 linux-image-2.6.32-5-686
Es werden keine Pakete installiert, aktualisiert oder entfernt.
0 Pakete aktualisiert, 0 zusätzlich installiert, 0 werden entfernt und 0 nicht
aktualisiert.
Muss 0 B an Archiven herunterladen. Nach dem Entpacken werden 0 B zusätzlich
belegt sein.
linux-image-2.6.32-5-686 (2.6.32-34squeeze1) wird eingerichtet ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
r8169
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686
/boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686
/boot/vmlinuz-2.6.32-5-686
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799.
dpkg: Fehler beim Bearbeiten von linux-image-2.6.32-5-686 (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
grub-pc (1.98+20100804-14) wird eingerichtet ...
configured to not write apport reports
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
dpkg: Fehler beim Bearbeiten von grub-pc (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-2.6-686:
linux-image-2.6-686 hängt ab von linux-image-2.6.32-5-686; aber:
Paket linux-image-2.6.32-5-686 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-image-2.6-686 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
configured to not write apport reports
configured to not write apport reports
Fehler traten auf beim Bearbeiten von:
linux-image-2.6.32-5-686
grub-pc
linux-image-2.6-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ein Paket konnte nicht installiert werden. Versuche zu lösen:
linux-image-2.6.32-5-686 (2.6.32-34squeeze1) wird eingerichtet ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module
r8169
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686
/boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686
/boot/vmlinuz-2.6.32-5-686
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799.
dpkg: Fehler beim Bearbeiten von linux-image-2.6.32-5-686 (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-2.6-686:
linux-image-2.6-686 hängt ab von linux-image-2.6.32-5-686; aber:
Paket linux-image-2.6.32-5-686 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von linux-image-2.6-686 (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
grub-pc (1.98+20100804-14) wird eingerichtet ...
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
Generating grub.cfg ...
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
error: found two disks with the number 1.
error: superfluous RAID member (2 found).
/usr/sbin/grub-probe: error: unknown filesystem.
dpkg: Fehler beim Bearbeiten von grub-pc (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
linux-image-2.6.32-5-686
linux-image-2.6-686
grub-pc
$ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v
/boot/grub
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to snd.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to raid-lvm.
/usr/sbin/grub-probe: info: changing current directory to mapper.
/usr/sbin/grub-probe: info: opening md1.
/usr/sbin/grub-probe: error: no such disk.
$ uname -a
Linux Sellars 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux
$ cat /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV93352254
(hd1) /dev/disk/by-id/ata-WDC_WD5000AADS-00S9B0_WD-WCAV93393536
$ ls -lah /dev/sd*
brw-rw---- 1 root disk 8, 0 14. Nov 2010 /dev/sda
brw-rw---- 1 root disk 8, 1 5. Aug 2010 /dev/sda1
brw-rw---- 1 root disk 8, 2 5. Aug 2010 /dev/sda2
brw-rw---- 1 root disk 8, 16 14. Nov 2010 /dev/sdb
brw-rw---- 1 root disk 8, 17 5. Aug 2010 /dev/sdb1
brw-rw---- 1 root disk 8, 18 5. Aug 2010 /dev/sdb2
$ aptitude show grub-pc
Paket: grub-pc
Zustand: teilweise konfiguriert (partially configured)
Automatisch installiert: nein
Version: 1.98+20100804-14
[...]
-----
Any ideas what might be going wrong? I don't dare to reboot the
machine at the moment.
Cheers, Linus
- "error: found two disks with number 1" - Grub refuses to update,
Linus Lüssing <=