Hard disk suspension in an Antec SLK3000B
The main problem of the Antec SLK3000B case is it converts hard disk vibrations to noise, and this is the most annoying noise coming from my pc when the fans are set at the lowest speed. In the SLK3000B the hard disks lay in a cage with grommets that are supposed to dampen the vibrations of the 7200 and more rpm hard disks.
The trend spreading amongst silencing modders is to suspend the hard disks in the air to avoid contact between the case and the hard disks.


Posted by: z24 | Sun, Aug 12 2012 |
Category: /hardware |
Permanent link |
home
Tagged as: case, cooling, disk suspension, hardware, silencing
Install and boot Windows on a second hard disk
I have a SATA disk and a EIDE disk, I installed Linux on the SATA disk and now I want to install Windows on the EIDE disk.
Because Windows must be installed on the disk that boot first, I entered BIOS and changed the boot order as this:
cdrom
EIDE disk
SATA disk
Then I installed Windows on the EIDE disk.
I want to configure dual boot this way:
- default choice: Linux (booting from SATA disk)
- second choice: Windows (booting from EIDE disk)
/boot/grub/menu.list
(on Ubuntu or Debian; if grub is not installed try apt-get install grub):
title WinXP map (hd0,0) (hd1,0) map (hd1,0) (hd0,0) rootnoverify (hd1,0) chainloader +1That means Windows believes the EIDE disk is the first and SATA is the second, so it's happy and if I reboot and choose WinXP from grub menu it starts.


Posted by: Z24 | Wed, May 04 2011 |
Category: /windows |
Permanent link |
home
Tagged as: grub, linux, windows
Debian on Windows with VMWare, Linux applications in Windows using X server
With this little and very simple tutorial I will explain what I did to:
- install VMWare for Windows
- run Debian virtual appliance
- connect from Windows host to Linux guest and connect from Linux guest to Windows host
- run seamless Linux applications in the Windows graphical environment using an X server


Posted by: Z24 | Wed, May 04 2011 |
Category: /windows |
Permanent link |
home
Tagged as: client-server, linux, security, virtualization, VMWare, windows
Ubuntu 6.06 Dapper Drake 32 bit on Windows XP with Qemu, Qemu networking, Linux applications in Windows using X server
With this little tutorial I will explain what I did to:
- install Qemu and its accelerator kqemu
- create an image file where the guest operating system will be installed
- install and then run Ubuntu 6.06 Dapper Drake 32 bit as a guest operating system
- connect from Windows host to Linux guest with qemu
redir
option - connect from Windows host to Linux guest and connect from Linux guest to Windows host using tap driver
- run seamless Linux applications in the Windows graphical environment using an X server


