baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: "David Moberg" <davidjmoberg AT lycos.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] loadlin with vmlinuz
- Date: Thu, 02 Jun 2005 20:34:37 -0500
----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>
> On Wed, 1 Jun 2005, David Moberg wrote:
>
> > SH_INIT="/etc/profile" chroot /mnt /bin/ash
>
>
> This does not seem to work - still no aliases. Have you tried it?
Oops, I added an underscore where there should be none. It should
be just "SHINIT", not "SH_INIT". Here's the rest of the blurb
from the manpage:
If neither the -s
or -c options are set, then the first arg is taken as the
name of a file to read commands from. If this is impossi-
ble because there are no arguments following the options,
then ash will set the -s flag and will read commands from
the standard input.
...
If the first character of argument zero to the shell is
``-'', the shell is assumed to be a login shell, and the
files /etc/profile and .profile are read if they exist.
If the environment variable SHINIT is set on entry to the
shell, the commands in SHINIT are normally parsed and exe-
cuted. SHINIT is not examined if the shell is a login
shell, or if it the shell is running a shell procedure.
(A shell is considered to be running a shell procedure if
neither the -s nor the -c options are set.)
> And my shell is still bash after chrooting. I can change it
> manually, and run rc, but I don't know how to run the rest of
> profile easily.
You could put the command to change it in rc or profile. Or
add /etc/profile to rc.
David
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com
-
Re: [BL] loadlin with vmlinuz
, (continued)
-
Re: [BL] loadlin with vmlinuz,
3aoo-cvfd, 06/01/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/01/2005
-
Re: [BL] loadlin with vmlinuz,
3aoo-cvfd, 06/01/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
3aoo-cvfd, 06/01/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/01/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/01/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/01/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/01/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/02/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/03/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/02/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/03/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/03/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/03/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/03/2005
-
Re: [BL] loadlin with vmlinuz,
David Moberg, 06/05/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/05/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/05/2005
- Re: [BL] loadlin with vmlinuz, sindi keesan, 06/06/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/05/2005
-
Re: [BL] loadlin with vmlinuz,
sindi keesan, 06/05/2005
- Re: [BL] loadlin with vmlinuz, David Moberg, 06/06/2005
-
Re: [BL] loadlin with vmlinuz,
3aoo-cvfd, 06/01/2005
Archive powered by MHonArc 2.6.24.