Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Anyone have successfully run chrooted Debian from a USBStick ?
I have edit the fun_plug.debian to correct directory (mnt/USB/HD_c1/) but dont work.... only works it fun_plug.
How to edit the fun_plug.debian to works correctly ?
#!/bin/sh
# Root DISK1
export DISK1=/mnt/HD/HD_a2
export DISTDIR=squeeze
cd $DISK1
mount --bind $DISK1 $DISTDIR$DISK1
mount --bind / $DISTDIR/mnt/root
mount --bind /dev $DISTDIR/dev
mount --bind /sys $DISTDIR/sys
#mount --bind /sys/crfs $DISTDIR/sys/crfs
#mount --bind /web $DISTDIR/web
mount --bind /proc $DISTDIR/proc
cp -f /proc/mounts $DISTDIR/etc/mtab
rm -f $DISTDIR/etc/fstab
touch $DISTDIR/etc/fstab
cp -f /etc/resolv.conf $DISTDIR/etc
hostname >$DISTDIR/etc/hostname
cp -f /etc/hosts $DISTDIR/etc
$DISK1/$DISTDIR/boot/chroot $DISK1/$DISTDIR /boot/linuxrc
Offline