命令提示字元
diskpart
list disk #列出電腦所有的實體磁碟#
select disk {n} # n是隨身碟的磁碟編號#
clean #清理隨身碟,不會有任何分割區#
create partition primary #在隨身碟建立主分割區#
select partition 1 #選取隨身碟唯一的分割區#
active #將分割區設為使用中,變成可以開機的分割區#
format fs=fat32 quick #以快速模式格式化成FAT32檔案系統#
assign #磁碟代號指定給在隨身碟建立、格式化過的分割區#
exit #結束diskpart#
Windows 7光碟boot資料夾
bootsect /nt60 {drive letter:}
---------------------------------------------------------------------------------------
簡單的作法
Windows 7
命令提示字元
NTFS:format {drive letter:} /q /fs:ntfs
Windows XP
命令提示字元
format {drive letter:} /fs:fat32 /q
convert {drive letter:} /fs:ntfs
bootsect /nt60 {drive letter:}
[bootsect:在Windows 7安裝光碟boot資料夾中]
2012年11月21日 星期三
Linux查硬體資訊指令
主機板
lshw -c bus | head
dmidecode -t baseboard
BIOS
dmidecode -t bios
中央處理器
less /proc/cpuinfo
lshw -c processor
dmidecode -t processor
記憶體
dmidecode -t memory
硬碟
lshw -c disk
hdparm -I /dev/sda
網路卡
lspci | grep -i eth (查看網卡名稱)
ethtool -i eth0 (查看網卡 driver)
顯示卡
lspci | grep VGA
lshw -c display
USB 裝置
lsusb
2012年9月24日 星期一
Ubuntu RAID 5 4TB HD
OS : Ubuntu 14.10 AMD64
HD : 2TB X 3
RAID : 5 (4TB)
TABLE : GPT
磁區分割:
開機區:EFI :500 M
根目錄:50 G
SWAP:5 G
HOME:3800721 M
BOOT OPTION
Advanced options for ubuntu
Linux 3.16.0-23-generic
GRUB
Class ubuntu
Vmlinuz-3.16.0-30-generic -> Vmlinuz-3.16.0-23-generic
HD : 2TB X 3
RAID : 5 (4TB)
TABLE : GPT
磁區分割:
開機區:EFI :500 M
根目錄:50 G
SWAP:5 G
HOME:3800721 M
BOOT OPTION
Advanced options for ubuntu
Linux 3.16.0-23-generic
GRUB
Class ubuntu
Vmlinuz-3.16.0-30-generic -> Vmlinuz-3.16.0-23-generic
2012年8月30日 星期四
Windows 7 刪除 100M
Windows 7 系統
命令提式字元 (按右鍵 以系統管理員身份執行)
diskpart
DISKPART>list disk (列出硬碟以便確認) 筆者硬碟為磁碟0
DISKPART>select disk 0 (選擇磁碟0 ,0是剛剛確認的磁碟順序)
DISKPART>list partition (確認磁碟分區)
DISKPART>select partition 1 (1是目前確認的100MB的磁碟分區代號)
DISKPART>inactive (將此磁區設為非活動)
DISKPART>select partition 2 (選擇系統C磁碟)
DISKPART>active (將C磁碟設為活動)
設定完成後打exit 離開
將開機資訊寫到C槽系統磁區
命令提式字元 (按右鍵 以系統管理員身份執行)
bcdboot c:\windows /s c: /l zh-tw
2012年8月27日 星期一
2012年6月19日 星期二
PHP MySQL Apache 安裝
安裝MySQL-Server
apt-get install mysql-server
安裝Apache HTTP Server
apt-get install apache2
安裝PHP for Apache HTTP Server
apt-get install php5
安裝MySQL for Apache HTTP Server
apt-get install libapache2-mod-auth-mysql
apt-get install php5-mysql
2012年5月15日 星期二
Wwindows 7 啟用 Administrator 帳戶
使用命令提示字元
啟用 Administrator 帳戶
net user administrator /active:yes
停用 Administrator 帳戶
net user administrator /active:no
啟用 Administrator 帳戶
net user administrator /active:yes
停用 Administrator 帳戶
net user administrator /active:no
Word 2010無法正常啟用
失敗的應用程式名稱 : WINWORD.EXE,版本: 14.0.6024.1000,時間戳記: 0x4d83e2f6
失敗的模組名稱 : btmofficea.dll,版本: 1.1.0.51,時間戳記: 0x4d6e642d
例外狀況碼 : 0xc0000005
錯誤位移 : 0x00000000000065df
失敗的處理程序識別碼 : 0x1450
失敗的應用程式開始時間 : 0x01cd32a3cbae69fa
失敗的應用程式路徑 : C:\Program Files\Microsoft Office\Office14\WINWORD.EXE
失敗的模組路徑 : C:\Program Files (x86)\Intel\Bluetooth\btmofficea.dll
報告識別碼 : 1817d9ed-9e97-11e1-8262-ac72894fe2b8
開啟WORD 2010
檔案 -> 選項 -> 增益集 -> 下面管理 -> 選擇COM 增益集
-> 執行 -> Send to Bluetooth不勾 > 確定
失敗的模組名稱 : btmofficea.dll,版本: 1.1.0.51,時間戳記: 0x4d6e642d
例外狀況碼 : 0xc0000005
錯誤位移 : 0x00000000000065df
失敗的處理程序識別碼 : 0x1450
失敗的應用程式開始時間 : 0x01cd32a3cbae69fa
失敗的應用程式路徑 : C:\Program Files\Microsoft Office\Office14\WINWORD.EXE
失敗的模組路徑 : C:\Program Files (x86)\Intel\Bluetooth\btmofficea.dll
報告識別碼 : 1817d9ed-9e97-11e1-8262-ac72894fe2b8
開啟WORD 2010
檔案 -> 選項 -> 增益集 -> 下面管理 -> 選擇COM 增益集
-> 執行 -> Send to Bluetooth不勾 > 確定
2012年3月24日 星期六
SONY VAIO VGN-SZ36TP FN功能鍵
SONY VAIO VGN-SZ36TP FN功能鍵
Sony Shared Library
檔案名稱: SSL-060301-CHT.EXE
Sony Utilities DLL
檔案名稱: SUD-060301-CHT.EXE
VAIO Event Service
檔案名稱: VES-060302-CHT.EXE
Sony Shared Library
檔案名稱: SSL-060301-CHT.EXE
Sony Utilities DLL
檔案名稱: SUD-060301-CHT.EXE
VAIO Event Service
檔案名稱: VES-060302-CHT.EXE
2012年3月13日 星期二
Outlook 2003 帳號匯出
Outlook 2003 帳號匯出
HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\
Windows Messaging Subsystem\Profiles\Outlook
HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\
Windows Messaging Subsystem\Profiles\Outlook
訂閱:
文章 (Atom)