On Tue, Jun 10, 2014 at 07:30:58PM +0200, Laszlo Ersek wrote: > On 06/10/14 19:16, Kashyap Chamarthy wrote:
[. . .] > > > > Yes, I can, but will have to wait till tomorrow -- the contents of the > > script came down to 1.6G after trying to make an ISO as below. > > > > $ sudo dd bs=1k if=/dev/sdb2 of=fed-min2.iso conv=sparse > > (1) I think you should just format the disk image into a regular file, > rather than dumping it to a USB stick, Assuming I'm reading you correctly, the above script writes the OS content directly to USB stick, I didn't dump to it from a disk image file. > and then dumping it back from there. > > (2) Even if you opt for the USB "detour", the above dd command line is > incorrect. You selected a specific partition on the USB stick as input > block device. That's wrong, we need to see the entire disk (partition > table, EFI system partition etc). You're right (sdb1 has "EFI System"): $ sudo fdisk -l /dev/sdb Disk /dev/sdb: 3.7 GiB, 4004511744 bytes, 7821312 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: C6CEC927-FA8F-4958-A223-A7BCE283241E Device Start End Size Type /dev/sdb1 2048 1046527 510M EFI System /dev/sdb2 1048576 7819263 3.2G unknown I'll do a redump of /dev/sdb as below: $ sudo dd bs=1k if=/dev/sdb of=fed-min.iso conv=sparse Thanks for pointing that out. -- /kashyap