文件内容如下:
mount -t ext3 /dev/hdd2 /opt/distro/magic1.1/
mount --bind /proc /opt/distro/magic1.1/proc
mount --bind /tmp /opt/distro/magic1.1/tmp
chroot /opt/distro/magic1.1
#after getting out of the chrooted shell
umount /proc
umount /tmp
umount /dev/hdd2
注意:/dev/hdd2是我安装ML的分区, /opt/distro/magic1.1/是我的mount point; 可根据自己的情况更改。使用完毕从ML退出, 打exit即可。
这个方法基于ldp的一个howto,好像是叫multi distro development, 可在www.tldp.org上找到。
使用这个方法, 可以安装many distros.
希望上述内容对大家有所帮助。
Good day!