voyage 虚拟机安装过程

voyage linux是基于Debian的linux发行版,常用于嵌入式,很轻巧,由于实验室嵌入式开发板使用的就是voyage ,使用的是voyage-0.7.iso版本

使用虚拟机加载镜像就可以启动,跟Ubuntu类似,启动后是一个read-only file system。

http://linux.voyage.hk/content/getting-started-live-cd-v07x

然后再按以下教程就可以安装,


需要注意的是:

step3不一定是/dev/hda,可以cat /proc/partions查看,否则step4中需要选择 disk device会有问题

在step4中有选择安装类型,选择的是 Generic PC,其他我都是选默认的


This README.live-cd provide information on how to install Voyage Linux from the
Live CD.

==============================================================================
Installing Voyage Linux to a hard disk from Live CD
==============================================================================

Afte booting the Live CD, login as root (password: voyage)

1. Create distribution directory for installation

# mkdir /tmp/root
# mount -o loop /lib/live/mount/medium/live/filesystem.squashfs /tmp/root
# cd /tmp/root

Note: for version < 0.9~rc2, use
mount -o loop /live/image/live/filesystem.squashfs /tmp/root

2. Make a mount point for installation disk

# mkdir /tmp/cf

3. Format target disk device

# /usr/local/sbin/format-cf.sh /dev/hda

This will create /dev/hda1 ext2 partition on /dev/hda disk device.
** Note that this operation is very dangerous since it will erase your disk!
Make sure what you are doing and must do it right!

4. Start voyage.update installation script

# /usr/local/sbin/voyage.update

Following the instruction to select /tmp/root as distribution directory, and
/tmp/cf as mount point. After the installation complete, simple reboot the
board and Voyage will be started!

Note: You may get read-only file system messages after exiting installation.
This is normal because your settings cannot be updated on a mounted squashfs.

There are some additional packages installed for PXE and NFS server. After
starting Voyage, you can safely remove them by:

# remountrw
# apt-get remove syslinux atftpd nfs-kernel-server \
bzip2 sg3-utils minicom

After all, remove the last line in /etc/dnsmasq.more.conf:
conf-file=/etc/dnsmasq.pxe.conf

重启后就可以了,因为是只读文件系统,可以使用以下方法进行操作:


官网给出的方法:

首先执行

remountrw


然后在 /etc/init.d/voyage-util注释掉

echo -n "Remounting / as read-only ..."
/usr/local/bin/remountro
echo "Done."


然后配置一下网络,我修改vi /etc/network/interfaces设置静态ip,netmask,getway,dns-nameservers。


ping www.baidu.com可以ping通,然后就是配置开发环境,修改软件源等


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值