Linuxã§ThinkPad X220ã®BIOSãã¢ãããã¼ããã
æ¦è¦
Linuxã使ã£ã¦ThinkPad X220ã®BIOSãã¢ãããã¼ãã§ããã®ã§æ¹æ³ã説æãã¾ãã
ThinkPadã®BIOSãã¢ãããã¼ããããã¨èª¿ã¹ãã¨ãWindowsç¨ã®èª¬æãå¤ããéWindowsãªç°å¢ã§ã®æ¹æ³ã«ã¤ãã¦ã®èª¬æãå°ãªãã£ãã®ã§ãåèè³æã¨ãã¦è¨é²ãã¾ãã
ThinkPad X220 + Arch Linuxã§ã®èª¬æã«ãªãã¾ãããä»ã®ThinkPadãä»ã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãBSDç³»ã§ãåæ§ã®æ¹æ³ã§ã§ããã¨æãã¾ãã
大ã¾ããªæµãã¯æ¬¡ã®ããã«ãªãã¾ãã
- èµ·åCDç¨BIOSã¢ãããã¼ãã¦ã¼ãã£ãªãã£ãå ¥æãã
- CDç¨ã¤ã¡ã¼ã¸ããUSBã¡ã¢ãªã¼ç¨ã¤ã¡ã¼ã¸ã«å¤æãã
- USBã¡ã¢ãªã¼ã§èµ·åãã¦BIOSãã¢ãããã¼ããã
1. èµ·åCDç¨BIOSã¢ãããã¼ãã¦ã¼ãã£ãªãã£ãå ¥æãã
ã¢ãããã¼ããããBIOSããã¦ã³ãã¼ããã¾ãããã®ã¨ãå¿ ããèµ·åCDç¨ãã¨æ¸ããã¦ãããã®ãé¸ãã§ãã ãããç¾æç¹ã§ã®ThinkPad X220ç¨ææ°BIOS㯠BIOS ã¢ãããã¼ã ã¦ã¼ãã£ãªã㣠(èµ·åCDç¨) (Windows 8 32bit, 64bit/ 7 32bit, 64bit/ Vista 32bit, 64bit/ XP) - ThinkPad X220, X220i, X220 Tablet ã«ãªãã¾ãã
2. CDç¨ã¤ã¡ã¼ã¸ããUSBã¡ã¢ãªã¼ç¨ã¤ã¡ã¼ã¸ã«å¤æãã
å ¥æããã¤ã¡ã¼ã¸ã¯CDç¨ãªã®ã§ããããUSBã¡ã¢ãªã¼ããèµ·åã§ããã¤ã¡ã¼ã¸ã«å¤æãã¾ã (CDã«æ¸ãè¾¼ãã§ä½¿ãå ´åã¯ãã®ã¾ã¾ã§æ§ãã¾ãã)ã
2-1. å¤æãã
ããã§ã¯å¤æããããã®ãã¼ã«ã¨ã㦠geteltrorito.pl ã使ãã¾ããArch Linuxã®å ´åã¯æ¬¡ã®ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã
yaourt -S geteltorito
ãã¦ã³ãã¼ãããBIOSã¢ãããã¼ãã¦ã¼ãã£ãªãã£ã®ãã¡ã¤ã«ã 8duj28jp.iso ã ã¨ãã¾ããããã bios.img ã¨ããUSBç¨ã¤ã¡ã¼ã¸ã«å¤æããã«ã¯æ¬¡ã®ããã«æå®ãã¾ãã
geteltorito.pl -o bios.img 8duj28jp.iso
ããã¨æ¬¡ã®ããã«è¡¨ç¤ºãããbios.img ãä½æããã¾ãã
Booting catalog starts at sector: 20 Manufacturer of CD: NERO BURNING ROM Image architecture: x86 Boot media type is: harddisk El Torito image starts at sector 27 and has 63488 sector(s) of 512 Bytes Image has been written to file "bios.img".
2-2. USBã¡ã¢ãªã¼ã®ããã¤ã¹åã調ã¹ã
USBã¡ã¢ãªã¼ãå·®ãè¾¼ã¿ã¾ããããèªåãã¦ã³ã(ä¸èº«ã表示ã§ããç¶æ )ã«ãªã£ãããã¦ã³ãã解é¤ãã¦ãã ããã
USBã¡ã¢ãªã¼ã®ããã¤ã¹åã調ã¹ã¾ãããã¨ãã°USBã¡ã¢ãªã¼ãå·®ãè¾¼ãã ããå¾ã«ã·ã§ã«ãã次ã®ããã«å ¥åããã¨è¡¨ç¤ºããã¦ãããã¨ãããã¾ãã
dmesg | tail
çµæ
[ 314.012890] scsi host6: usb-storage 2-1:1.0 [ 314.013209] usbcore: registered new interface driver usb-storage [ 314.022851] usbcore: registered new interface driver uas [ 315.016847] scsi 6:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4 [ 315.019114] sd 6:0:0:0: [sdb] 62566400 512-byte logical blocks: (32.0 GB/29.8 GiB) [ 315.019789] sd 6:0:0:0: [sdb] Write Protect is off [ 315.019796] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00 [ 315.020531] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 315.024735] sdb: sdb1 [ 315.026904] sd 6:0:0:0: [sdb] Attached SCSI removable disk
ãã®å ´åãããã¤ã¹å㯠sdb ã§ãã
ããã¤ã¹åãééããã¨ä½¿ç¨ä¸ã® HDD ã®å 容ãå£ããããã¦ãã¾ãã¾ãã®ã§ååã«æ³¨æãã¦ãã ããã
2-3. USBã¡ã¢ãªã¼ã«æ¸ãè¾¼ã
dd ã³ãã³ãã§å ã»ã©ä½æãã bios.img ãUSBã¡ã¢ãªã¼ã«æ¸ãè¾¼ã¿ã¾ãã管çè 権éã§ä»¥ä¸ãå®è¡ãã¾ãã
dd if=bios.img of=/dev/ããã¤ã¹å bs=512k
ç§ã®ç°å¢ã§ã¯ããã¤ã¹å㯠sdb ã ã£ãã®ã§ä»¥ä¸ã®ããã«å®è¡ãã¾ããã
dd if=bios.img of=/dev/sdb bs=512k
çµæ
62+0 ã¬ã³ã¼ãå ¥å 62+0 ã¬ã³ã¼ãåºå 32505856 bytes (33 MB, 31 MiB) copied, 4.40096 s, 7.4 MB/s
3. USBã¡ã¢ãªã¼ã§èµ·åãã¦BIOSãã¢ãããã¼ããã
USBã¡ã¢ãªã¼ãæ¿å ¥ããã¾ã¾ã§åèµ·åãã¾ãã
ThinkPadã®åæç»é¢ã§F1ãã¼ãæ¼ãã¦BIOSè¨å®ç»é¢ã«å ¥ãã¾ããStartupã¿ãã§ä»¥ä¸ãè¨å®ãã¾ãã
F10ãã¼ãæ¼ãã¦ä¿åãã¦åèµ·åãã¾ãã
åã³ThinkPadã®åæç»é¢ã表示ãããã®ã§F12ãã¼ãæ¼ãã¦Boot Menuã表示ããã¾ããUSBã¡ã¢ãªã¼ãé¸ãã§èµ·åãã¾ããUSBã¡ã¢ãªã¼ã¯ããã¨ãã°ãUSB HDD: Generic Flash Diskãã®ããã«è¡¨ç¤ºããã¾ãã
ç¡äºã«USBã¡ã¢ãªã¼ããèµ·åã§ããã¨ã¡ãã¥ã¼ã表示ããã¾ãã®ã§ãã·ã¹ãã ã»ããã°ã©ã ã®æ´æ°ããé¸æãã¾ããé»æºã±ã¼ãã«ãã¤ãªãã§ããããªã©ããã¤ãã®è³ªåãããã¾ãã®ã§ç¢ºèªããªããé²ããã¨BIOSã¢ãããã¼ããéå§ããã¾ãã
以ä¸ã§BIOSãã¢ãããã¼ãã§ããã¯ãã§ãã
Puppy Linuxã§nmblookupã使ã
nmblookupã¨ã¯
Puppy LinuxããLANä¸ã®Windowsãã·ã³ã«ã¢ã¯ã»ã¹ãããã¨ããæãIPã¢ãã¬ã¹ãå¿
è¦ã«ãªãã¾ãã
Windowsã®ãã·ã³åããIPã¢ãã¬ã¹ãæ¢ãã³ãã³ããnmblookupã§ãã
ããããåç´ã«nmblookupãå®è¡ãã¦ã "name query failed to find name
Puppy Linuxã§nmblookupã使ãããã«ã¯ã次ã®2ã¤ãå®è¡ããå¿ è¦ãããã¾ãã
- ãã¡ã¤ã¢ã¦ã©ã¼ã«ã®ãã¼ããéã
- nmblookupã«-rãªãã·ã§ã³ãã¤ãã¦å®è¡ãã
1. ãã¡ã¤ã¢ã¦ã©ã¼ã«ã®ãã¼ããéã
UDPãã¼ã137ãéãã¾ãã
â»ä»¥ä¸ã®æé ã¯Puppy Linuxã§Sambaãªã©ã®ãµã¼ãã¹ãæä¾ãã¦ããªãå ´åã®è¨å®ã§ãããµã¼ãã¹ãæä¾ãã¦ããå ´åã«ã¯ãããã«å¿ããè¨å®ã«ããå¿ è¦ãããã¾ãããªããç¾å¨ã®è¨å®ã¯/etc/rc.d/rc.firewallã®å é è¿ãã«ãPERMIT="22/tcp"ãã®ãããªå½¢ã§å ¥ã£ã¦ãã¾ãã
1. ã¡ãã¥ã¼ â ãããã¯ã¼ã¯ â Linux-Firewall ãã¡ã¤ã¢ã¦ã©ã¼ã« ãã¯ãªãã¯ãã¾ãã
2. ãcustomããé¸ã³ãOKãã¯ãªãã¯ãã¾ãã
3. ãotherãã« "*" ãã¼ã¯ãã¤ããOKãã¯ãªãã¯ãã¾ãã
4. ããã¹ãããã¯ã¹ã«ã137/udpãã¨å ¥åããOKãã¯ãªãã¯ãã¾ãã
5. ãANYããé¸ã³ãOKãã¯ãªãã¯ãã¾ãã
6. NOãã¯ãªãã¯ãã¾ãã(Puppy Linuxãã¤ã³ã¿ã¼ãããæ¥ç¶ã«ã¼ã¿ã¼ã«ãã¦ããå ´åã¯Yesã«ãã¾ãã)
7. ããã¹ãããã¯ã¹ã空æ¬ã«ããã¾ã¾OKãã¯ãªãã¯ãã¾ãã
8. Yesãã¯ãªãã¯ãã¾ããè¨å®ããã¹ãããã¾ããã[PASSED]ãã¨è¡¨ç¤ºãããã°OKã§ãã
9. Yesãã¯ãªãã¯ãã¾ããè¨å®ãã¤ã³ã¹ãã¼ã«ããã¾ãã
Puppy LinuxãUSBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ãã
Puppy LinuxãUSBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ãã¦ä½¿ãå§ãã¾ããã
USBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ããå©ç¹ã»æ¬ ç¹
- å©ç¹
- æ¢åã®OSç°å¢ãå£ããªãããæ°è»½ã«ä½¿ãã
- åºå ã®PCã§ãã¤ãã®ç°å¢ã使ãã
- æ¬ ç¹
- ä¸è¬çã«å èµHDD/SSDã«æ¯ã¹ã¦USBã¡ã¢ãªã¼ã¯èªã¿æ¸ããé ã
- ä¸è¬çã«å èµHDD/SSDã«æ¯ã¹ã¦å®¹éãå°ãªã
Puppy Linuxã§ã¯èµ·åæã«ãã¡ã¤ã«ãUSBããã¡ã¢ãªã¼ä¸ã«èªã¿è¾¼ãã§åä½ãããããåä½ä¸ã«USBã¡ã¢ãªã¼ãèªã¿è¾¼ããã¨ã¯ã»ã¨ãã©ãªããèªã¿æ¸ãé度ã¯ããã»ã©åé¡ã«ãªãã¾ããã
ã¾ããPuppy Linuxã®ã·ã¹ãã ãã¡ã¤ã«(ISOãã¡ã¤ã«)ã¯5.7.1æ¥æ¬èªçã§134MBãªã®ã§ã2ã4GBã®USBã¡ã¢ãªã¼ãããã°ä½è£ã§åãã¾ãã
ã¤ã³ã¹ãã¼ã«æ¹æ³
USBã¡ã¢ãªã¼ã¸ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ä¸»ã«2ã¤ããã¾ãã
- CD-Rãªã©ã®ã¡ãã£ã¢ã§ãã¼ãããUSBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ãã
- Windowsä¸ããUSBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ãã
ã©ã¡ãã®æ¹æ³ã§ã¤ã³ã¹ãã¼ã«ãã¦ããã»ã¨ãã©åãã§ãã(éããããã¾ãããå¾è¿°ãã¾ãã)
2ã®æ¹æ³ã¯CD-Rãªã©ãä½æããæéãå¿ è¦ãªããèªåã2ã®æ¹æ³ã§ã¤ã³ã¹ãã¼ã«ãããããããã§ã¯2ã®æ¹æ³ã説æãã¾ãã
Windowsä¸ããUSBã¡ã¢ãªã¼ã«ã¤ã³ã¹ãã¼ã«ãã
1. ISOãã¡ã¤ã«ãåãå¯ãã
ã¯ããã«ã¤ã³ã¹ãã¼ã©ã®ISOãã¡ã¤ã«ãåãå¯ãã¾ããç§ã¯Puppy Linux 日本語版ã®ãã¼ã¸ããprecise-571JP.isoããã¦ã³ãã¼ããã¾ããã
2. UNetbootinãåãå¯ãã
次ã«ãISOãã¡ã¤ã«ãæ¸ãè¾¼ããã¼ã«ã§ããUNetbootinããã¦ã³ãã¼ããã¾ããUNetbootin, Universal Netboot Installer プロジェクト日本語トップページ - OSDN
3. UNetbootinãå®è¡ããUSBã¡ã¢ãªã¼ã«æ¸ãè¾¼ã
ããã£ã¹ã¯ã¤ã¡ã¼ã¸ãæ¬ã«ISOãã¡ã¤ã«ããã©ãã°&ãããããããããã¡ã¤ã«ã®å ´æãæå®ãã¾ãã
ã¿ã¤ãããUSB ãã©ã¤ããããã©ã¤ãã«å®éã®USBãã©ã¤ãåãæå®ããOKãã¯ãªãã¯ãã¾ãã
4. USBã¡ã¢ãªã¼ããèµ·åãã
ãã¡ã©PCã®é»æºãåããUSBã¡ã¢ãªã¼ããèµ·åãã¾ããããå èµHDDããæ®æ®µä½¿ã£ã¦ããOSãèµ·åãã¦ãã¾ã£ãå ´åã«ã¯ãBIOSã®èµ·åãã©ã¤ãè¨å®ã§å èµHDDããUSBã¡ã¢ãªã¼ã®èµ·åé ãå ã«ãã¾ãã
CD-Rãªã©ããã¤ã³ã¹ãã¼ã«ããå ´åã¨ã®éã
UNetbootinã§ã¤ã³ã¹ãã¼ã«ããã¨ããã¡ã¤ã«ãUSBã¡ã¢ãªã¼ã®ç´ä¸ã«å±éããã¾ãã
CD-Rãªã©ã®èµ·åã¡ãã£ã¢ããã¤ã³ã¹ãã¼ã«ããã¨ãUSBã¡ã¢ãªã¼ã®ä¸ã«ä»»æã®ãã£ã¬ã¯ããªãä½ãããã®ä¸ã«ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãããã¡ãã®æ¹æ³ã§ã¯ãè¤æ°ã®ãã¼ã¸ã§ã³ã®Puppy Linuxãã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãã
(UNetbootinã§ã¤ã³ã¹ãã¼ã«ããã¨ãã®USBã¡ã¢ãªã¼ã®ç¶æ
ãUSBã¡ã¢ãªã¼ã®ç´ä¸ã«ãã¡ã¤ã«ãå±éããã¦ããã)