2009-03-16

How to Create a linux - bootable USB Memory Key within Windows

These are the basic steps for installing linux system file (.zip in general ) to USB :

  1. Get linux system zip file and Syslinux
  2. Format the drive
  3. Unzip linux system zip file onto the drive
  4. Type Syslinux.exe -ma X: (replace X with your USB drive letter) to make the drive bootable
Example : GParted Live on USB

2009-03-14

How to Create a DOS - bootable USB Memory Key within Windows

Method 1

If you do not have a floppy disk drive, you may want to create a bootable USB memory key which will allow you to boot into a pure DOS environment. This can be very useful if you want to flash your BIOS. Here is a step by step procedure on how to perform this operation.
NOTE: Your computer must support booting from a USB device in order to boot from the USB Memory Key.
Step 1 - Download and install the Windows based HP USB Disk Format Tool.
Step 2 - Download the Windows 98 system files from HERE. This is a zip file that contains all of the system files that you will need. Create a new folder and extract these files into the folder that you just created. Make sure that you preserve the directory structure.
Step 3 - Insert the USB Memory Key into the USB port of your computer.
Step 4 - Launch the HP format tool program.
Step 5 - Under the file system drop down list, select FAT32. This is important to do correctly.
Step 6 - Check the box next to Create a DOS startup disk.
Select "using DOS system files located at:" Then click on the square box with 3 dots on it.
Step 7 - Browse to the folder that you extracted the Win98 system files and then click on the OK button.
Step 8 - Now click the Start button.
Step 9 - You will receive a warning message. Make sure you have the USB memory key selected. If you are sure, then click the Yes button.
Step 10 - Your USB memory key is now being formated and the DOS system files will be copied onto it.

Once the program has completed the operation, click on the Close button.
You now have a bootable USB memory key.
On the USB memory key, you will see COMMAND.EXE, IO.SYS and MSDOS.SYS. These are the basic Win98 system files.
If you want to have CDROM support when you boot from your USB memory key, copy these files, including the CDROM folder to the memory key. These files are the ones that you extracted earlier to a folder.
If you copy all of these files to the memory key, you will have mouse support for any DOS program that support this feature.
You will also have many other DOS utilities that are very useful.

Method 2

Executing bootflashdos

No matter which method you applied. Don't forget to change BIOS setting. In BIOS->Hard Disk Boot Priority, select USB-HDD01 XXXXX as priority 1.

Reference : 1. How to create a boot disk

2009-02-17

Windows Update 無法更新

最近的電腦很奇怪
不知道為什麼會無法更新
執行windows update 都是沒有問題
然後會出現一堆package要更新
選擇更新後卻失敗

後來發現應該是電腦中缺少了一些檔案..
用下面的方式修復應該就可以了

1.開始->執行->輸入 cmd
2.執行下面的指令,每一行執行完後要按ENTER鍵
regsvr32 wuapi.dll
regsvr32 wuaueng.dll
regsvr32 wuaueng1.dll
regsvr32 wucltui.dll
regsvr32 wups.dll
regsvr32 wups2.dll
regsvr32 wuweb.dll

如此一來updater需要的dll應該就會都有了...問題也就解決了~~

2009-02-07

Adding a new slice, problem with sysinstall

1. Create a new slice : sysinstall->Configure->Fdisk

2. Make sure only one ACTIVE slice ( partition )
fdisk /dev/ad0
fdisk -a -1 /dev/ad0

3. Add a 'standard' label, remember disks start from zero, but slices start
from one!:
# bsdlabel -w /dev/ad0s3

4. Edit the label:
# bsdlabel - e /dev/ad0s3
Change fstype on the line beginning a: from unknown to 4.2BSD, then save
and exit.

5. Format the new partition:
# newfs /dev/ad0s3a

6. Test mount the partition:
# mount /dev/ad0s3a /mnt

7. Edit /etc/fstab. Add a new line similar to the line for /dev/ad0s2a.
Careful! getting fstab wrong can prevent your system starting.
Test the new fstab with # mount -a.

2009-02-01

解決 XP 硬碟轉個不停的方法

用 regedit 更改..在
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction

Enable 的 Key ,改為 N 就可以了.
在Enable 上面按右鍵, 修改就可以了.

XP有一系列的自我調整功能, 這種功能的設計, 可以根據你的系統設定與使用形態, 而為你做效能的改進. 例如, XP會監視你使用什麼應用程式, 每三天當中有閒置的時候, 它就會自動在硬碟上將這些檔案放在一起, 並擺放在硬碟較密集的外圍區. 這將直接減少硬碟的搜索時間, 並且還將會提高應用程式的載入速度, 特別是在大容量的硬碟機上.

所謂Y是這樣的:XP有一系列的自我調整功能,這種功能的設計, 可以根據你的系統設定與使用形態,而為你做效能的改進, 例如, XP會監視你使用什麼應用程式, 等幾天如果有當中有閒置的時候, 它就會自動在硬碟上將這些檔案放在一起, 並擺放在硬碟較密集的外圍區. 這將直接減少硬碟的搜索時間, 並且還將會提高應用程式的載入速度, 特別是在大容量的硬碟機上.

那如果改成N的話, 就是代表這個特殊功能關閉, 也就是說, 你所裝的應用程式有閒置的時候, 作業系統是採去不做任何動作的作法, 一切都讓使用者自己來處理, 相對的檔案如果越塞越多的話, 你就會感覺的到以後一開啟任何應用程式或是檔案就會變得很慢了.

解除 Windows XP 自動壓縮/解壓縮功能

執行-->regsvr32 /u zipfldr.dll

設定 "我最近的文件"

(1) Windows XP 結束時清除最近開啟文件的歷程紀錄的方法
以電腦系統管理員的權限登錄
開始/執行
輸入 gpedit.msc 確定
本機電腦 原則/使用者設定/系統管理範本/[開始]功能表和工作列
選右邊 結束時清除最近開啟文件的歷程紀錄 進入
設為已啟用

(2) 如果要把記錄的功能關閉
選 不保留最近檔案開啟的記錄

(3) 如果不想顯示 "我最近的文件" 選項出現在開始功能表
選 [開始] 功能表中移除 [文件] 功能表