Archive for April, 2007

Unlock Your Xbox Hard Drive

April 14th, 2007 No comments

这篇教程是由GTac01发表在Xbox-Scene上面的。我觉得比较有用,就无耻地转载过来了。原文请见 How to Unlock Your Xbox HD on a PC

先简单介绍一下为什么要解锁Xbox硬盘吧。提到Xbox硬盘就要先说一下Xbox。Xbox是微软生产的家用游戏机,是 Bill Gates 用来和索尼的 PS2 以及任天堂的 Game Cube 抢占游戏机市场的。Xbox其实就是一台为游戏做了优化的个人计算机,因此Xbox的内部结构和PC很相似,由CPU、内存、显卡、硬盘、光驱等等部件组成。既然Xbox是微软开发的游戏机,微软的本意当然是Xbox只能用来运行正版游戏以便赚取大把大把的$$$$。不过天才的Hacker们很快就破解了Xbox的保护机制,做出了能够绕过Xbox保护机制的modchip。而且很快就有了连modchip都不需要的 software hack。总之,Xbox被hack之后就能够运行备份游戏以及其它的 homebrew software。

Xbox玩家把Xbox hack之后,通常会把Xbox原装的10G硬盘取出来,代之以一个120G以上的大容量硬盘。有了这个大容量硬盘,玩家就可以把Xbox游戏拷贝到硬盘上,让游戏直接从硬盘上运行,这样就省去了每次开机放盘的动作。另外,玩家还可以把电影传到硬盘上,用XBMC之类的软件播放,就可以把Xbox变成一个家庭影院了。

OK,说了这么多废话,下面就该考虑如何处置那个被换出来的Xbox原装硬盘了。很自然的,大家会想到把它接到自己计算机的 IDE 口上作为计算机的一个硬盘使用。嗯,这是一个 brilliant idea! 不过就是有一个问题:Xbox的原装硬盘是被锁住的。ATA 的规格标准允许使用一个32字节的密码把硬盘锁住以提高硬盘的安全性。硬盘一旦被锁,它就不能被读取写入(除非使用相同的密码)。计算机的BIOS仍然能够检测到这个硬盘,但是发送给它的任何ATA命令都会返回错误。Xbox的原装硬盘就是被加了密码锁住的。每一台Xbox的主板都知道这一台Xbox的原装硬盘的密码,所以能都对它进行读写。如果要把Xbox的原装硬盘挪到PC上使用,就必须把它解锁。这就是这篇教程的用途。下面我们来看看如何解锁Xbox的原装硬盘吧。

How to unlock your Xbox HD on a PC and use it afterwards as HD for your PC (v0.4)
Tutorial written by : GTac01

** UPDATE: this tutorial explain the ‘old’ manual way to unlock xbox harddrives. You can now use homebrew xbox apps to easily unlock a drive with 1 button click. ConfigMagic can unlock harddrives, but also newer versions of EvolutionX dashboards and also all 4th generation modchip OS’. If your Xbox is broken or if for any other reason you want to unlock your Xbox HD on your PC … you can use this method … but you will still need the hdd password. Once a drive is unlocked, you can format and use it in a normal PC **

1). First of all download the “hdd unlocker” here.

2). Then connect your original hdd to your xbox, using Evox, get your hdd password. (in the evolutionx dash go ‘system utils’ then ‘backup’ , this will make a directory called “backup” on the C drive of your xbox. “hddinfo.txt” will contain the HD key). Once you have it, It looks like this:


Rewrite it as followed:


Yeah delete the last zeroes, and print it out, you’ll need it.

3). Now you have to boot DOS (Bootdisk).

Go here for a bootdisk that works with Win98-WinXp.

Once downloaded execute it, insert a Floppy disk in ur computer. It will make that disk a boot disk. Then add the files: hdunlock.exe, hdunlock.pas, hddisabl.exe, and hdddisabl.pas to the bootdisk just created.

