Re: Debian images and USB sticks

2016-05-05 Thread Tiago Ilieve
Thomas, On 5 May 2016 at 02:49, Thomas Schmitt wrote: > 1969 is a strange date for a Unix-ly system. The lowest possible file > date is supposed to be 1 Jan 1970. It ain't, if you consider timezones. For instance, I've created a file with the unix timestamp set to epoch on a system configured wi

Re: Debian images and USB sticks

2016-05-05 Thread Brian Potkin
On Wed 04 May 2016 at 23:56:56 -0300, Renato Bispo wrote: > Very interesting, Thomas. I'm writing this e-mail from the Debian system > I've installed using the method you described in detail. The only > difference is that I used cp instead of dd. My USB stick has now 3 > partitions, two of them re

Re: Debian images and USB sticks

2016-05-04 Thread Thomas Schmitt
Hi, Renato Bispo wrote: > * Under BIOS at least More we cannot expect from this setup. The next experiment would be to create a new partition of type 0xef (1MiB, with no filesystem on it, should be ok) and to copy the file /boot/grub/efi.img, which is actually a FAT filesystem image. Then one wo

Re: Debian images and USB sticks

2016-05-04 Thread Renato Bispo
Very interesting, Thomas. I'm writing this e-mail from the Debian system I've installed using the method you described in detail. The only difference is that I used cp instead of dd. My USB stick has now 3 partitions, two of them reserved for images and the other one for regular use. I included a R

Re: Debian images and USB sticks

2016-05-03 Thread Thomas Schmitt
Hi, > Does the method described in the manual (copying to /dev/sdX) work under > UEFI? Or it's basically the same thing as copying to a partition? The main difference is that copying to /dev/sdX overwrites the MBR and the partition tables, while copying to /dev/sdXn keeps the partitioning (and th

Re: Debian images and USB sticks

2016-05-03 Thread Renato Bispo
Does the method described in the manual (copying to /dev/sdX) work under UEFI? Or it's basically the same thing as copying to a partition? On 3 May 2016 2:25 p.m., "Thomas Schmitt" wrote: > Hi, > > i made a mistake, of course. This time when copying the ISO: > > Wrong: dd if="$image_path" of="$d

Re: Debian images and USB sticks

2016-05-03 Thread Thomas Schmitt
Hi, i made a mistake, of course. This time when copying the ISO: Wrong: dd if="$image_path" of="$dev" bs=1M Right: dd if="$image_path" of="$dev"1 bs=1M If you perform the wrong command, then the parted MBR gets overwritten by the isohybrid MBR of the Debian ISO. Have a nice day :) Thomas

Re: Debian images and USB sticks

2016-05-03 Thread Thomas Schmitt
Hi, i wrote > > dd if=/dev/sdX bs=512 count=1 | od od -t x1 Renato Bispo wrote: > the command you sent didn't work: A copy+paste error indeed. A single "od" would have been right. > 000 b8fa 1000 d08e 00bc b8b0 d88e c08e A bit pattern widely known to the web. http://superuser.co

Re: Debian images and USB sticks

2016-05-03 Thread Renato Bispo
I executed "hexdump -n 512 /dev/sdX", the command you sent didn't work: 000 b8fa 1000 d08e 00bc b8b0 d88e c08e 010 befb 7c00 00bf b906 0200 a4f3 21ea 0006 020 be00 07be 0438 0b75 c683 8110 fefe 7507 030 ebf3 b416 b002 bb01 7c00 80b2 748a 8b01 040 024c 13cd 00ea 007c eb00 0

Re: Debian images and USB sticks

2016-05-03 Thread Thomas Schmitt
Hi, Renato Bispo wrote: > -> I partitioned my USB stick using gparted, setting the boot flag on the > partition I wanted to put the image. Now i wonder whether the stick already contained MBR code which would jump on the marked partition or whether gparted installed such x86 machine code. See

Re: Debian images and USB sticks

2016-05-03 Thread Renato Bispo
Hey, On 3 May 2016 at 03:59, Thomas Schmitt wrote: > Hi, > > > However, it's possible to allow the latter running isohybrid --partok > > iso-name.iso (according to isohybrid's man page), and I have done so, > and it > > works. > > Interesting result. > > How did you make the MBR of the overall d

Re: Debian images and USB sticks

2016-05-03 Thread Thomas Schmitt
Hi, > However, it's possible to allow the latter running isohybrid --partok > iso-name.iso (according to isohybrid's man page), and I have done so, and it > works. Interesting result. How did you make the MBR of the overall device which then hops onto the code at the start of the partition ? >

Debian images and USB sticks

2016-05-02 Thread Renato Bispo
Hey, According to jessie's installation manual (this section -> https://www.debian.org/releases/jessie/amd64/ch04s03.html.en), in order to make a bootable USB stick it is necessary to copy the .iso directly into the device (/dev/sdX), instead of copying it to a partition (e.g., /dev/sdb1). Howeve