| TuxScreen on SourceForge | TuxScreen CVS | search the Wiki |
| Browsing -> Wiki -> Main -> [PivotRoot] |
| edit, info, topics, orphans, hubs and nodes, or recent changes in the Wiki | create a new user or login |
|
TimRiker has run both Debian and Familiar on his TuxScreen. See pivot_root_to_debian-ARM for more info. From memory here are the /linuxrc additions:
# look for another root by starting card services
mount -t proc none /proc
/sbin/cardmgr -o
# do we have sbin/init on hda1?
if test -b /dev/hda1 ; then
mount -t auto /dev/hda1 /mnt
if test -f /mnt/sbin/init ; then
umount /proc
cd /mnt/
pivot_root . /mnt/initrd
fi
umount /mnt
fi
# do we have an ethernet card?
if ifconfig eth0 | grep -i hwaddr ; then
# change these!
ifconfig eth0 192.168.0.2 up
mount -o nolock 192.168.0.1:/shannon /mnt
if test -f /mnt/sbin/init ; then
umount /proc
cd /mnt/
pivot_root . /mnt/initrd
fi
umount /mnt
fi
TimRiker just made these up. Though he has similar code working at home. See the version in CVS: |
|
|
|