DON'T PANIC

Archive for October 2010

1. After inserting an empty usb device you should run “dmesg” command:

$ dmesg


[1922747.172561] sd 29:0:0:0: Attached scsi generic sg4 type 0
[1922747.179137] sd 29:0:0:0: [sdb] 1959807 512-byte logical blocks:
(1.00 GB/956 MiB)
[1922747.179629] sd 29:0:0:0: [sdb] Write Protect is off
[1922747.179637] sd 29:0:0:0: [sdb] Mode Sense: 0b 00 00 08
[1922747.179643] sd 29:0:0:0: [sdb] Assuming drive cache: write through
[1922747.182521] sd 29:0:0:0: [sdb] Assuming drive cache: write through
[1922747.182532] sdb: sdb1
[1922747.205897] sd 29:0:0:0: [sdb] Assuming drive cache: write through
[1922747.205908] sd 29:0:0:0: [sdb] Attached SCSI removable disk

2. If you have configured automatic mounted, you will have to unmount your usb device and check this:

# umount /dev/sdb && mount

3. You need to download the last boot.img.gz from Debian repository. In my case I will download the stable distribution for 64 bits.

$ wget ftp://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/hd-media/boot.img.gz

4. Now you have to uncompress and put this image on the usb device:

# zcat boot.img.gz > /dev/sdb

At this moment your booteable Debian usb is ready, but you don’t forget that is a good practice compare if the md5sum’s iso file downloaded matches with md5sum’s iso from Debian repository.

Advertisements


  • analialorenzatto: Buzz is just a host name for this example, it doesn't have any relation to the topic. Instead of being "Buzz", could be whatever name.
  • fridelain: >buzz What's the story behind this host name? Actully running buzz, once running buzz and upgraded many times since, or unrelated to debian naming
  • Pratik: Nice, but I would change it to include more directories. Like my .mozilla and .kde4 by using .{config,mozilla,kde4} instead of just .config .

Categories