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

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


On Thu, Oct 09, 2008 at 09:28:56PM +0100, Dan Poltawski wrote:
> 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

And here is dmesg output of currently running system (they have indeed 
swapped since the installer):

[   13.029040] scsi 6:0:0:0: Direct-Access     TEAC     USB   HS-CF Card
4.08 PQ: 0 ANSI: 0
[   13.030753] scsi 6:0:0:1: Direct-Access     TEAC     USB   HS-xD/SM
4.08 PQ: 0 ANSI: 0
[   13.039924] scsi 6:0:0:2: Direct-Access     TEAC     USB   HS-MS Card
4.08 PQ: 0 ANSI: 0
[   13.042754] scsi 6:0:0:3: Direct-Access     TEAC     USB   HS-SD Card
4.08 PQ: 0 ANSI: 0
[   13.048067] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[   13.048131] sd 6:0:0:0: Attached scsi generic sg3 type 0
[   13.053311] sd 6:0:0:1: [sdd] Attached SCSI removable disk
[   13.053373] sd 6:0:0:1: Attached scsi generic sg4 type 0
[   13.058303] sd 6:0:0:2: [sde] Attached SCSI removable disk
[   13.058365] sd 6:0:0:2: Attached scsi generic sg5 type 0
[   13.062752] sd 6:0:0:3: [sdf] Attached SCSI removable disk
[   13.062752] sd 6:0:0:3: Attached scsi generic sg6 type 0

Dan
-------------- 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/1cb320b3/attachment.pgp 


More information about the Pkg-grub-devel mailing list