Installing Debian Lenny Via USB Flash

On existing Debian machine insert formatted usb flash

dmesg should show something similar to

usb 4-4.4: new high speed USB device using ehci_hcd and address 8
usb 4-4.4: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb 4-4.4: New USB device found, idVendor=0781, idProduct=5406
usb 4-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-4.4: Product: U3 Cruzer Micro
usb 4-4.4: Manufacturer: SanDisk
usb 4-4.4: SerialNumber: 45271013A181B72F
scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer           8.01 PQ: 0 ANSI: 0 CCS
sd 4:0:0:0: [sde] 3907711 512-byte hardware sectors (2001 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] 3907711 512-byte hardware sectors (2001 MB)
sd 4:0:0:0: [sde] Write Protect is off
sde: sde1
sd 4:0:0:0: [sde] Attached SCSI removable disk

wget http://www.theoutpost.org/downloads/boot.img

zcat boot.img.gz > /dev/sde (where sde is your USB device name which was obtained from the dmesg output)

Now it is a good idea to remove un-plug and plug back in your USB devices so that the new partition table/structure is recognized by the Linux system. I had to do this. This refreshes the drives partition table stored by udev.

mount /dev/sde /mnt/ (replace sde with whatever your dmesg shows)

wget http://www.theoutpost.org/downloads/debian-508-i386-netinst.iso

cp debian-508-i386-netinst.iso /mnt

umount /mnt/sde

That’s it. You have successfully created USB flash installation media. Just plugin the USB stick to the computer on which you would like to install Debian Lenny and set the BIOS to boot from USB stick.

Continue Reading

Removing timestamp on MD80 clone using flashing

First and for most I did not write this guide it’s one I came across while looking for the solution to timestamp removal. It worked ok first time for me on my MD80 however I take NO responsibility it doesn’t for you and or bricks your camera.

CONTINUE AT YOUR OWN RISK!!

The below content is from http://www.mytempfiles.info/gum/project3.html and is unchanged apart from I have hosted the files myself.

Continue Reading

out of vmalloc space

My Debian box started throwing up 

allocation failed: out of vmalloc space – use vmalloc=<size> to increase size

errors.

cat /proc/meminfo showed

VmallocTotal: 114680 kB
VmallocUsed: 113940 kB
VmallocChunk: 316 kB

In order to fix it I edited

/boot/grub/menu.lst

and added the vmalloc variable, before

kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/md0 ro quiet

after

kernel          /boot/vmlinuz-2.6.26-2-686 root=/dev/md0 ro quiet vmalloc=256m

(the default is 128m) reboot

cat /proc/cpuinfo

VmallocTotal:   245752 kB
VmallocUsed:     10884 kB
VmallocChunk:   234440 kB

Continue Reading

New Virgin Contract

Called virgin retentions today on 150 option 5 option 2 as now out of contract and bill gone up over the year to £47 per month. I was offered my existing package for £40 per month and said faster BB would cost an extra £20 per month. Anyway after some banter I finally got

V+

XL TV

L Phone

XL Broadband (upgrade from L) + the new virgin super hub. I also specifically asked for a wireless dongle as my laptop (cough) doesn’t have built in wifi

£43 per month all in

My broadband was upgraded in about 5 minutes!

Before

After

SWEET!

Continue Reading

Compress mini spy camera videos with vitualdub

Thought i’d post a quick reference guide to compressing video from the MD80 and 808 spy cameras using virtualdub.

1, Download virtualdub and extract to a folder

2, Download xvid codec and install

Run VirtualDub 1.9.9 (or later)

Open an AVI file.
Menu/Video – Select Full Processing mode.
Menu/Video/Compression
choose XviD MPEG-4 Codec.
Press the configure button.
Profile @ level  home.
Target Quantizer 4.0.  (press Target Quantizer button to see Target Bitrate).
Target Bitrate kbps 1800 (very good quality).  Makes video about 75% smaller.
Menu/Audio – Select Direct Stream Copy.  Audio remains unchanged at 353 kbps PCM.
Press F7 and choose an output filename.  Press Save and encoding begins and ends. 

Continue Reading