Wednesday, April 6, 2011

Debian 6 : My new O/S

I have just recently install Debian 6 in my computer. This is also the first time I look in to my flashdisk, and I remember that I can use it to make a live USB. There were things that I did carefully :
  1. Download debian-live-6.0.1-amd64-gnome-desktop.img from Debian's site.
  2. Carefully reading which one of my block devices is really a flash disk. I did that by invoking : ls -l /dev/disk/by-id/. It turned out that my Kingston G3 flash disk was registered by the systems as sdc. Make sure that you are doing this. Because this business is very DANGEROUS. If you have many hard disk you can OVERWRITE your HARDISK accidently, and you mourn and regret for the rest of your life. Pourquoi faire ? You think that your flash disk is sdb but actually it is your hard disk.
  3. From the directory where debian-live-6.0.1-amd64-gnome-desktop.img resides I write the image file to my flash disk by typing dd commands. dd actually writes the image file to a flash disk and make it bootable : dd if=debian-live-6.0.1-amd64-gnome-desktop.img of=/dev/sdc.
  4. After waiting for about 10 minutes, I booted my computer with my flash, and installed it permanently on my hard disk.
  5. As usual put some more software that suits me with synaptic.
  6. I can boot any computer (of course with 64 bit intel/amd processor) with my flash disk.