如何在odroid-U3(或其他odroid版本)上安装linux?

时间:2015-08-18 03:20:50

标签: archlinux odroid

我有一个odroid-U3,而且我不知道如何在其上安装linux,有人能告诉我怎么做吗?我有另一个问题,odroid-U3可以通过USB端口供电吗?

2 个答案:

答案 0 :(得分:1)

从:

获取相应的Linux发行版
http://os.archlinuxarm.org/os/

或按照以下步骤使用与U3相同的U2图像:

SD卡创建 将以下说明中的sdX替换为计算机上显示的SD卡的设备名称。

Zero the beginning of the SD card:
dd if=/dev/zero of=/dev/sdX bs=1M count=8
Start fdisk to partition the SD card:
fdisk /dev/sdX
At the fdisk prompt, create the new partitions:
Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Type n, then p for primary, 1 for the first partition on the drive, and enter twice to accept the default starting and ending sectors.
Write the partition table and exit by typing w.
Create and mount the ext4 filesystem:
mkfs.ext4 /dev/sdX1
mkdir root
mount /dev/sdX1 root
Download and extract the root filesystem (as root, not via sudo):
wget http://archlinuxarm.org/os/ArchLinuxARM-odroid-u2-latest.tar.gz
bsdtar -xpf ArchLinuxARM-odroid-u2-latest.tar.gz -C root
Flash the bootloader files:
cd root/boot
./sd_fusing.sh /dev/sdX
cd ../..
Unmount the partition:
umount root
Insert the SD card into the board, connect ethernet, and apply 5V power.
Use the serial console (with a null-modem adapter if needed) or SSH to the IP address given to the board by your router.
Login as the default user alarm with the password alarm.
The default root password is root.

eMMC模块创建

将eMMC模块连接到micro SD适配器,然后将其插入计算机。 按照上述步骤安装Arch Linux ARM,并在eMMC仍然连接到micro SD适配器的情况下启动主板,插入主板上的SD插槽。 将引导加载程序重新刷新到eMMC模块的受保护引导区域:

cd /boot
./sd_fusing.sh /dev/mmcblk0
Power off the board:
poweroff
Remove the micro SD adapter, detach the eMMC module, and connect the eMMC module to its connector on the board.
Re-apply power the board.
Use the serial console (with a null-modem adapter if needed) or SSH to the IP address given to the board by your router.
Login as the default user alarm with the password alarm.
The default root password is root.

答案 1 :(得分:0)

您可以按照archlinuxarm.org/platforms/armv7/samsung/odroid-u3

上的官方指南进行操作

注意:如果你执行了第7步

cd root/boot
./sd_fusing.sh /dev/sdX
cd ../..

您可以打开文件sd_fusing.sh,更改行

#!/usr/bin/bash

进入

#!/bin/bash