# less /var/lib/dhcp3/dhcpd.leases
[Python] DHCP3 leases parser - Pastebin.com
27 m = re.match(r"\s+(starts)\s+\d+\s+(\d+\/\d+\/\d+)", line);
28 if m:
29 key, value = m.groups()
30 if key == "starts":
31 lease["time"] = value.lower()
2012年1月1日 星期日
2011年12月30日 星期五
2011年12月21日 星期三
Computers Boot Up
Reference :
How Computers Boot Up : Gustavo Duarte
The Kernel Boot Process : Gustavo Duarte
http://snow.nl/dist/xhtmlc/ch02.html
The MBR itself contains the first stage of the boot loader. GRUB calls this stage 1
The MBR code plus code loaded in step 2 then read a file containing the second stage of the boot loader. In GRUB this is GRUB Stage 2, and in Windows Server this is c:\NTLDR. If step 2 fails in Windows you’d get a message like “NTLDR is missing”. The stage 2 code then reads a boot configuration file (e.g., grub.conf in GRUB, boot.ini in Windows). It then presents boot choices to the user or simply goes ahead in a single-boot system.
At this point the boot loader code needs to fire up a kernel. It must know enough about file systems to read the kernel from the boot partition. In Linux this means reading a file like “vmlinuz-2.6.22-14-server” containing the kernel, loading the file into memory and jumping to the kernel bootstrap code. In Windows Server 2003 some of the kernel start-up code is separate from the kernel image itself and is actually embedded into NTLDR. After performing several initializations, NTDLR loads the kernel image from file c:\Windows\System32\ntoskrnl.exe and, just as GRUB does, jumps to the kernel entry point.
How Computers Boot Up : Gustavo Duarte
The Kernel Boot Process : Gustavo Duarte
http://snow.nl/dist/xhtmlc/ch02.html
The MBR itself contains the first stage of the boot loader. GRUB calls this stage 1
The MBR code plus code loaded in step 2 then read a file containing the second stage of the boot loader. In GRUB this is GRUB Stage 2, and in Windows Server this is c:\NTLDR. If step 2 fails in Windows you’d get a message like “NTLDR is missing”. The stage 2 code then reads a boot configuration file (e.g., grub.conf in GRUB, boot.ini in Windows). It then presents boot choices to the user or simply goes ahead in a single-boot system.
At this point the boot loader code needs to fire up a kernel. It must know enough about file systems to read the kernel from the boot partition. In Linux this means reading a file like “vmlinuz-2.6.22-14-server” containing the kernel, loading the file into memory and jumping to the kernel bootstrap code. In Windows Server 2003 some of the kernel start-up code is separate from the kernel image itself and is actually embedded into NTLDR. After performing several initializations, NTDLR loads the kernel image from file c:\Windows\System32\ntoskrnl.exe and, just as GRUB does, jumps to the kernel entry point.
2011年12月20日 星期二
2011年12月19日 星期一
VirtualBox 中 Ctrl Alt Del 登入 Windows
right ctrl+del instead of ctrl-alt-del
Reference :
https://forums.virtualbox.org/viewtopic.php?f=1&t=15380
Windows Server 2003 部署版 燒錄可開機光碟
1. 解開部署版 (SW_CD_Windows_Svr_Std_2003_R2_32-BIT_X64_ChnTrad_32Bit_CD_1_MLF_X13-46536) 檔案至資料夾
2. 以 Nero 製作資料光碟 --> 此時光碟無法開機引導
3. 找來一片 Win 2k3 光碟, 以 UltraISO 提取開機檔案 --> 如 NRMSEVL_TW.bif
4. 以 UltraISO 讀取光碟映像, 並載入開機檔案, 之後儲存
5. 即可稍錄製光碟或以 DAEMON Tools Lite 掛載
2. 以 Nero 製作資料光碟 --> 此時光碟無法開機引導
3. 找來一片 Win 2k3 光碟, 以 UltraISO 提取開機檔案 --> 如 NRMSEVL_TW.bif
4. 以 UltraISO 讀取光碟映像, 並載入開機檔案, 之後儲存
5. 即可稍錄製光碟或以 DAEMON Tools Lite 掛載
2011年12月16日 星期五
訂閱:
文章 (Atom)