Mailinglist Archive: opensuse (911 mails)

< Previous Next >
Re: [opensuse] making iso from distribution bootable usb stick
  • From: Stanislav Baiduzhyi <baiduzhyi.devel@xxxxxxxxx>
  • Date: Sun, 27 Dec 2015 15:04:07 +0100
  • Message-id: <>
On Sun, Dec 27, 2015 at 12:35 PM, jdd <jdd@xxxxxxxxx> wrote:
as a complementary word, usb sticks are 8Gb, so a simple dd is not a
solution, may be with some argument??

I've read the sources of suse image writer, it just copies the content
of the ISO to the device. So I would guess the same can be done
backwards? I'm just not sure how ISO will behave if the image file
length is bigger than actual contents.
So, what I would try:
1. Determine the actual size of the ISO image:
lynx -dump -head
| grep 'Content-Length'
Content-Length: 4648337408
2. This can be divided evenly by 8192 (8kb buffers), resulting in 567424.
3. So I would try following dd command to transform it back into iso:
sudo dd if=/dev/sdc of=leap.iso bs=8192 count=567424.
4. Now checking the md5sums:
md5sum Downloads/openSUSE-Leap-42.1-DVD-x86_64.iso leap.iso
2bc74929bfa9772a5637f76ddde8784b Downloads/openSUSE-Leap-42.1-DVD-x86_64.iso
2bc74929bfa9772a5637f76ddde8784b leap.iso

And we have a winner!
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups