Skip to Content.
Sympa Menu

baslinux - Re: [BL] loadlin with vmlinuz

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "David Moberg" <davidjmoberg AT lycos.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] loadlin with vmlinuz
  • Date: Wed, 01 Jun 2005 22:26:49 -0500

----- Original Message -----
From: 3aoo-cvfd AT dea.spamcon.org

> sindi keesan wrote:
>
> > How do I run profile?
>
> When bash is invoked as a login shell it automatically
> runs profile. Try using the -login parameter:
> ------------------------------
> chroot /mnt /bin/bash -login
> ------------------------------

If you're interested in chrooting to BL3, here is a snippet
from the ash manpage:

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.

Apparently, there is yet another method for ash:

SH_INIT="/etc/profile" chroot /mnt /bin/ash

Does anyone know the equivalents for other shells?

David

--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com





Archive powered by MHonArc 2.6.24.

Top of Page