Univention Bugzilla – Bug 25046
Hersteller, Modell und Größe zu (Festplaten-)Block-Devices anzeigen
Last modified: 2013-11-19 06:44:01 CET
Der Installer zeigt nur die Namen der Block-Devices (/dev/hdX, /dev/sdX, /dev/xvdX, /dev/vdX, /dev/srY) an, was eine Identifizierung erschwert. Der Debian-Installer zeigt dazu zumindest die Informationen aus /sys/block/$DEV/{device/{vendor,model},size} an, was bei der Identifizierung des richtigen Block-Devices hilft (insbesondere bei der Installation des MBR). # grep . /sys/block/*[hsv][dr]?/{device/{vendor,model},size} /sys/block/sda/device/vendor:ATA /sys/block/sr0/device/vendor:HL-DT-ST /sys/block/sda/device/model:ST3500413AS /sys/block/sr0/device/model:DVDROM DH18NS40 /sys/block/sda/size:976773168 /sys/block/sr0/size:2097151
Created attachment 5160 [details] Show vendor, model and size
*** Bug 19614 has been marked as a duplicate of this bug. ***
Created attachment 5321 [details] Screenshot: exmaple on qemu Notice that qmeu-1.1 only sets vendor="0x1af4" and no model for virtio-Devices; for emulated IDE devices and on read hardware it provides more useful information. Please note that the feature is important for installing UCS from USB sticks, since there the USB-Stick is detected as an additional hard disk. Figuring out the right disk for grub from just the name /dev/sd[a-z] is very complicated; and the installer by default picks the wrong device (the USB stick), so the computer is unbootable after a default installation. The patch also removes the USB stick used for installation (AKA $cdrom_device) from the list of possible candidates of disks, where GRUB is to be installed.
svn42524,42525 univention-installer_9.0.15-1.1079.201307181258 svn42567: During the boot loader installation more device details are displayed. The installation device is automatically ignored.
Created attachment 5333 [details] New look <disk type='file' device='cdrom'> <target dev='hda' bus='ide'/><!-- not shown --> </disk> <disk type='file' device='disk'> <target dev='hdc' bus='ide'/><!-- /dev/sdb: ATA: QEMU HARDDISK --> </disk> <controller type='ide' index='0'> <!-- IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] --> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <disk type='file' device='disk'> <target dev='sda' bus='scsi'/><!-- /dev/sda: QEMU: QEMU HARDDISK --> </disk> <controller type='scsi' index='0'> <!-- SCSI storage controller: LSI Logic / Symbios Logic 53c895a --> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </controller> <disk type='file' device='disk'> <target dev='vda' bus='virtio'/><!-- /dev/vda: 0x1af4: Unknown --> </disk> <!-- SCSI storage controller: Red Hat, Inc Virtio block device -->
I successfully tested the device display feature on Xen, KVM and on a hardware system (xen10): - Under KVM the hard disks are presented as (0x1af4: Unknown) - Under Xen the hard disks are presented as (Unknown: Unknown) - On xen10 the hard disks are presented as (ATA: SAMSUNG HD 161GJ) I then wrote the current 3.2 ISO to a USB stick and made an installation on one of the systems in the training room. The USB stick carrying the installation medium wasn't offered as a target for GRUB installation, so installations from USB sticks are now much more user-friendly. Changelog entry is present.
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".