Beginner for install US$40 JUNK Intel Macbook in 2020 はじめての4,500円ジャンクIntel Macbookに Linuxインストール in 2020
1. はじめての4,500円ジャンクIntel Macbookに
Linuxインストール in 2020
Beginner for install US$40 JUNK Intel Macbook in 2020
1、 自己紹介 Self introduction
2、Recently my activities
3、Linux dualboot in Intel Macbook
4、Diskbootloader rEFInd
5、HFS+ resize in MacOSX
6、Broadcom Wifi driver in Macbook
7、resize screensize in xrandr
8、Difficult CoreDuo first Intel Macbook.
9、NetBSD Teokure Live Images
10、Known issues
詳しい話はSlideshareで公開中
@kapper1224
Gadget Hacking
User Group
Speaker:Kapper
発表未定
2020年7月19日
Place: ー
This Presentation:
Slideshare & PDF files
publication of my HP
http://kapper1224.sakura.ne.jp
Q4OS Linux 20.04
in No HDD JUNK Macbook
2. 自己紹介 Self Introduction
●
My name: Kapper
●
Twitter account:@kapper1224
●
HP:http://kapper1224.sakura.ne.jp
●
Slideshare: http://www.slideshare.net/kapper1224
●
Mastodon:https://pawoo.net/@kapper1224/
●
Facebook:https://www.facebook.com/kapper1224/
●
My Hobby:Linux、*BSD、and Mobile Devices
●
My favorite words:The records are the more important than the experiment.
●
Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi
Nexus7(2012、2013)、Nexus5、Chromebook、Fx0(FirefoxOS)、
無敵CD-920、CD-928,GPD-WIN、GPD-Pocket、Macbook
NANOTE、Windows Tablet、SailfishOS、UBPorts、postmarketOS
●
Recent my Activity:
Hacking Linux on Windows10 Tablet (Intel Atom) and Android Smartphone.
Hacking NetBSD and OpenBSD on UEFI and Windows Tablet.
I have been exhibiting in NT Nagoya, NT Kanazawa, Oogaki Mini MakerFaire.
I have over 200 Windows Tablet and 120 ARM Android, and test it now.
後、最近小説家になろうで異世界で製造業と産業革命の小説書いていますなう。
3. Recently my activities
Sailfish X on Xperia X
Reports Linux on
Windows Tablet in Amazon Activities on NT, MakerFaire,Taiwan
NetBSD、OpenBSD、FreeBSD
Some Linux on Windows Tablet
postmarketOS on
Nexus5, Nexus7 2012
UBPorts on Nexus5
Nexus7 2013
4. 異世界転生小説を書いています。
This is my novels 「otherworldy 」
●
中世〜近世で製造業で産業革命するネタ。
It is 「Industrial Revolutions」 in the early modern period in my novels.
●
マニアックな技術論が得意な技術開発型ストーリー
●
131万PV、ユニーク12.9万人、1117ブックマーク、3,000ポイント
7. ドンキ¥19,800円NANOTEとは?
What's US$185 NANOTE?
●
急遽発売されたドンキ格安UMPC。GPD-Pocketライク
It is selling US$185 UMPC in Japan, like GPD-Pocket.
●
性能はZ8350標準だが、通常の約1/3のお値段。安さが魅力
The specs is Z8350 1.44GHz, but it is too inexpensive for GPD.
●
ダッシュで購入し、Wubi for Ubuntu 20.04インストール動作確認
I bought it and install Wubi for Ubuntu 20.04 now.
8. 中古、ジャンク ガジェット価格推定2020
~2000円~1000円 ~4000円 ~6000円 ~10千円 ~15千円 ~20千円 30千円~
RaspiZero
NanoPi Raspi2,3,4 Thinkerboard
JetsonNano
Atom board
JetsonTK1
JetsonTX1
Miix2 8
8,10インチWinタブ
Core2Duo Macbook
T100TA,HA
2in1 Winタブ
Corei3,i5タブ
Surface3Pro
GPD-Win
GPD-Pocket
Macbook Pro
Kobo
Touch,Glo
Kobo Aura
Kindle PapperWhite
2012〜2014
Galaxy Tab
Galaxy S2
Nexus7 2012
NexusPlayer
ME176C
Nexus5,5X
Nexus7 2013
ZenPhone2
Nexus9
Nexus6,6P
ThinClient
Atom
要改造(ハッキング)低スペックCPU
上級者・廃人ゾーン
ローエンド中古 現行機種
Netwalker
WindowsRT
Nokia N900
Linux Zaurus
Windows Phone DM200
KPD-701
7インチ中華
CoreM Winタブ
NANOTE
Surface3
Corei7 Macbook
W-Zero3
iPhone~4
Kindle Fire HD
Kindle PapperWhite
2015〜2017
Nexus10
Xperia Z1~Z5
TF101,TF201
KindleFireHDX2013
Windows7
ジャンク
タブレット
TW06W
FCmini
PSClassic
DreamCast
PS2,XBOX,GC
PS3
XBOX360
1 board
ARM PDA
SmartPhone
Android
SmartPhone
Tablet
Windows
Tablet
Macbook
ThinClient
NAS
E-book
Game
Console
OpenWRT
Router
Nintendo
Switch
NSB-3NR1T1MLV
XperiaXA2
GooglePixel
OnePlus3,3T
XperiaX
Google
Pixel3XL
Gemini
PDA
Pine
Phone
PS4
GL-MT
300N
9. ジャンク¥4,500円MacbookでLinux
Linux in JUNK US$40 Macbook
●
Core2Duo世代はUEFI32bit、OS64bitでLinux動作。Winタブ
と同じ。Optionボタン押しながら起動でUSBメモリとLinux認識
Core2Duo Macbook is UEFI32bit and OS64bit, Let’s play Linux.
●
流石にCore2Duo世代ジャンク。サポートなし。safariブラウザNG
Non supported Core2Duo Macbook now, No operate Safari browser.
10. Why Intel Macbook now???
捨て値で爆安だから
特にジャンクは
可愛いと安さは正義too inexpensive it now in Japan...
↓
今更遅いよKapper、という実に正しいご意見はご容赦
Linux使い物にならん?Core2Duoはゴミ?
Macbookは10年遅えんだよ、という正しいご意見もご容赦
11. Linux dualboot in Intel Macbook
●
Intel MacbookはUEFI32bitだがLinuxブート可能
Intel CoreDuo and Core2Duo Macbook can boot linux in UEFI32bit.
●
「Option」キーを押しながら電源ONでUSB起動
Push 「Option」 keys and Poweron, can boot USB and Linux.
●
初代CoreDuoだけはUEFI32bit、OS32bitで危険。
Core2DuoはUEFI32bit、OS32 or 64bit対応
Intel CoreDuo Macbook is UEFI32bit and OS32bit only. Core2Duo’s are OS32
and 64bit supported.
●
MacbookはCPUクロックが高いので旧機種でも思ったほど遅くない
Core i7 3520M Macbook Pro 2012
UEFI64bit, OS 64bit
US$45 Core2Duo Macbook 2007
UEFI64bit,OS 32 and 64bit
12. Recommended to install Linux in Macbook
●
HDDかUSBメモリにLinuxをインストール
Install Linux in HDD or USB memory
●
初代CoreDuo Macbookだけ方法が違うので注意
Diffrent install process in First CoreDuo Macbook.
BIOS
Boot
Boot
Mac
OSX
Resize
HFS+
CUI
disk
utils
Install
rEFInd
in HDD
Boot
Linux
USB
Memory
Install
HDD
Or
USB
Memory
Boot
Linux
Boot
Linux
USB
Memory
DVD-R
Install
HDD
Or
USB
Memory
Boot
Linux
Install
rEFInd
in HDD
Boot
Linux
USB
Memory
Install
HDD
Or
USB
Memory
Boot
Linux
Install
rEFInd
in HDD
Install
WIFI
Driver
Install
WIFI
Driver
Install
WIFI
Driver
CoreDuo
Core2Duo
Macbook HDD
Core2Duo
Macbook
USB boot
CoreDuo
Core2Duo
Macbook
USB boot
Install Linux process in Macbook
13. Diskbootloader rEFInd●
Macでは主にrEFIndがLinuxで使われている。BootCampも可
In Mac, usually use rEFInd diskbootloader in Linux, Windows, in root.
●
rEFIndは主にChainloaderとしてgrubやMac Startup Manager、WBMを自動
認識して選択できる機能。USBメモリも自動認識
Macと一部機種でLegacyBIOSのOSを起動出来る
rEFInd also use chainbootloader to grub,MSM,MBM, NetBSD bootloader, USB
memory autoscanning it, can boot Legacy BIOS OS like WinXP.
●
Download and install rEFInd in HDD(sda1:ESP partitions)
sudo refind-install –usedefault /dev/sda1
BIOS
rEF
Ind
Mac
OSX
Grub
Net
BSD
Boot
WBM
Intel Macbook Boot process(UEFI)
Linux
Chrome
OS
Android
WinXP
7,10
Net
BSD
USB
DVD
Linux
*BSD
rEFInd bootloader
14. Boot Linux in Core2Duo Macbook
●
「Option」キーを押しながら電源ONでUSBメモリから起動
Push「Option」key and poweron, after boot USB memory.
●
「C」キーを押しながら電源ONでDVD-ROM(CD-ROM)から起動
Push「C」key and poweron, after boot DVD-ROM(CD-ROM).
●
ライブイメージやシンクライアント的な使い方も問題なし
Macbook can use Liveimages and Thinclient OS, only to use USB memory.
●
Wifiの設定にはBroadcomの追加パッケージが必要
To use wifi in Linux and Macbook, add Broadcom wifi driver.
●
LinuxからHFS+のリサイズが出来ないので注意
(全部消すしかインストーラーで選択肢が出ない)
Linux can’t resize HFS+ HDD, so you need to use MacOSX and diskutil CUI
applications.
●
USBメモリにLinuxを入れる場合は、良くHDDを消すので自己責任で
(HDDを外したり、無いPCにUSBメモリを刺してLinux入れます)
Install Linux in USB memory, it is dangerous to erase your HDD.
15. HFS+ resize in MacOSX
●
MacOSXを残したまま、パーティションをリサイズしてHDDにLinuxを
インストール。 To use MacOSX and Linux, resize HFS+
●
MacOSXのGUIのハードディスクのりサイズ機能はフリーズして
使えない事が多い。コマンドラインで操作する(もちろん自己責任で)
MacOSX’s GUI resize tools is freeze it, So you use diskutils CUI tools.
●
$ diskutil list (The list of partations)
$ diskutil resizeVoluem /dev/disk0s2 50G
(resize HFS+ partations to **GB)
●
/dev/disk0s1のEFIパーティションを消さないように注意
Don’t erase /dev/disk0s1 EFI partations.
●
確保した新しいパーティションにLinuxをインストールする
念のため、EFIパーティションを用意する
Install Linux new partations and EFI partations.
●
LinuxをUSBメモリから起動、インストール。最後にrEFindも入れる
To boot Linux in USB memory, and install rEFInd.
$ sudo refind-install –usedefault /dev/sda1
●
HDDのブート時にrEFIndでLinuxを選択して起動。
To boot and select Linux in rEFInd
16. Broadcom Wifi driver in Macbook
●
MacbookではBroadcom Wifi Driverを使用。ドライバ追加必要。
Macbook may be using broadcom driver.
●
Ubuntuの場合、Broadcom Wifi ドライバを入れる
Boot Linux after install broadcom driver.
In Ubuntu
$ sudo apt-get --reinstall install bcmwl-kernel-source
$ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
$ sudo modprobe wl
●
Debianの場合、Non-freeレポジトリを追加してから入れる
In Debian, Add non-free repository.
deb http://http.debian.net/debian/ wheezy main contrib non-free
$ sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-
sta-dkms
$ sudo modprobe -r b44 b43 b43legacy ssb brcmsmac
$ sudo modprobe wl
17. Resize screensize in xrandr
●
古いMacbookは画面が狭いのでxrandrでリサイズする
Old Macbook is small screensize, Let’s resize xrandr in it.
●
xrandrコマンドでドライバを確認
Check xrandr command and Driver it.
$ xrandr
●
LVDS-1がドライバなので指定 to use LVDS-1 driver.
$ xrandr --output LVDS-1 --scale 1.25x1.25
●
起動時に設定する場合は .profileに追加しておくと便利
Add .profile and boot it.
18. Difficult CoreDuo First Intel Macbook
●
初代CoreDuo MacbookはOS32bitのみ。Debian系列推奨
First CoreDuo Macbook supported OS32bit and UEFI32bit only, I recommended
Debian and ArchLinux 32bit.
●
BIOSにバグがあり、USBメモリから直接起動できない。
HDDにrEFIndを入れてからChainbootするしかない。
CoreDuo Macbook BIOS has the bugs and no boot USB memory to
push「Option」key and poweron. So Linux must install rEFInd HDD and boot it.
●
インストール方法はHDDのMacbookにrEFIndを入れるか、
HDDを取り外して直接パーティションを作りrEFIndを入れるしかない
Install rEFInd from MacOSX or removed HDD and install rEFInd the other PCs.
●
無事rEFindをインストール出来たら、Linuxが起動。
Let’s install rEFInd and boot Linux CoreDuo Macbook.
19. NetBSD Teokure Live Images
●
Core2Duo MacbookからNetBSDておくれLive
イメージが起動出来ます。「Option」キーを押しながら
電源を入れてUSBメモリから起動。
Boot NetBSD teokure Live images from Core2Duo Macbook.
Push 「Option」 keys and poweron.
CoreDuoとCorei7 Macbookでは起動せず。
CoreDuo and Core i7 Macbook can’t boot it.
●
rEFIndを入れておくとNetBSDブートローダーを
自動認識しますのでおすすめ
Autoreconized NetBSD bootloader in rEFInd.
20. Known issues
●
本体のバージョンとCPU、特にCoreDuo Macbookに注意。
CoreDuo MacbookにはBIOSバグあり
First CoreDuo Macbook’s BIOS has the bugs.Need to rEFInd bootloader.
●
HFS+でフォーマットされたHDDリサイズはLinuxで出来ない。MacOSXで
HFS+ partations is not resize in Liunx it, only MacOSX.
●
rEFIndはMacに最適化されたDiskbootloaderでLegacyBIOSなOSも
起動できるのでおすすめ(WindowsXPや7なども)
rEFInd is the most suitable diskbootloader for Linux, can boot Legacy BIOS
OS( like WindowsXP, 7).
●
古い機種はUSBメモリの速度が遅いので、軽量Linuxを推奨
I recommended the lightweight Linux distribution in old Macbook in USB
memory.
●
Broadcom Wifiドライバはあとで追加が必要なので注意
Add Broadcom Wifi driver after install Linux in Macbook.
●
古いMacbookも新しいMacbookもLinuxやNetBSDで使おう
マカーをLinuxで染めつくせ。弱者を侵略せよ。銭ゲバOSを駆逐せよ。
Let’s install Linux and NetBSD in old Macbook and new Macbook.