Posted by: Z24 | Wed, May 04 2011 |
Category: /windows |
Permanent link |
home
Tagged as: client-server, linux, qemu, virtualization, windows, xp
GPG key error updating aptitude, Debian upgrade
I had an old Debian Etch machine which I did not upgrade for some time, and when I attempted to install ghostscript by using Synaptic, I've got some unmet dependencies errors with libc6 and libc6-dev. Any attempt to reinstall or upgrade these packages failed, so I decided to try to upgrade the whole system to Lenny:
- I replaced
etch
withlenny
in/etc/apt/sources.list
#sudo aptitude update
But I've got this error: The error can be solved downloading the GPG signatures with these commands:
#gpg --keyserver keyserver.ubuntu.com --recv xxxxxxxxxxxxxxxx
#gpg --export --armor xxxxxxxxxxxxxxxx | apt-key add -
I've tried a few servers (subkeys.pgp.net, keyserver.pgp.com, wwwkeys.eu.pgp.net) but they could not find the "right" keys...
Then I did the#sudo aptitude update
again.#sudo aptitude install apt dpkg aptitude
#sudo aptitude full-upgrade


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: gpg, linux
Running Windows XP in Xen from its own partition
Some months ago I made some experiments with Xen and I succeeded to install and run Windows XP as a guest using Xen 3.0. In that case Windows was located in a single file and was installed through Xen.
My purpose now is to make Xen running an already installed Windows from its own partition. Just to be more specific, this is my machine configuration:
- Ubuntu Dapper Drake 6.06 is located on a SATA disk, set as first boot disk
- Windows XP is located on a EIDE disk, set as second boot disk
- Dual boot is made by grub


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: grub, linux, ubuntu, virtualization, windows, xen, xp
Ubuntu Dapper Drake 6.06 amd64 and Windows XP in Xen 3.0
I am coming from a bloody week of wrestling against packages, bugs and "make world"s trying to run Xen in Ubuntu 6.06 amd64 on an AM2 3800+ and to make a Windows XP Pro domU.
I searched on the web some resources that would explain how to run Windows on Xen and I found some very good tutorial that unfortunately don't fit exactly my configuration and my purpose. These are the sites I took as a basis for my setup:
- dom0 = Debian Sarge 3.1, domU = Debian Sarge, Xen 2.0.7 32 bit installed from binaries or source, paravirtualization
- dom0 = SUSE 10.1, domU = Win XP Pro, Xen 3.0.2, Intel VT hardware virtualization
- dom0 = Ubuntu 6.06, domU = Ubuntu, Xen 3.0.1 32 bit
- dom0 = Kubuntu Dapper Drake, domU = Win XP, Xen 3.0.2-2 32 bit, AMD SVM hardware virtualization
These are all the steps I did and the problems I encountered during this Calvary :-) (I come from Windows with a little linux/unix background):


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: linux, ubuntu, virtualization, windows, xen, xp
How to mount an image file and access image content
To get access to the content of a virtual machine image or a ISO file, follow these steps:
- associate the file with a loop device node:
# losetup /dev/loop0 /var/otheros.img
- list the partition table of the device:
# fdisk -l /dev/loop0 Disk /dev/loop0: 21.4 GB, 21474837504 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/loop0p1 * 1 2609 20956761 7 HPFS/NTFS
- create device map (
kpartx
is part ofmultipath-tools
package on Ubuntu):
# kpartx -a /dev/loop0 # ls -l /dev/mapper/ total 0 crw-rw---- 1 root root 10, 62 Jul 6 2008 control brw-rw---- 1 root disk 253, 0 Jul 5 23:18 loop0p1
- mount the device partition:
# mount /dev/mapper/loop0p1 /mnt


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, shell
Pausing a command
How to pause / suspend / sleep a running command in a terminal?
Press Ctrl+S
How to resume the paused command?
Press Ctrl+Q
Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, shell
How to rename multiple files from bash
Rename all *html files to *test:
for x in `ls *html`; do mv $x `echo $x | sed -e "s/html/test/"`; done
Bash for:
for var in some-list ; do command ; done


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
Execute a command at shutdown
To dismount TrueCrypt volumes at shutdown and reboot time, I created a script, put it in/etc/init.d/
and symlinked it into the needed /etc/rc?.d/
directories using update-rc.d
.
Here is the detail:


