Bug ID 1199078
Summary grub2: /dev/disk/by-id/scsi-0ATA... not a block device
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware i586
OS Linux
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee screening-team-bugs@suse.de
Reporter jengelh@inai.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Tumbleweed 20220428 i586 + grub2-2.06-22.1.i586.
At the end of a `zypper dup` towards 20220428, posttrans had this to say:


...
dracut: *** Creating image file '/boot/initrd-5.17.4-1-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.17.4-1-default' done
***
Updating /etc/sysconfig/dmraid ...
update-bootloader: 2022-05-02 13:25:37 <3> update-bootloader-4946
run_command.294: '/usr/lib/bootloader/grub2/install' failed with exit code 1,
output:
<<<<<<<<<<<<<<<<
target = i386-pc
/dev/disk/by-id/scsi-0ATA_WDC_WD400EB-00CP_WD-WCAAT5461367-part1: not a block
device
+ /usr/sbin/grub2-install --target=i386-pc --force --skip-fs-probe
/dev/disk/by-id/ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367
Installing for i386-pc platform.
Installation finished. No error reported.
>>>>>>>>>>>>>>>>


The current set of available devices is:

# ls -1 /dev/disk/by-id/
ata-HL-DT-ST_DVDRAM_GSA-4160B_K3449OB4545
ata-Hitachi_HTS541010A9E680_J5400071G8UH8D
ata-Hitachi_HTS541010A9E680_J5400071G8UH8D-part1
ata-Hitachi_HTS541010A9E680_J5400071G8UH8D-part2
ata-Hitachi_HTS541010A9E680_J5400071G8UH8D-part3
ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367
ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367-part1
ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367-part2
ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367-part3
scsi-SATA_Hitachi_HTS54101_J5400071G8UH8D
scsi-SATA_Hitachi_HTS54101_J5400071G8UH8D-part1
scsi-SATA_Hitachi_HTS54101_J5400071G8UH8D-part2
scsi-SATA_Hitachi_HTS54101_J5400071G8UH8D-part3
scsi-SATA_WDC_WD400EB-00CPWD-WCAAT5461367
scsi-SATA_WDC_WD400EB-00CPWD-WCAAT5461367-part1
scsi-SATA_WDC_WD400EB-00CPWD-WCAAT5461367-part2
scsi-SATA_WDC_WD400EB-00CPWD-WCAAT5461367-part3
wwn-0x5000cca6a0c402aa
wwn-0x5000cca6a0c402aa-part1
wwn-0x5000cca6a0c402aa-part2
wwn-0x5000cca6a0c402aa-part3


The "0ATA" comes from a time when the system was originally installed:

# ls -l /etc/default/grub_installdevice 
-rw-r--r-- 1 root root 141 Nov 11  2015 /etc/default/grub_installdevice
# cat /etc/default/grub_installdevice 
/dev/disk/by-id/scsi-0ATA_WDC_WD400EB-00CP_WD-WCAAT5461367-part1
/dev/disk/by-id/ata-WDC_WD400EB-00CPF0_WD-WCAAT5461367
activate
generic_mbr


Not sure if we want to do anything - this report may just be for the record.


You are receiving this mail because: