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 15:54

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 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

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.

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

All I can figure is that for some reason the exec flag is not really being set 
when I execute the mount command, and this is causing the chroot command to 

Richard S. Crawford (mailto: rscrawford@mossroot.com)
AIM: Buffalo2K / http://www.mossroot.com
"You can't depend on your judgment when your imagination is out of focus."
-Mark Twain

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:
EDGE Tech Corp.
For donating some give-aways for our meetings.