22 August 2008

Grub. Quick fix after XP re-install

Boot off rescue dvd/cd.
start grub.
>find /boot/grub/stage1
(hd0,2)
>root (hd0,2)
>setup (hd0)
>exit

reboot.

21 May 2008

Create large files for testing.

This command will create a 100Mb file.

dd if=/dev/random of=myfile.dat bs=$(( 1024 * 1024 )) count=100

This can take a long time, so try this

dd if=/dev/zero of=myfile.dat bs=$(( 1024 * 1024 )) count=100

See Unix Administratosphere for more detail.

31 January 2008

Redhat: Change server name

Edit name in /etc/sysconfig/network