Web lists-archives.com

Re: Debian Live USB fails; bricks the USB stick




Hi,

Kent West wrote:
> fdisk: cannot open /dev/sdc: No medium found

So we really have one bad piece of hardware.

The division of responsibilities between device and its data content makes
it very unlikely that the ISO content is to blame. Maybe it died from the
mere effort to store 2 GB in one sweep.


> Device     Boot Start     End Sectors  Size Id Type
> /dev/sdd1  *        0 4173823 4173824    2G  0 Empty
> /dev/sdd2        1540    2371     832  416K ef EFI (FAT-12/16/32)

That's what i see in debian-live-9.2.0-amd64-cinnamon.iso, too.
So far this piece of hardware seems ok and bears the data which constitute
the partition table of the ISO image (and much more).

I am quite sure that fdisk would remove both partitions and then create
new ones as you like.
To make it a safe bet i just tried with a copy of the ISO image. Deleted
both partitions and then created a single one from block 2048 to the end
the image. Result:
  Device    Boot Start     End Sectors Size Id Type
  test.iso1       2048 4174463 4172416   2G 83 Linux


> Loading /live/initrd.img-4.0.9-4-amd64...
> and then there's a very brief flash of a line that I can almost imagine I
> see the word "failed" in, and then it returns to the "Main Menu".

We will need advice about how to get to see that final line.

After you verified that you get the stick into a conventional state, you
should again dd the ISO onto it, verify the MD5 (matches only before first
boot attempt), and check whether it still fails.
This will not totally outrule hardware problems but that's the best we can
do before asking cluelessly at debian-live.


Have a nice day :)

Thomas