LoginSignup
1
1

More than 5 years have passed since last update.

Nexus7(2012)にubuntu13.04をインストール

Posted at

概要

今更だが、Nexus7が中古で3000円で手に入ったのと、手軽に持ち運べるサブノートにしたいと思った。

準備

ubuntuのパソコンを用意

※()は不必要かもしれないので動かなかったらやれば良いかも

sudo apt-add-repository spa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java -version
javaのバージョンを表示される

(sudo apt-get lib32stdc++6)
(android studioを検索してlinux用のものをダウンロートして解答)
(./android-studio/bin/studio.sh)
(android studioのインストール画面に沿ってインストール)

sudo apt-get install android-tools-fastboot
(sudo apt-get install android-tools-adb)

ダウンロード

 http://old-releases.ubuntu.com/releases/13.04/
 ・ubuntu-13.04-preinstalled-desktop-armhf+nexus7.bootimg
 ・ubuntu-13.04-preinstalled-desktop-armhf+nexus7.img.gz

Nexus7にインストール

困ったら公式ドキュメント
https://wiki.ubuntu.com/Nexus7/Installation

Nexus:電源を切る
Nexus:音量ボタンの+と-を同時に押しながら電源オン
Nexus:ドロイド君の画面が表示される
NexusとUbuntuパソコンをつなげる
Ubuntu:sudo fastboot devices
Ubuntu:devicesが表示されてたらOK、何も出なかったら「準備」の()をインストール必要があるかも
Ubuntu:sudo fastboot oem unlock
Nexus:デバイス上でYesが表示されるので電源ボタンを押して決定
Ubuntu:sudo fastboot reboot-bootloader
Nexus:またドロイド君の画面が表示される
Ubuntu:sudo fastboot erase
Ubuntu:sudo fastboot erase boot
Ubuntu:sudo fastboot erase userdata
Ubuntu:sudo fastboot flash boot /path/to/.bootimg
Ubuntu:sudo fastboot flash userdata /path/to/unzipped/*.img
Ubuntu:sudo fastboot reboot
Nexus:すると「Prepare...」と数分表示されるので待つとUbuntuのセットアップが始まる

私は当初imgをgzのまま突っ込んでしまったので「mmcblk0p9にマウントできませんでした」というエラーが出たので、音量ボタンを押しながら電源ボタンを押すと再度ドロイド君画面になったので突っ込み直したら無事インストールされた。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1