1. Format your USB Flash Drive to use a Single Partition:
Open a terminal and type sudo su
Type fdisk -l (and note which device is your USB Drive)
Type fdisk /dev/sdx (replacing x with your actual usb device)
Type d (to delete the existing partition)
Type n (to create a new partition)
Type p (for primary partition)
Type 1 (to create the first partition)
Press Enter (to use the first cylinder)
Press Enter again (to use the default value as the last cylinder)
Type a (for active)
Type 1 (to mark the first partition active "bootable")
Type w (to write the changes and close fdisk)
2012/11/29
WinPE 4.0
1. Download the Assessment and Deployment Kit (ADK) from MSDN subscribers download.
2. Install ADK by running adksetup.exe, and make sure that Windows Preinstallation Environment is selected (selected by default).
3. Open "Deployment and Image Tools Environment" as administrator.
4. Type "copype amd64 C:\WinPE_amd64" to create folder.
5. Create C:\mount folder.
6. Type "dism /mount-wim /wimfile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /mountdir:C:\mount" to mount wim file.
7. Type "dism /image:C:\WinPE_amd64\mount /add-driver /driver:C:\driver /recurse
dism /image:C:\mount /get-drivers" to add your drivers.
8. Type "dism /unmount-wim /mountdir:C:\mount /commit" to unmount wim file.
9. Type "MakeWinPEMedia /iso C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso" to make iso file.
10. Type "MakeWinPEMedia /ufd C:\WinPE_amd64 X:" to make WinPE bootable USB key.
2. Install ADK by running adksetup.exe, and make sure that Windows Preinstallation Environment is selected (selected by default).
3. Open "Deployment and Image Tools Environment" as administrator.
4. Type "copype amd64 C:\WinPE_amd64" to create folder.
5. Create C:\mount folder.
6. Type "dism /mount-wim /wimfile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /mountdir:C:\mount" to mount wim file.
7. Type "dism /image:C:\WinPE_amd64\mount /add-driver /driver:C:\driver /recurse
dism /image:C:\mount /get-drivers" to add your drivers.
8. Type "dism /unmount-wim /mountdir:C:\mount /commit" to unmount wim file.
9. Type "MakeWinPEMedia /iso C:\WinPE_amd64 C:\WinPE_amd64\WinPE_amd64.iso" to make iso file.
10. Type "MakeWinPEMedia /ufd C:\WinPE_amd64 X:" to make WinPE bootable USB key.
2012/11/28
WDS Server - Use Windows AIK tool to add new driver
1. Find your boot.wim file location.
2. Open Windows AIK tool (command mode).
3. Use "dism /get-wiminfo /wimfile:X:\boot.wim" to get Windows Setup information.
4. Check Windows Setup is Index 2.
5. Create mountboot folder.
6. Use "dism /mount-wim /wimfile:X:\boot.wim /index:2 /mountdir:X:mountboot" to extract boot.wim.
7. Use "dism /image:X:\mountboot /add-driver /driver:X:\driver folder\xxx.inf" to install driver.
8. Use "dism /unmount-wim /mountdir:X:\mountboot /commit" to package your new boot.wim file.
2012/11/27
Ubuntu Commands
中文字型異常修正
sudo sed -i
'/DejaVu/d ; /Bitstream Vera/d ; /WenQuanYi Bitmap Song/d'
/etc/fonts/conf.avail/69-language-selector*
sudo rm
/usr/share/locale-langpack/zh*/LC_MESSAGES/friendly-recovery.mo
/usr/share/locale-langpack/zh*/LC_MESSAGES/newt.mo
移除面板上的 Me 選單
sudo apt-get
remove --purge indicator-me
更換輸入法
sudo apt-get
install scim scim-chewing && sudo im-switch -s scim-bridge
修正 Gedit 的亂碼
gconftool-2 -s
/apps/gedit-2/preferences/encodings/auto_detected --type list --list-type
string '[UTF-8,BIG5,BIG5-HKSCS,EUC-TW,CURRENT,ISO-8859-15,UTF-16]'
2012/11/26
2012/11/25
My Grub4Dos menu list v4.5c
color dark-gray/blue white/blue brown/blue green/blue
timeout 10
default 0
color border=0xFF00FF
graphicsmode -1 640:800
splashimage /tae.bmp
title 1. DOS
chainloader /io.sys
timeout 10
default 0
color border=0xFF00FF
graphicsmode -1 640:800
splashimage /tae.bmp
title 1. DOS
chainloader /io.sys
訂閱:
文章 (Atom)