4). Now, turn off your computer, install your xbox hdd in your computer. Turn on your computer with bootdisk inserted, and it will ask you to press a key, then press a key, and you are in A:\>.

  1. Type in hdunlock and press enter
    Select your xbox hdd, and enter your hdd password

    it should say DONE

  2. Type in hddisabl
    Select oyur xbox hdd, and enter your xbox hdd password

    it should say DONE.

Congratulations you have unlocked your xbox hdd for formatting.

Categories: Tips and Tricks Tags:

Create a Linux Boot Disk

April 13th, 2007 No comments

这是一篇转载的教程,教你如何制作Linux的启动软盘。原文由gonzalo76发表于,请见 Create a Linux Boot Disk Using Mkbootdisk.

Create a Linux boot disk with mkbootdisk
Tutorial written by gonzalo76

If you forgot to make a boot disk during the Fedora Core 1 Installation process or mayble you lose it, this how to is just for you.

The command you’ll use to make the boot disk is ‘mkbootdisk’. The mkbootdisk can only be executed from a command prompt, that’s why you’ll have to open a terminal.

1. The first step is to find your running kernel version on the machine. This number has to be exact ’cause it’s required by mkbootdisk command. To find the number type: ‘uname -r’. Like this:

[root@pc-gonzalo root]# uname -r

(Thank you ghenry for this)

2. Log on as root with ‘su -‘ command if you are not already logged on, you’ll also need to enter the root password.

[gonzalo@pc-gonzalo gonzalo]$ su –
[root@pc-gonzalo root]#

3. Make sure that /dev/fd0 is unmounted. To check this type: mount and check if your floppy drive is mounted or not. If it is mounted, unmount it with the ‘umount’ command like this:

[root@pc-gonzalo root]# umount /dev/fd0

4. Create the boot disk
Label a floppy disk Linux Boot Disk and place it in the drive. Attention, mkbootdisk will erase and replace all information on the disk.
At the root command prompt enter the mkbootdisk command using the kernel number you obtained before. Like this:

[root@pc-gonzalo root]# /sbin/mkbootdisk 2.4.22-1.2174.nptl

You’ll have to use the full pathname for the command. Without the full pathname, you’ll received a ‘Command Not Found’ message. With “su”, instead of “su -” you did not load roots paths, i.e. “su -” loads roots bash_profile, which tells bash that you can run commands from /sbin/. (Thank you ghenry for this )

After pressing [Enter], the following message is displayed:
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press to continue or ^C to abort:

At this point, press [Enter] to confirm. After mkbootdisk copies the kernel and all other necessary programs to the disk, the command prompt will return.

mkbootdisk copies the following files to the floppy disk:

boot.msg script:
Press (or wait 10 seconds) to boot your Red Hat Linux system from /dev/hda5. You may override the default linux kernel parameters by typing ‘linux params‘, followed by if you like.

Of course, I edited this script to:
Press (or wait 10 seconds) to boot your Fedora Core Linux system from /dev/hda5. You may override the default linux kernel parameters by typing ‘linux params‘, followed by if you like. Have a Fedora day !!!

syslinux.cfg script:
default linux
prompt 1
display boot.msg
timeout 100
label linux
kernel vmlinuz
append initrd=initrd.img ro hdc=ide-scsi apm=off acpi=on root=/dev/hda5

/dev/hda5 is where I have the Fedora’s boot partition

5. Don’t forget to test your boot disk !!!

More info at TechRepublic

This method does not work for Fedora Core 2 and 3. You’ll receive an error message like this one:

[root@linux root]# /sbin/mkbootdisk 2.6.5-1.358
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press to continue or ^C to abort:
cp: writing `/tmp/mkbootdisk.Vm3185/initrd.img’: No space left on device
cat: write error: No space left on device
cat: write error: No space left on device
20+0 records in
20+0 records out

For Fedora Core 3, installing GRUB on a floppy disk:

# /sbin/grub-install /dev/fd0
Installation finished. No error reported.
This is the contents of the device map /boot/grub/
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install’.

# This device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda

Everytime you install a new kernel you’ll need to update your floppy disk running “/sbin/grub-install /dev/fd0” again.

Categories: Tips and Tricks Tags: