Feeds:
Posts
Comments

Yesterday I was searching a way to create and use img files using linux, and found a few simple commands that do the job.

Create a disk image from the phisical drive:
cat /dev/fd0 > imagefile.img

Copy image to the phisical drive:
cat imagefile.img > /dev/fd0

Simple isn’t it? And now the fun part :P
If we need it we can create an empty image and mount it using linux’s loop devices.

Creating the image:
$ dd bs=512 count=2880 if=/dev/zero of=imagefile.img
$ mkfs.msdos imagefile.img

Mounting it:
$ sudo mkdir /media/floppy1/
$ sudo mount -o loop floppy.img /media/floppy1/

Alternatively with a path as suggested by Anders Lennqvist in a comment to this post

Create a disk image from a physical diskette:
cat /dev/fd0 > /path/imagefile.img

Copy the image to a diskette:
cat /path/imagefile.img > /dev/fd0

There’s an even easier way to do this using mkfs.msdos, skipping the need for the dd command. Also, on my system, mkfs.msdos is in the /sbin directory, which is not usually in a user’s path. So, the new command is

Create an empty floppy image of 1.44 MB:
$ /sbin/mkfs.msdos -C /path/imagefile.img 1440

Simple isn’t it? And now the fun part :P
If we need it we can create an empty image-file and mount it using linux’s loop devices.
Creating an empty floppy image: (here 1.44MB)
$ dd bs=512 count=2880 if=/dev/zero of= /path/imagefile.img
Format it:
$ mkfs.msdos /path/imagefile.img

Mounting it:
$ sudo mkdir /media/floppy1/
$ sudo mount -o loop /path/imagefile.img /media/floppy1/

Thank you Anders!

Salena Vorik pointed out here a disk image can be created in an easier way:

There’s an even easier way to do this using mkfs.msdos, skipping the need for the dd command. Also, on my system, mkfs.msdos is in the /sbin directory, which is not usually in a user’s path. So, the new command is

Create an empty floppy image of 1.44 MB:
$ /sbin/mkfs.msdos -C /path/imagefile.img 1440

Thank you Salena!

Advertisements

Got tired of desktop full of links to softwares that you probably never use and to open every time your start bar to search a program? You want a dockbar like the one in mac in windows? RocketDock is the right software that can do it :)

This little dockbar runs really good on new computers, and let you organize the programs you use. It also has docklets (compatible with docklets created for ObjectDock) and skins, and uses icons in ICO and PNG formats.

Minimum requirements are actually really low, Windows 2000/XP/Vista, 500 mhz or faster CPU and 10 MB of free RAM.

After having installed it you can drag and drop files link or directory on it and then personalize further the look choosing from the presets icons or downloading more icons. Then you can right click on your desktop and hide every icon on your desktop

http://rocketdock.com/

And here’s a little preview that’s on youtube:

I was searching for a good open source media converter, and found one of the best media trancoder out there, Media Coder. This nice tool integrates a lot of codecs, plugins and tools to convert media to popular formats, how many of you have ever wanted to convert those odious .3gp videos ;)

taken from it’s website here is a brief list of features:

Features In Breif

  • Convert to and from many audio and video compression formats and re-multiplex into various container formats in batches
  • Full control over transcoding parameters, you can learn about audio/video encoding and play with various codecs
  • Strong decoding capability for partial or corrupted contents
  • Simplified UI for popular mobile devices (e.g. PSP, iPod)
  • Fully standalone, no dependance on system codecs/splitters
  • Extension (scripting language) infrastructure to expand user interfaces and improve user experience

Typical Applications

  • Improving compression / reducing size for audio/video files
  • Converting for audio/video playback devices (digital audio player, MP4 player, mobile phone, PDA, PSP, VCD/DVD player etc.)
  • Extracting audio tracks from video files
  • Ripping audio/video discs
  • Reparing corrupted or partial downloaded video files

Supported Fomats

  • MP3, Vorbis, AAC, AAC+, AAC+v2, MusePack, Speex, AMR, WMA, RealAudio, mp3PRO*
  • FLAC, WavPack, Monkey’s Audio, OptimFrog, AAC Lossless, WMA Lossless, WAV/PCM
  • H.264, Xvid, MPEG 1/2/4, Theora, Flash Video, Dirac, 3ivx*, RealVideo*, Windows Media Video
  • AVI, MPEG/VOB, Matroska, MP4, RealMedia*, ASF, Quicktime*, OGM*
  • CD, VCD, DVD, CUE Sheet*

* supported as input only

I’ve used this program to convert some media including flv (the flash videos from youtube), various video formats, and music, and it is working really well, and found only a little bug that crashes the application when you play some media in the main window.

It’s definitely worth a try.

Download it from here http://mediacoder.sourceforge.net/download.htm

First Post

Hi people welcome to just another IT weblog …well this won’t really be just another, i’ll try to write here about my experiences in the IT world, including programming, reverse engineering, linux and everything else.

EOF :)