Bug#501306: update-grub fails with raid1 boot partition

Dan Poltawski dan.poltawski at lancaster.ac.uk
Thu Oct 9 20:28:56 UTC 2008


On Thu, Oct 09, 2008 at 09:27:51PM +0200, Jeroen Dekkers wrote:
> It might be possible that the names sda to sdd were used for something
> that wasn't an hard disk during the install (a card reader with 4
> different slots might be a good candidate). Then your system would
> still boot properly with your old device.map because grub detected
> that sde was the first hard disk, but then you wouldn't be able to
> run update-grub because your first hard disk is sda now. Could you
> check this in the installation log or by running the debian installer
> again to the point where it detects all the disks?

You are exactly right! The machine has a 4 slot card reader (as do my
collegues who experienced the exact same problem. Looking at the installer
log this is exactly what happened.

Attached is the relevant part of /var/log/installer/syslog

Dan
-------------- next part --------------
Oct  3 16:43:24 kernel: sd 6:0:0:0: [sda] Attached SCSI removable disk
Oct  3 16:43:24 kernel: sd 6:0:0:1: [sdb] Attached SCSI removable disk
Oct  3 16:43:24 kernel: sd 6:0:0:2: [sdc] Attached SCSI removable disk
Oct  3 16:43:24 kernel: sd 6:0:0:3: [sdd] Attached SCSI removable disk
Oct  3 16:43:24 kernel: ata3.00: configured for UDMA/100
Oct  3 16:43:24 kernel: ata4: SATA link down (SStatus 4 SControl 300)
Oct  3 16:43:24 kernel: ata5: SATA link down (SStatus 0 SControl 0)
Oct  3 16:43:24 kernel: ata6: SATA link down (SStatus 4 SControl 300)
Oct  3 16:43:24 kernel: scsi 0:0:0:0: Direct-Access     ATA      ST3250310AS      4.AD PQ: 0 ANSI: 5
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] 488281250 512-byte hardware sectors (250000 MB)
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Write Protect is off
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Mode Sense: 00 3a 00 00
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] 488281250 512-byte hardware sectors (250000 MB)
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Write Protect is off
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Mode Sense: 00 3a 00 00
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  3 16:43:24 kernel:  sde: sde1 sde2 sde3
Oct  3 16:43:24 kernel: sd 0:0:0:0: [sde] Attached SCSI disk
Oct  3 16:43:24 kernel: scsi 1:0:0:0: Direct-Access     ATA      ST3250310AS      4.AD PQ: 0 ANSI: 5
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] 488281250 512-byte hardware sectors (250000 MB)
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Write Protect is off
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Mode Sense: 00 3a 00 00
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] 488281250 512-byte hardware sectors (250000 MB)
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Write Protect is off
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Mode Sense: 00 3a 00 00
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  3 16:43:24 kernel:  sdf: sdf1
Oct  3 16:43:24 kernel: sd 1:0:0:0: [sdf] Attached SCSI disk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20081009/8d64dd56/attachment.pgp 


More information about the Pkg-grub-devel mailing list