Mount Netbook rootfs in sysroot
Submitted by KevinWang, updated on 2 Dec 2009 - 0 comments
Owners: Haitao Feng, Kevin Wang
mount the root file system Moblin netbook image to sys-root, so that developers could develop and debug with netbook easily.
Prepare Moblin development image
-
Install Moblin Image Creator 2. - create Moblin development image
Please use the kickstart file in the SDK to create your own development image:
$ cd ~/
$ sudo moblin-image-creator -c ~/moblin-sdk-${version}/tools/ks_files/2.1-developer.ks -f livecd --cache=/tmp/mycacheFor details about create a new development image, please refer to: http://moblin.org/documentation/moblin-image-creator-2/using-moblin-imag...
Install development image on netbook
- burn the image to the USB disk, assuming the USB stick is /dev/sdb in your system:
- install to the netbook by using USB disk
$ sudo dd if=moblin-2.1-developer-XXXXXXXX.iso of=/dev/sdbInstall "openssh-server" on the netbook
$ sudo yum install openssh-serverInstall "sshfs" on the host development machine
$ sudo apt-get install sshfs
or
$ sudo yum install fuse-sshfsMount rootfs of the netbook to sys-root by using "sshfs"
$ sshfs root@<ip address of netbook>:/ ~/moblin-sdk-${version}/moblin-cross-toolchain/i586-moblin-linux/sys-root/ -o nonemptyUmount sys-root
$ sudo umount ~/moblin-sdk-${version}/moblin-cross-toolchain/i586-moblin-linux/sys-root/- Printer-friendly version
- Login or register to post comments