Results 1 to 6 of 6

Thread: md5sum not match when dd the installtion DVD to a usb stick

  1. #1
    Join Date
    Jan 2016
    Location
    Manchester, UK
    Posts
    279

    Default md5sum not match when dd the installtion DVD to a usb stick

    Hi all,

    I am trying to create a USB stick for installing openSUSE Tumbleweed on a new laptop with only Windows 10 pre-installed. I've read that in order to use UEFI method I need to "burn" the ISO file into a USB stick. Then I followed the instruction here:
    https://en.opensuse.org/openSUSE:SUS....28in_Linux.29

    Here is what I have done:
    1. Insert my USB thumb drive (32GB);
    2. Using `fdisk` to check its path to be `/dev/sdb`;
    3. `cd` into the folder hold the `ostw.iso` and issue the command,
      Code:
      sudo dd if=ostw.iso of=/dev/sdb bs=4k conv=fdatasync
    4. Issue following command to check md5sum after a long time waiting, but the given md5 value is not the same as that ISO file.


    Here is the USB drive in `fdisk -l`,
    Code:
    Device     Boot Start     End Sectors  Size Id Type
    /dev/sdb1        3852   11663    7812  3.8M ef EFI (FAT-12/16/32)
    /dev/sdb2  *    11664 9160703 9149040  4.4G 17 Hidden HPFS/NTFS
    Could anyone please tell me what I have done wrongly? Cheers.
    openSUSE Tumbleweed (usually the latest snapshot) w/ KDE Plasma 5

  2. #2
    Join Date
    Sep 2012
    Posts
    5,205

    Default Re: md5sum not match when dd the installtion DVD to a usb stick

    You did not show command used to verify md5sum; assuming you used device name (md5sum /dev/sdb) it won't match, because /dev/sdb is much larger than ISO image, so md5sum will read past the end of image. I do not think there is easy way to verify checksum on USB device, unless you create loop over USB of exact image size.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,127
    Blog Entries
    15

    Default Re: md5sum not match when dd the installtion DVD to a usb stick

    Hi
    Those instructions are for a raw image, not an iso;

    https://en.opensuse.org/SDB:Create_i...tion_USB_stick

    Anyway, check the sha256 sum on the downloaded iso image, available from the same download location you obtained the iso image. Plus after you dd they will be different, you can do a media check on install, but if it's ok on the iso image you should be fine.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Jan 2016
    Location
    Manchester, UK
    Posts
    279

    Default Re: md5sum not match when dd the installtion DVD to a usb stick

    Quote Originally Posted by arvidjaar View Post
    You did not show command used to verify md5sum; assuming you used device name (md5sum /dev/sdb) it won't match, because /dev/sdb is much larger than ISO image, so md5sum will read past the end of image. I do not think there is easy way to verify checksum on USB device, unless you create loop over USB of exact image size.
    Thanks arvidjaar,
    You are right about the command I used to check MD5 sum. I used it on `/dev/sdb`. Thanks for pointing out the error.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Those instructions are for a raw image, not an iso;

    https://en.opensuse.org/SDB:Create_i...tion_USB_stick

    Anyway, check the sha256 sum on the downloaded iso image, available from the same download location you obtained the iso image. Plus after you dd they will be different, you can do a media check on install, but if it's ok on the iso image you should be fine.
    Thanks Malcolm,
    Sorry I am not aware of the difference between raw image and iso. Looks like I have made a big mistake. It's the first time I am trying to create such a burned ISO. I'll try to use this USB stick directly. It will work as per your explanation. Thanks!
    openSUSE Tumbleweed (usually the latest snapshot) w/ KDE Plasma 5

  5. #5
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: md5sum not match when dd the installtion DVD to a usb stick

    Quote Originally Posted by cnzhx View Post
    Sorry I am not aware of the difference between raw image and iso. Looks like I have made a big mistake.
    ... well, I would not call it a big mistake, but keep in mind: Mistakes are what we learn the most from.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  6. #6
    Join Date
    Jan 2016
    Location
    Manchester, UK
    Posts
    279

    Default Re: md5sum not match when dd the installtion DVD to a usb stick

    Quote Originally Posted by Fraser_Bell View Post
    ... well, I would not call it a big mistake, but keep in mind: Mistakes are what we learn the most from.
    Thanks for your encouraging words. I do have learnt a lot from this forums with the help of many experienced users.
    openSUSE Tumbleweed (usually the latest snapshot) w/ KDE Plasma 5

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •