[opensuse] Checking installation media fails
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'. After while of processing I got blue screen with red warning saying 'This is not openSUSE Leap 42.2 medium!'. How can I verify, that the ISO was correctly transferred to the flash disk? I think this is bug of the checking system, because otherwise the medium works fine (rescue system as well as installation). -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/ https://trapa.cz/
On Thu, Jul 13, 2017 at 12:23 PM, Vojtěch Zeisek <vojtech.zeisek@opensuse.org> wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'.
It does not work for USB stick, only for CD/DVD (medium must match image exactly which is only possible when you actually burn it). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne čtvrtek 13. července 2017 14:07:52 CEST, Andrei Borzenkov napsal(a):
On Thu, Jul 13, 2017 at 12:23 PM, Vojtěch Zeisek <vojtech.zeisek@opensuse.org> wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'.
It does not work for USB stick, only for CD/DVD (medium must match image exactly which is only possible when you actually burn it).
Ah, thank You. It is confusing then. Should I open a bug report/feature request to get this fixed (either message or working also for USB)? BTW, in Ubuntu, this checking works... -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/ https://trapa.cz/
On 2017-07-13 18:26, Vojtěch Zeisek wrote:
Dne čtvrtek 13. července 2017 14:07:52 CEST, Andrei Borzenkov napsal(a):
On Thu, Jul 13, 2017 at 12:23 PM, Vojtěch Zeisek <vojtech.zeisek@opensuse.org> wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'.
It does not work for USB stick, only for CD/DVD (medium must match image exactly which is only possible when you actually burn it).
Ah, thank You. It is confusing then. Should I open a bug report/feature request to get this fixed (either message or working also for USB)? BTW, in Ubuntu, this checking works...
I think it exists, but I don't have a link. The question has popped up frequently. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
On 2017-07-13 11:23, Vojtěch Zeisek wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'. After while of processing I got blue screen with red warning saying 'This is not openSUSE Leap 42.2 medium!'.
This has never worked with USB sticks. IMO, the installation program should check to see if the media is a real CD/DVD, and if not, abort.
How can I verify, that the ISO was correctly transferred to the flash disk? I think this is bug of the checking system, because otherwise the medium works fine (rescue system as well as installation).
You verify only the downloaded ISO image. The flash media doesn't need to be checked, same as you don't test a hard disk for a good copy. However, if you want, you can do a file compare. I'm unsure of the command to use for this: you have to compare the iso file to the raw device media, but limited to the exact number of bytes contained in the ISO (the size of the flash is not the same as the ISO). -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
Dne čtvrtek 13. července 2017 14:15:31 CEST, Carlos E. R. napsal(a):
On 2017-07-13 11:23, Vojtěch Zeisek wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'. After while of processing I got blue screen with red warning saying 'This is not openSUSE Leap 42.2 medium!'.
This has never worked with USB sticks. IMO, the installation program should check to see if the media is a real CD/DVD, and if not, abort.
This would be good. Current state is confusing...
How can I verify, that the ISO was correctly transferred to the flash disk? I think this is bug of the checking system, because otherwise the medium works fine (rescue system as well as installation).
You verify only the downloaded ISO image.
The flash media doesn't need to be checked, same as you don't test a
Do You think so? There might be a problem. Same as You can verify CD after burning, but You can also check it from GRUB menu. And it makes sense to have such option. Also, USB sticks are not so reliable, so some problem may appear there during the time...
hard disk for a good copy. However, if you want, you can do a file compare. I'm unsure of the command to use for this: you have to compare the iso file to the raw device media, but limited to the exact number of bytes contained in the ISO (the size of the flash is not the same as the ISO).
I't be doable, but not so handy. One typically wishes to verify the stick before installation... -- Vojtěch Zeisek https://trapa.cz/
On 2017-07-13 18:31, Vojtěch Zeisek wrote:
Dne čtvrtek 13. července 2017 14:15:31 CEST, Carlos E. R. napsal(a):
On 2017-07-13 11:23, Vojtěch Zeisek wrote:
Hi, I downloaded openSUSE Leap 42.2 DVD ISO and and created bootable flash: sudo dd if=/dev/zero of=/dev/sdb sudo fdisk -l # Ensure sdb is empty sudo dd if=openSUSE-Leap-42.2-DVD-x86_64.iso of=/dev/sdb Then I booted the flash disk, in the GRUB menu I selected 'More...' and 'Check Installation Media'. After while of processing I got blue screen with red warning saying 'This is not openSUSE Leap 42.2 medium!'.
This has never worked with USB sticks. IMO, the installation program should check to see if the media is a real CD/DVD, and if not, abort.
This would be good. Current state is confusing...
You are not the first to ask about it :-)
How can I verify, that the ISO was correctly transferred to the flash disk? I think this is bug of the checking system, because otherwise the medium works fine (rescue system as well as installation).
You verify only the downloaded ISO image.
The flash media doesn't need to be checked, same as you don't test a
Do You think so? There might be a problem. Same as You can verify CD after burning, but You can also check it from GRUB menu. And it makes sense to have such option. Also, USB sticks are not so reliable, so some problem may appear there during the time...
The CDs need to be verified because they often fail. Sticks seldom fail: I have not seen one fail like that. They simply fail to accept writes and the copy program aborts or crashes. Let me see: cmp --bytes=$(wc -c < openSUSE-Leap-42.2-NET-x86_64.iso) \ openSUSE-Leap-42.2-NET-x86_64.iso /dev/sde This works. Just tried it. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
Vojtěch Zeisek