Posted by: Z24 | Wed, May 04 2011 |
Category: /linux |
Permanent link |
home
Tagged as: command-line, linux, programming, script, shell
Recover "Logical sector size is 0" with dd
A few hours ago while I was using my pc suddenly Windows froze completely (mouse was stuck and Ctrl+Alt+Del did nothing). It's not astonishing but I was quite surprised because such a freeze never happened since I began using Windows XP on my new pc.
The problem appeared at the reboot: grub
, the bootloader on /dev/sda, showed this error message:
At reboot I started Windows XP Recovery Console from the Windows CD and tried
CHKDSK.EXE
, and this was the outcome:I booted again linux to launch
fsck
and see it fail:Then I found the solution in ubuntu forum:
root@am2:/home/z24# dd if=/dev/hda1 of=/defmedia/bkup_fat32_hda1.img bs=512 count=2048000 conv=noerror,sync 2048000+0 records in 2048000+0 records out 1048576000 bytes (1.0 GB) copied, 43.61 seconds, 24.0 MB/s root@am2:/home/z24# dd if=/defmedia/bkup_fat32_hda1.img of=/home/z24/sector6.bin bs=512 count=1 skip=6 conv=noerror,sync 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.011544 seconds, 44.4 kB/s root@am2:/home/z24# dd if=/home/z24/sector6.bin of=/dev/hda1 bs=512 count=1 conv=noerror,sync,notrunc 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.030644 seconds, 16.7 kB/sExplanation:
- the first dd makes a backup of the first gigabyte of the Windows partition: I copied 1 GB only because I didn't have enough space on a ext2fs to backup all the 28 GB of /dev/hda1.
- the second dd extracts the sixth sector to a temporary file: as reported by Microsoft KB247575, "The backup FAT32 boot sector is located at sector 6 of the logical drive".
- the third
dd
copies the extracted sector 6 to sector 0 of /dev/hda1.
dd
was also checked with losetup
and mount
. Thanks a lot to the ubuntuforums user Onlymee for his post!
Update 13.09.2008
The same problem happened again today and gave me the opportunity to complete the series of error messages :)The first, at boot time, was the same: Mounting the partition (
mount -t vfat /dev/sda1 /mnt
):
dmesg | grep sda1
But fdisk -l /dev/sda
shows the partition table.fsck.vfat /dev/sda1
(executed from Ubuntu 8.04 alternate cd)
The solution was exactly the same: copy the sixth sector back to the first. And voilà, it booted.


Posted by: z24 | Wed, May 04 2011 |
Category: /hardware |
Permanent link |
home
Tagged as: error, grub, hardware, linux, system recover
Mounting a second fan on the back of the case (Antec SLK3000B)
With the summer approaching, I am making some experiments trying to cool my pc as much as possible while keeping it quiet. Now, airflow in the case is made by 2 fans: the intake fan, a Papst 4412 F/2GLL, pulls air inside the case from the front, the exhaust fan, a Antec Tricool coming with the SLK3000B, pushes air out to the back; in addition, the psu fan pulls air from the top of the motherboard through the psu to the back.
Since I bought a second Papst 4412 F/2GLL, I tried positioning this fan in different locations to see which one conributes the best to the cooling. One of these is the back of the case, in the bottom, where there would be additional cards: it pushes air out of the case through the back slots.


Posted by: z24 | Wed, May 04 2011 |
Category: /hardware |
Permanent link |
home
Tagged as: case, cooling, fan, hardware, silencing
How to force Firefox to open in a new tab a link that tries to open a new window
Type about:config
in the address bar, read the warning and confirm.
Then change the value of browser.link.open_newwindow.restriction
to 0.
Done.
See mozillazine about:config FAQ for a detailed description of the variables and values.
Posted by: Z24.firefox | Wed, May 04 2011 |
Category: /configurations/both |
Permanent link |
home
Tagged as: configuration, firefox, web
AMD Cool'n'Quiet
I'll try to answer these questions:
- What is AMD Cool'n'Quiet?
- Requirements
- Does it really work?


Posted by: Z24 | Wed, May 04 2011 |
Category: /configurations/both |
Permanent link |
home
Tagged as: configuration, cool'n'quiet, cooling, cpu, hardware, silencing, software, windows


Posted by: z24 | Mon, Feb 09 2009 |
Category: /hardware |
Permanent link |
home
Tagged as: cooling, fan, fan controller, hardware, silencing
- Introduction
- Pictures
- Making a flat surface
- Installing - ouch, it's not compatible with some MSI K9N Platinum


Posted by: z24 | Mon, Feb 09 2009 |
Category: /hardware |
Permanent link |
home
Tagged as: cooling, cpu, hardware, heatsink, lapping, motherboard, silencing


Posted by: z24 | Mon, Feb 09 2009 |
Category: /hardware |
Permanent link |
home
Tagged as: cooling, cpu, hardware, heatsink, lapping, motherboard, silencing