|
|
@ -80,7 +80,7 @@ while [ ! -e $root ]; do |
|
|
|
done |
|
|
|
done |
|
|
|
echo -e "\n\nMounted rootfs after $tries seconds" |
|
|
|
echo -e "\n\nMounted rootfs after $tries seconds" |
|
|
|
ln -s "$root" /dev/root |
|
|
|
ln -s "$root" /dev/root |
|
|
|
mount -o ro -t ext3 /dev/root $NEWROOT |
|
|
|
mount -o ro /dev/root $NEWROOT |
|
|
|
|
|
|
|
|
|
|
|
# now we need to prepare to switchroot |
|
|
|
# now we need to prepare to switchroot |
|
|
|
mount --bind /dev $NEWROOT/dev |
|
|
|
mount --bind /dev $NEWROOT/dev |
|
|
|