Displaying 1 result from an estimated 1 matches for "mount5".
Did you mean:
mount
2006 Mar 03
0
Filesystems, GRUB, weirdness, oh my! [long]
...T1="/dev/hda1 /a/boot"
MOUNT2="/dev/hda3 /a"
fi
mount $MOUNT2
mount $MOUNT1
MOUNT3="proc /a/proc -t proc -o defaults"
mount $MOUNT3
MKSYS="-p /a/sys"
MOUNT4="sysfs /a/sys -t sysfs -o defaults"
mkdir $MKSYS
mount $MOUNT4
MOUNT5="/dev /a/dev -o bind"
mount $MOUNT5
echo "mount $MOUNT2"
echo "mount $MOUNT1"
cp /sbin/grubinstall /a/sbin/grubinstall
chmod 755 /a/sbin/grubinstall
chmod +x /a/sbin/grubinstall
chroot /a /sbin/grubinstall
exit 0
What this does is determines wheth...