1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Jetson Nano 2G をSSDから起動させる(USBブート)

Last updated at Posted at 2022-03-09

Jetson Nano 2G(...日本発売版ではないかもしれない)。

$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64, DATE: Mon Jul 26 19:20:30 UTC 2021

SDカードからOSのJetpackをインストール後。
USB3のポートにSSDを接続した。(USBとSSDの接続ケーブルに相性がある様子)
なおSSDを予めext4にフォーマットした。

$ git clone https://github.com/jetsonhacksnano/bootFromUSB
$ cd bootFromUSB
$ ./copyRootToUSB.sh -p /dev/sda1
$ ./partUUID.sh
PARTUUID of Partition: /dev/sda1
2d9b7172-4d95-4b88-9cfe-c90d7a81b3b7

Sample snippet for /boot/extlinux/extlinux.conf entry:
APPEND ${cbootargs} root=PARTUUID=2d9b7172-4d95-4b88-9cfe-c90d7a81b3b7 rootwait rootfstype=ext4

$ sudo mount /dev/sda1 /mnt
$ cd /mnt/boot/extlinux
$ sudo vi extlinux.conf

extlinux.conf内の

変更前
APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 

〜のような行を./partUUID.shで出力されたAPPEND〜に変更する

partUUID.shの出力
APPEND ${cbootargs} root=PARTUUID=2d9b7172-4d95-4b88-9cfe-c90d7a81b3b7 rootwait rootfstype=ext4

変更して保存したらJetson Nanoからsdカードを取り出して電源を抜いて再起動すればSSDからOSが起動する。

参考:
https://www.jetsonhacks.com/2021/03/10/jetson-nano-boot-from-usb/
https://qiita.com/kitazaki/items/8894eb37bd7dceed7992

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?