mrTuborgã«ä»£ãã£ãŠã mrTuborgã®èŠè«ã«ããçºè¡
1幎åãç§ã¯LeopardïŒMac OS X 10.5ïŒãå®è¡ããŠããMac miniã®ãµãŒããŒãããã¯ã¢ããããŸããããã¹ãŠã®ãŸãšããªäººã
ãšåãããã«ãFreeBSDã®åæ©/ã¹ã¿ããèŠã€ããfinkããŒãïŒfinkproject.orgïŒãããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããŸããã 1幎ãçµã¡ãŸãã... WiFiã¢ããã¿ãŒãã€ã³ãã©ã¹ãã©ã¯ãã£ã¢ãŒãã«ããŸãã...ä»ã§ã¯ã©ãããããã«ã€ã³ã¿ãŒããããæäŸãå§ããŸãã...ãã¬ã³ãã24æé365æ¥ããŠã³ããŒãããVNCã¹ããªãŒã ãLANããå€éšã€ã³ã¿ãŒãããã«ãªãã€ã¬ã¯ãããŸãïŒèªå®
ããé ãé¢ãããšãã«åãã©ãããããããã¢ã¯ã»ã¹ããããã«ïŒ...ç¹°ãè¿ãã«ãªããŸãããç§ã®æããSFTPãã£ã¹ã±ããã«500Gã®ãµã€ãºãæäŸããjabberã®ãã©ã³ã¹ããŒããä¿æããŸã...
ãããŠãããã¯éå±ã«ãªããŸãã...
ããããããããªããæ¬ç©ã®FreeBSDã䜿ã£ãŠããã眮ãããã©ãã§ããããïŒ å°å¹Žã¯èšã£ã-å°å¹Žã¯ããŸãããïŒ
FreeBSD 7.0 PowerPCã€ã¡ãŒãžãçŒãä»ããŸããã Macã¯ãã£ã¹ã¯ãæ£åžžã«èµ·åããŸããã ã€ã³ã¹ããŒã«ãéå§ããŸã...ãã£ãš...ããããfdiskã¯ã©ãã«ãããŸãã?? fdisk'aã¯ãããŸããã ã©ãã«ãšãã£ã¿ãŒããããŸãã ãããã圌ãèŠã€ãå§ãããšãã圌ã¯ããŒãã£ã·ã§ã³ããŒãã«ã§äœãããããšãã§ããŸãã...ãããŠç§ãã¡ã¯å»ããŸãã 2é±éã®æãäžãã®çµæãå°ããªToDoãMacã«FreeBSDãã€ã³ã¹ããŒã«ããæ¹æ³ããèªçããŸããããããããªãã®æ³šæãåèµ·ããŸãã
ã ãããç§ãééããåé¡ïŒ
1ïŒ FreeBSDã€ã³ã¹ããŒã«DVDã«ã¯fdiskããããŸããã ååãšããŠããŒãã£ã·ã§ã³ãæ¯æŽã§ããªãLabelEditorã®ã¿ã
ãŸããMacçšã®fdiskã®ç§»æ€ããŒãžã§ã³ïŒå°ãªããšãæ©èœããããŒãžã§ã³ïŒã¯ã©ãã«ããããŸããã åé¡ã¯ãç¹å¥ãªãè
ºãšç¹å¥ãª
Appleã®Open-FirmwareïŒè©³çŽ°ã¯äžèšïŒã
2ïŒ ãç¹å¥ãªããªãŒãã³ãã¡ãŒã ãŠã§ã¢
ãã¹ãŠã®é²æ©çãªäººé¡ã¯ãã§ã«BIOSã·ã¹ãã ãæŸæ£ããŠãããããããåŸã
ã«ïŒçè«çã«ã¯ç解ããŠãããããããŒã§ã¯ãã§ã«å®è·µãããŠããããã«ïŒOpen Firmwareã«çœ®ãæããŠããŸãã ã»ã«ããã¹ãæ©èœãåããããŒããŠã§ã¢ããªããŒããŒã ãããŒã§ã¯ãããã¯Open Firmwareã§ããããšã瀺ãããŠããŸãããäžé£ã®ã³ãã³ãã«åºã¥ããŠãç¬èªã®Open Firmwareã®ãŸãŸã§ãã ãŸãããã®Open Firmwareã¯Mac HFS +ããŒãã£ã·ã§ã³ããã®èµ·åã®ã¿ãç解ããŸãã å®éãã¿ã³ããªã³ãšã®ãã以äžã®ãã³ã¹ããã®Open Firmwareã§çºçããŸãã
ããã«èšè¿°ãããŠãããã®-en.wikipedia.org/wiki/Open_Firmware é埳çã«æ»ãã BIOSã«ä»£ããææ°ã®ãã¯ãããžãŒã 管çã³ãã³ãã®ã»ããã¯ã www.firmworks.com / QuickRef.htmlã«ãããŸãã ããããAppleã®OpenFirmwareã®ç¹åŸŽã¯ãèšèŒãããŠãããã®ãšå®è³ªçã«éè€ããªãããšã§ãã 以äžã«ããããã«å€æŽãããã³ãã³ãã»ããã瀺ããŸãïŒæå®ããããªãã¡ã¬ã³ã¹ã®ã»ãšãã©ã®ã³ãã³ãã¯æ©èœããŸããïŒããããã®ã³ãã³ãã®åäœã¯ããããã«äºæž¬äžèœã§ãã éåžžã«å€ãã®å ŽåãåãããŒã ã¯ä»äºããããããç°ãªã£ãŠåããŸãã å¯äžã®è§£æ±ºçããããŸã-ãªããŒãã
ã ãããMacã®OpenFirmwareãžã®å
¥ãå£ã¯Alt + Cmd + O + Fã§ããçããã¬ãŒãã³ã°ã»ãã·ã§ã³ã®åŸããã®çµã¿åããã¯1ã€å³ã§ç°¡åã«æŒãããŸãïŒå·Šã¯æ©èœããŸãã-ç§ã¯=ãè©ŠããŸããïŒ
æ€åºãããã³ãã³ãã®äžã§æãæçšãªãã®ïŒ
mac-boot-ããŠã³ããŒãã®ç¶è¡
ã·ã£ããããŠã³ -ãããŒããªãã«ããŸã
reset- all-ã·ã¹ãã ãåèµ·åããŸã
CDãåãåºã -ãã£ã¹ã¯ããåãåºãã
boot <loader> <kernel> -ã·ã¹ãã ãèµ·åããŸã
devalias-ããã€ã¹ã«å²ãåœãŠããããã¹ãŠã®æåç¥èªã®ãªã¹ã
ïŒhdããã³cdã®ãšã€ãªã¢ã¹ãæžãçããŸãïŒ
ããã€ã¹ããªãŒå
šäœã®åºåïŒ
1ïŒ dev /-ããã€ã¹ããªãŒãã«ãŒãã«ããŠã³ãããŸã
2ïŒ ls
printenv-åºåç°å¢å€æ°ã
ïŒç§ãã¡ã«ãšã£ãŠæãèå³æ·±ãå€æ°ã¯boot-deviceã§ãïŒ
setenv <å€æ°> <å€>-ç°å¢å€æ°ãå²ãåœãŠãŸã
ãã¹ãŠã®èšå®ãå·¥å Žåºè·æã®ããã©ã«ãã«ãªã»ããããã«ã¯ãã倧äžå€«ã§ããïŒããšããç¹åŸŽçãªé³ãšå®¶ã®ãããªåå¿ãåºããŸã§ãé»æºãã¿ã³ããªãã®ç¶æ
ã«ããå¿
èŠããããŸãã 0_o»äžè¬çã«ãä¿¡å·ã¯èªèå¯èœã§ãã
ãã¹ãŠãéæãªããã§ãã ãããïŒ OpenFirmwareã¯HFS +以å€ããã¯èµ·åã§ããŸãããã...
3ïŒ FreeBSDã¯Mac HFS +ããŒãã£ã·ã§ã³ãèªèããŸããã
ãã®ååã¯å¿
é ã§ã¯ãããŸããã å¿
èŠãªã®ã¯ãMac OSããŒã«ã䜿çšããŠäœæããHFS +ããŒãã£ã·ã§ã³ãæºåããããšã§ãã
æãªããªãããã«FreeBSD
4ïŒ Mac OSã¯ãæåã®æ©äŒã«ãããŒããã©ã€ãäžã®ããŒãã£ã·ã§ã³ããæ¥ãã§æ¹åãããŸãã
éã®åé¡ã«ã€ããŠã¯ãã¹ããã3ã§èª¬æããŸããFreeBSDããã§ã«ã€ã³ã¹ããŒã«ããŠããå ŽåãMac OS XãïŒã€ã³ã¹ããŒã«ãã£ã¹ã¯ããïŒèµ·åããããšã¯æ±ºããŠã§ããŸããã BSDã€ã³ã¹ããŒã«æé å
šäœãæ°ãã«éå§ããå¿
èŠããããŸãã
ã ããã ããã¯çè«çãªéšåã§ããã ä»ãç§ãã¡ã¯å®éã«ç·Žç¿ãå§ããŸã-æ£è
ãæºåããŸãã
ããŒã«ïŒ
1ïŒ FreeBSDã€ã³ã¹ããŒã«ãã£ã¹ã¯ã
2ïŒ Mac OS Xã€ã³ã¹ããŒã«ãã£ã¹ã¯ïŒTigerãŸãã¯LeopardïŒã
3ïŒãã©ãã·ã¥ãã©ã€ãã
0.æ©åšã®å®çŸ©ã
ããã«ãããã€ã¹ã®ã·ã³ãã«åãåžžã«ç€ºããŸãããæ©èœããªãå Žåã«åããŠããã®æ®µéã§å¿
èŠãªããã€ã¹ã®ãã«ããŒã ãååŸããå¿
èŠããããŸãã
ïŒCmd + Alt + O + FãæŒããŠïŒOpen Firmwareã«å
¥ããŸã...
次ã®ã³ãã³ããäœæããŸãã
0> dev /
0> ls
Open FirmwareããŒãã®åæ段éã§æ§ç¯ãããããã€ã¹ããªãŒã®ããŒãžããŒã·ã§ã³ãéå§ãããŸãã ããã§æ³šæãå¿
èŠã§ãã
ååã«ã¯ããã©ã³ãå
šäœãå¿
èŠã§ã...å®éã«ã¯ããã«ã¯ç€ºãããŠããŸããããã€ã³ãã³ãã«ãã£ãŠã®ã¿ç€ºãããŠããŸãã
ATAã³ã³ãããŒã©ïŒããŒããã©ã€ããšCD-ROMãæ¥ç¶ãããŠããïŒã¯æ¬¡ã®ããã«ãªããŸãã
/ pci @ f4000000 / ata-6 @ d /ãã£ã¹ã¯
ïŒã¹ã©ãã·ã¥ã«ãã£ãŠæšã®æãåå²ãããŸãïŒã
æšã®æãæ£ããèå¥ãããŠãããã©ããã調ã¹ãæ¹æ³ã¯ïŒ
ããã«èµ·åããŸã-boot2 / EFIã§ïŒFree BSDã€ã³ã¹ããŒã«ãã£ã¹ã¯ãæ¿å
¥ãããŠããå ŽåïŒã ããã«ã¯ãFreeBSDããã®ããæ¡åŒµãããïŒãã ããã°ãå€ãïŒã³ãã³ãã»ãããããããã¹ãŠã®æšæž¬ã確èªã§ããŸãã
boot2 / EFIãèµ·åããæ¹æ³ã OpenFirmwareã§ã³ãã³ããå
¥åããŸãïŒ2çªç®ã®ãã©ã¡ãŒã¿ãŒã¯çç¥ãããŸã-ã«ãŒãã«ã¯èµ·åããŸããïŒ
ããŒãCDïŒã\ããŒã\ããŒããŒ
ãããã£ãŠãboot2 / EFIã«ããŸãã
ãã¹ãŠã®æšæž¬ãç°å¢å€æ°ãcurrdevãã«å°ããŸãã
ata-diskã³ã³ãããŒã©ã®ååïŒpci @ f4000000 / ata-6 @ d / diskïŒã®åŸã«ããã£ã¹ã¯çªå·ãšããŒãã£ã·ã§ã³çªå·ãæå®ããŸã
èšå®currdev = / pci @ f4000000 / ata-6 @ d / disk @ 1ïŒ0
ç§ã®å Žåãcdromã§ãã ã»ã¯ã·ã§ã³ã¯1ã€ãããªããããã»ã¯ã·ã§ã³çªå·ã¯çç¥ã§ãã次ã®ããã«ãªããŸãã
èšå®currdev = / pci @ f4000000 / ata-6 @ d / disk @ 1
次ã«ãlsã³ãã³ãã§æšæž¬ã確èªããŸãã
ãã£ã¹ã¯äžã®ãã¡ã€ã«ãšãã£ã¬ã¯ããªã®ãªã¹ããååŸããå Žåãæšæž¬ã¯çå®ã§ããããšãå€æããŸããã
ç§ã®å Žåã®ããŒããã©ã€ãã¯æ¬¡ã®ããã«ãªããŸãïŒ/ pci @ f4000000 / ata-6 @ d / disk @ 0
ééããå Žåãå¿
èŠãªã»ã¯ã·ã§ã³ãèŠã€ããããšã¯ãåçŽãªåæ=ïŒã«ãã£ãŠè§£æ±ºãããŸãã
1.ããŒãããŒããŒã®æºåïŒé£æ¥ã³ã³ãã¥ãŒã¿ãŒäž ïŒ
ãã©ãã·ã¥ãã©ã€ããåããããŒããŒãšãã®äžã«boot.tbxiãã³ããŒããŸãïŒä»»æã®ãã©ã«ããŒããã©ãã·ã¥ãã©ã€ã-æã¡éã³çšã®ããŒã«ãšããŠããã以äžïŒ
ã©ããªçš®é¡ã®ãã¡ã€ã«...ãããŠã©ãã§å
¥æã§ããŸããïŒ loader-FreeBSDã€ã³ã¹ããŒã«ãã£ã¹ã¯ïŒ\ boot \ loaderïŒã«ãããboot.tbxiã¯åãå Žæã«ãããŸãããèŠã€ãããªãå Žåã¯ä¿®æ£ãŸãã¯åäœæããå¿
èŠããããŸãã
ããã¯ã次ã®ãããªOpen Firmwareã®ForthããŒãã¹ã¯ãªããã§ãã
<ããŒãã¹ã¯ãªãã>
ãç»é¢ãåºå
boot hdïŒ???ã\ boot \ loader hdïŒ???
</ boot-script>
ããŒãã³ãã³ãã«èå³ããããŸãã ãã®æ§æãæ±ããŸãããïŒ
1çªç®ã®ãã©ã¡ãŒã¿ãŒã¯ãããŒãããŒããŒïŒãã®å Žåã¯ãFreeBSDã®boot2 / EFIããŒãããŒããŒïŒã®å Žæã§ãã ãã®äŸã§ã¯ãã·ã³ããªãã¯çœ®æãhd-ããŒããã£ã¹ã¯ïŒcd-ã³ã³ãã¯ããã£ã¹ã¯ïŒãããŒãã£ã·ã§ã³ã®ã³ãã³çªå·ïŒå°ãäœãããŒãã£ã·ã§ã³çªå·ã«ã€ããŠïŒãããã³ãã®ããŒãã£ã·ã§ã³äžã®ããŒãããŒããŒãã¡ã€ã«ãžã®å¿ãããã¹ã瀺ãããŠããŸãã HFS +ãã¡ã€ã«ã·ã¹ãã ã
2çªç®ã®ãã©ã¡ãŒã¿ãŒ-ããŒãå¯èœã·ã¹ãã ã®ã«ãŒãã«ã®å Žæã ããã§ã¯ç°¡åã§ã-ã»ã¯ã·ã§ã³çªå·ã ãã§ãã ãã©ã¡ãŒã¿ãŒã¯ãã¡ã€ã«ããŒããŒã®å
¥åã«æž¡ãããããããã¡ã€ã«ã·ã¹ãã ã®åœ¢åŒã«é¢ããèŠä»¶ã¯ãããŸããã
å¿
èŠãªããŒãã£ã·ã§ã³çªå·ãèŠã€ããæ¹æ³ã¯ããããã®ããŒãã£ã·ã§ã³ãäœæãããšãã«ããããèŠã€ããŸãã ãã®ãããè¿é£ã®ã³ã³ãã¥ãŒã¿ãŒã§ã¹ã¯ãªãããç·šéããŠãããã§çµãããŸãã...
2.ããŒããã©ã€ããæºåããŸãã
MAC OS Xã€ã³ã¹ããŒã«ãã£ã¹ã¯ã1åå¿
èŠã«ãªãããïŒåé¡çªå·4ãåç
§ïŒãããããéå§ããŸãã
MAC OS Xã€ã³ã¹ããŒã«ãã£ã¹ã¯ãããŠã³ããŒããããšã次ã®ããŒã«ãå©çšå¯èœã«ãªããŸãïŒãã£ã¹ã¯ãŠãŒãã£ãªãã£ãšã¿ãŒããã«
2.1ãã£ã¹ã¯ãŠãŒãã£ãªãã£ã䜿çšããŠãã£ã¹ã¯ãåå²ããŸãã
ã©ãã«ãšãã£ã¿ãŒã䜿çšããŠ1ã€ã®ã»ã¯ã·ã§ã³ãäœæããã¹ã©ã€ã¹ã«åå²ããŠã¿ãŸãããïŒ åäœããŸããã ã©ãã«ãšãã£ã¿ãŒã¯ããã®ããã«äœæãããããŒãã£ã·ã§ã³ã®ã¿ã䜿çšã§ããŸãããããŒãã£ã·ã§ã³ããŒãã«ã«å¹²æžããããšã¯ãããŸãã-åäœããŸããã ã ãããããã¹ã©ã€ã¹ããšã«ç¬èªã®ã»ã¯ã·ã§ã³ãäœæããæ¹ãè¯ãã®ã§ã...
ãã£ã¹ã¯ã®ããŒãã£ã·ã§ã³ãäœæããåã«ãããŒãã£ã·ã§ã³ããŒãã«ã®ã¿ã€ããéžæããå¿
èŠããããŸãã GUIDãApple Partition MapãŸãã¯MBRã PowerPC mac-APMãIntel mac-GUIDãéžæããå¿
èŠããããŸãã
次ã®ã»ã¯ã·ã§ã³ãå®è¡ããŸããã
ã«ãŒãã®äž-4 Gb
ã¹ã¯ããäž-2 Gb
var-2 Gbæªæº
usrã®äž-8 Gb
家ã®äž-æ®ã£ãŠãããã¹ãŠãããªãã¡22 Gbã
次ã®ã¹ãããã§ç«¯æ«ã§ããããèå¥ããããããããã«ããããã®ã»ã¯ã·ã§ã³ã«rootãswapãªã©ã®ã©ãã«ãèšå®ããŸãã
äžè¬ã«ãããããçš®é¡ã®ãã«ãžã§ã¢ãã©ãŒã©ã ã§ã¯ãã°ãªããã®çãããããããDisk Utilitiesãé·æé䜿çšããããšããå§ãããŸããã ç§ã¯ãã®äºå®ãåŠå®ããŸãããããã¯ãã®ããã§ããããç§ã¯æ²ãã£ãæã«ãããæžãçããŸããã
Mac OSããã³BSDãã¡ã€ã«ã·ã¹ãã ã®äºææ§ã«ã€ããŠå°ã説æããŸãã Disk Utilitiesã«ã¯4çš®é¡ã®ãã¡ã€ã«ã·ã¹ãã ããéžæã§ããŸã-ãããã¯ãã¹ãŠãé·ããŠããã¡ã€ã«åã®å€§æåãšå°æåãåºå¥ããããã®ãµããŒãïŒãŸãã¯ãªãïŒãžã£ãŒããªã³ã°ãšãµããŒãïŒãŸãã¯ãªãïŒãåããæ¡åŒµãã¡ã€ã«ã·ã¹ãã ãšåŒã°ããŸãã ããã¯å®éã«ã¯ããªãã·ã§ã³ä»ãã®ãžã£ãŒããªã³ã°ãŸãã¯éãžã£ãŒããªã³ã°Ext3ã«ãããŸããã ãããã£ãŠããããã®ã»ã¯ã·ã§ã³ã®çè«ãšå®è·µã®äž¡æ¹ãBSDã®äžããèªãããšã«åé¡ã¯ãããŸããïŒåœŒã¯UFSã«å€æããŸãïŒã ãããããŸã åé¡ããããŸãã HFS +ã§ããŒãããŒããŒãããŒãããå¿
èŠããããã«ãŒãã«ã¯ãã§ã«BSDã§èªèãããããŒãã£ã·ã§ã³ããã§ãã
ã€ã³ã¹ããŒã«ãããBSDãããã«æ£åžžã«ããŒãããã«ã¯ãããŒãããŒããŒãšã«ãŒãã«èªäœãåé¢ããå¿
èŠããããŸãã ãããè¡ãã«ã¯ããã£ã¹ã¯äžã§æ¢ã«èª¬æããããŒãã£ã·ã§ã³ã«ããŒãããŒã㌠'aã®ããŒãã£ã·ã§ã³ãäœæããŸãã ãµã€ãºã0.2 GBãšæå®ããŸãããLeopardã¯ããã«1 GBã«èª¿æŽããŸããããããŒãã£ã·ã§ã³ããã»ã¹ã®åŸãããŒãã£ã·ã§ã³ã®ãµã€ãºã¯0.86 GBã«ãªããŸããã ãŸãã圌ãšè°è«ããªãã§ãã ãã=ïŒã ããã«ãã€ã³ã¹ããŒã«äžã«BSDã¯ãã®ããŒãã£ã·ã§ã³ããããŒããèªã¿åããªãããã«ããŸãããã®ãããLeopardã®ã€ã³ã¹ããŒã«ãã£ã¹ã¯ã¯ãBSDãããŒããã£ã¹ã¯ã«ã€ã³ã¹ããŒã«ããåã«äžåºŠã ã䜿çšããŸãã ããããªããšã次ã«Leopardã€ã³ã¹ããŒã«ãã£ã¹ã¯ãèµ·åãããšãã«ãMac OSã¯æºåããããã¹ãŠã®ããŒãã£ã·ã§ã³ãäžé©åãªçšåºŠã«ãæ¹åããããããã€ã³ã¹ããŒã«ããã»ã¹ãæåããããçŽãå¿
èŠããããŸãã
ãããã£ãŠã次ã®ããŒãã£ã·ã§ã³ããŒãã«ããããŸãã
ããŒãããŒããŒïŒ1GïŒ
ã«ãŒãïŒ4GïŒ
ã¹ã¯ããïŒ2GïŒ
varïŒ2GïŒ
usrïŒ8GïŒ
ããŒã ïŒ22GïŒ
ããŒãã£ã·ã§ã³ãæºåããåŸããã£ã¹ã¯ãŠãŒãã£ãªãã£ãéããŠã¿ãŒããã«ãå®è¡ããŸãïŒãã¹ãŠåãLeopardãŸãã¯Tigerã€ã³ã¹ããŒã«ãã£ã¹ã¯ããïŒã
ã¿ãŒããã«å
ã«ããå Žåãäºåã«æºåããããã©ãã·ã¥ãã©ã€ãããŒããŒãšboot.tbxiã®ãã¡ã€ã«ã®ããŒãããŒããŒ2ã»ã¯ã·ã§ã³ã«é
眮ããå¿
èŠããããŸãã 宿æ³æœèšã®èŠä»¶ã¯ãããŸããã ããšãã°ãããã«ããŒããã£ã¬ã¯ããªãäœæããããã«ãã¹ãŠãã³ããŒããŸãã...ãããŠãã¯ããããŒãã¹ã¯ãªããã®æºåãå®äºããå¿
èŠããããŸãã
2.2ããŒãã£ã·ã§ã³çªå·ã®èå¥
æ¹æ³1 ïŒLeopardã®ã€ã³ã¹ããŒã«ãã£ã¹ã¯ã¿ãŒããã«ã§ãããŠã³ããããŠããããŒãã£ã·ã§ã³ãäžèŠ§è¡šç€ºããŸãïŒãã¹ãŠãæ¢ã«ããŠã³ããããŠããŸãïŒ
ããŠã³ãã³ãã³ãã®äŸãç§ã¯æã£ãŠããŸãïŒ
/ dev / disk0s3 on /ããŒãããŒããŒ
/ dev / disk0s5 on / root
... ...
sã®åŸã®æ°åã¯å¿
èŠãªæ°åã§ãïŒäžèšã®ããŒãã¹ã¯ãªããã®äŸãåç
§ïŒ
æ¹æ³2 ïŒFreeBSDã€ã³ã¹ããŒã«ãã£ã¹ã¯ã®LabelEditorããã
ç§ã®å Žåã®äŸïŒ
ad0s3
ad0s5
...
ããã§ã¯ãç¹å®ã®ã©ãã«ã衚瀺ãããŠããªãããããµã€ãºãšã»ã¯ã·ã§ã³ã®é åºãããã²ãŒãããŠã誰ã誰ã§ããããèŠã€ããå¿
èŠããããŸãã å°ãäžå¿«ã§ãã
ããŒãã¹ã¯ãªãããçµäºããŸãã
<ããŒãã¹ã¯ãªãã>
ãç»é¢ãåºå
ããŒãHDïŒ3ã\ããŒã\ããŒããŒHDïŒ5
</ boot-script>
2.3ããŒãããŒããŒã®æºå
ã¿ãŒããã«ã«ç§»åããŠãããŒããŒãšboot.tbxiãã¡ã€ã«ããã©ãã·ã¥ãã©ã€ãããããŒãããŒããŒã»ã¯ã·ã§ã³ã®ãããŒã«ã³ããŒããŸãã
3. FreeBSDã®ã€ã³ã¹ããŒã«ã
ã ããã ãã®æç¹ã§æã£ãŠããã®ã¯ãããŒãããŒããŒã»ã¯ã·ã§ã³ã«ã³ããŒãããå£ããïŒãããŸã§ã®ãšããããŒãã£ã·ã§ã³ã«ã®ã¿ïŒãã£ã¹ã¯ãããŒããŒãããã³boot.tbxiãã¡ã€ã«ã§ãã
Macãåèµ·åããFreeBSDã€ã³ã¹ããŒã«ãã£ã¹ã¯ããèµ·åããŸãã ã€ã³ã¹ããŒã«ãå®è¡ããŸãã åèµ·åããŸãã ãããç¹æ»
ããŸã;-)
4.ã€ã³ã¹ããŒã«ãããFreeBSDãããŠã³ããŒãããŸãã
ãããŸã§ã®ãšããè¯ãã OpenFirmwareã«æ»ããŸãã ãã¹ãã€ã³ã¹ããŒã«ããã¥ã¢ã«ã®ããŠã³ããŒãïŒ
0> CDãåãåºã-FreeBSDã€ã³ã¹ããŒã©ãŒããŒããã£ã¹ã¯ãåŒãåºã
ããã£ã
0> boot hdïŒ3ã\ boot \ loader hdïŒ5-3çªç®ã®ããŒãã£ã·ã§ã³ã«çšæãããããŒããŒãããŒããã5çªç®ã®ããŒãã£ã·ã§ã³ãããã®å
¥åã«ã«ãŒãã«ã転éããŸãã
ããã£ã
...
æåããŸãããïŒ ãã®å Žåã¯ã4.2é
ã«é²ãã§ãã ããã ããã-ç¶ããèªã¿ãŸãã
4.1çŽæ¥ããã€ã¹åã
ããŠã³ããŒãã倱æããå Žåãã·ã³ããªãã¯ãªã³ã¯ïŒdevaliasïŒã¯æ£ããå®çŸ©ãããŠããŸãã
ãããã£ãŠãçŽæ¥ããã€ã¹åã䜿çšããŸãã ã¢ã€ãã 0ããªã³ãŒã«ããŸããEFIã«åã³ããŒããããŸãã
ããŒããŒãšã«ãŒãã«ããããã©ããã確èªããŸãã
èšå®currdev = / pci @ f4000000 / ata-6 @ d / disk @ 0ïŒ3
ls-ããŒãããŒããŒã»ã¯ã·ã§ã³ã®ãã¡ã€ã«ã®ãªã¹ãã ããŒããŒãšboot.tbxiã確èªããå¿
èŠããããŸã
...
èšå®currdev = / pci @ f4000000 / ata-6 @ d / disk @ 0ïŒ5
ls-ã«ãŒãã»ã¯ã·ã§ã³ã®ãã¡ã€ã«ã®ãªã¹ãã
...
倱æããå Žåã¯ãaãšbã®æ°åãå€æŽããŸã-disk @ aïŒb
å¿
èŠãªæ°ãèŠã€ããããããŠã³ããŒãããã¹ãããŸãïŒOpenFirmwareãåèµ·åããåŸïŒ
0> boot / pci @ f4000000 / ata-6 @ d / disk @ 0ïŒ3ã\ boot \ loader / pci @ f4000000 / ata-6 @ d / disk @ 0ïŒ5
ãããã£ãŠãããŒãã¹ã¯ãªããboot.tbxiãèŠã€ãã£ããã©ã¡ãŒã¿ãŒã«ä¿®æ£ããå¿
èŠããããŸã
4.2ã€ã³ã¹ããŒã«ãããFreeBSDã®ããŒã...
ããªãã¯åãããšãã§ããŸã...åºæ¥äžããïŒ
ãã®æç¹ã§ãã»ãšãã©ãã¹ãŠã®ãã«ãžã§ã¢ãã©ãŒã©ã ã®æ
å ±ã¯çµäºããŸã...圌ãã«ãšã£ãŠããã¹ãŠã¯å€§äžå€«ã§ãã 圌ãã¯nã«éãã...
ããããç§ãã¡ã®æ³šææ·±ãããã¬ã¿ãªã¢ã®èªè
ãææããŠããããã«ãããªãã¯æ¬åœã«ãã¹ãŠãä»ãããã³ã§ããŒãããå¿
èŠããããŸããïŒ ãã®å Žæã®å€ãã®ãã©ãŒã©ã ã§ã¯ããã£ã¹ã¯ã§ã¯ãªãããŒããã©ã€ãããã«ãŒãã«ãããŒãããæ£ãã.tbxiã¹ã¯ãªããã䜿çšããŠãããŒããã£ã¹ã¯ãïŒã€ã³ã¹ããŒã«çšãšããŠïŒæºåããããšããå§ãããŸãã
5.ããããããã¯ãªãã·ã§ã³ã§ã¯ãããŸããïŒ
1é±é以äžç ãããå¥ã®å Žæã§ããŸã£ããå¥ã®æ©äŒã«setenvã³ãã³ãã«åºããããŸããã ããã«ããã®ã¯ãããã°æåŸã®åé³ã§ã...
setenv boot-device hdïŒ3ã\ boot \ boot.tbxi
ããã¯ç§ã®ã±ã·ã§ããŸããããŸããã ãããããªãã®ããã«åããã©ãããä¿èšŒã¯ãããŸãã...ãããã¯ãã¹ãŠMackã®Open Firmwareã®ææžåãããŠããªãæ©èœã ããã§ãã
ãããã«ããŠãããã¹ãŠãæ»ãæ¹æ³ã¯ïŒ nvramèšå®ããªã»ããããŸã-ãããŒããªãã«ããŠãé»æºãã¿ã³ã20ç§éæŒãç¶ããŸãã
ããšããã
ç§ã®Macã§ã¯ãFreeBSDãèµ·åããŸããã çŸåšãã¯ãŒã©ãŒã¯åžžã«åäœããŠããŸã... WiFiã¢ãžã¥ãŒã«ã¯è¡šç€ºãããŠããŸãã...ç¶è¡ããå¿
èŠããããŸãã ãã¡ããããã誰ããå¿
èŠãšãããã¹ãŠã§ãã