Path: cnn.Princeton.EDU!usenet
Lines: 23
NNTP-Posting-Host: alanho.student.princeton.edu
X-Newsreader: Gnus v5.5/Emacs 20.2
Xref: cnn.Princeton.EDU comp.os.linux.setup:219838
I'm having a problem executing programs from a mounted partition. In
particular, when I boot the computer (PC/linux) from a rescue disk and mount
the partition:
/> mount -t ext2 -o exec /dev/hda2 /mnt
and then try to run a program from the mounted partition, for example:
/> /mnt/sbin/lilo -r /mnt
sh: /mnt/sbin/lilo: No such file or directory
The file seems un-executable! And yet the file exists:
/> ls /mnt/sbin/lilo
/mnt/sbin/lilo
It appears I'm not able to execute _any_ program from the mounted
partition. Why not? Isn't the -o exec flag in the mount command supposed to
allow execution?
Thanks,
Alan