l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Dec 31 16:59

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Getting new Linux box to boot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Getting new Linux box to boot

On Fri 31 Dec 04,  3:38 PM, Richard S. Crawford <rscrawford@mossroot.com> said:
> On Friday 31 December 2004 11:07, Peter Jay Salzman wrote:
> >    1a. cd into your *real* root filesystem, /mnt
> >    1b. Use chroot.  This makes /mnt temporarily "look" like /.
> >    1c. Run lilo and reboot.
> I remounted lumix to /mnt/lmx via:
> # mount /dev/hda1 /mnt/lmx -t ext2 -o exec
Hmmm.  I'm starting to run out of ideas.  Maybe Rod, Rick, Henry, Mark or
Jeff will have more ideas.  Try:

   # mount /dev/hda1 /mnt/lmx -t ext2 -o remount,exec

> Then I executed mount and got this:
> # mount
> .
> .
> .
> /dev/hda1 on /mnt/lmx type ext2 (rw)
> which seems like the exec flag is not being set.
You can test this.  Write a little shell script called 'hello' on /mnt/lmx:

##################  cut here

echo "Hello World"

##################  cut here

Change its permissions:

   chmod u+x ./hello

And try to run it:


If the partition is mounted as noexec, you'll get a really wierd message
like "bad interpreter".

> Also, when I tried chroot:
> # chroot /mnt/lmx /bin/sh
> I got:
> illegal instruction
> I double checked and made sure that sh is really in /mnt/lmx/bin/sh

I Googled for this, and found that "illegal instruction" from chroot comes
from two main things:

   1. Varied hardware problems

   2. Running something compiled for a more advanced system.  In one case, a
      person was installing Gentoo using a stage 2 disk intended for 686 on
      an old Pentium Pro.

I'm more apt to to lean towards #2.  What kind of computer are you doing
this on?  Have you read any lmx README files?  Maybe they have "system
requirements" or something.


The mathematics of physics has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's "Fearful Symmetry"

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.