From: Alex <_alex_n_@ua.fm>
To: community@altlinux.ru
Subject: [Comm] [JT] LFS - построение системы , chroot
Date: Thu, 30 Oct 2003 13:13:48 +0200
Message-ID: <200310301313.48723._alex_n_@ua.fm> (raw)
есть MDK 9.1...
решил повозиться с системой, самый лучший спооб разобраться - построить
руками.. для этого есть LFS
если есть тут такие же безумцы, как я - отзовитесь )))
итак:
согласно книге (скачанной с сайта):
когда в mnt/lfs/static статически собраны все необходимые файлы, делаем
chroot $LFS /static/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ '
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin /static/bin/bash --login
и, мля, получаем:
chroot: /static/bin/env: No such file or directory
пытаемся поставить вопрос по - другому:
[root@Exciter alex]# chroot $LFS /static/bin/bash --login
bash-2.05a# HOME=/root
bash-2.05a# TERM=$TERM
bash-2.05a# PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin
bash-2.05a# ls
bash: /static/bin/ls: No such file or directory
bash-2.05a# PS1='\u:\w\$ '
I have no name!:/# ls
bash: /static/bin/ls: No such file or directory
I have no name!:/# /static/bin/ls
bash: /static/bin/ls: No such file or directory
I have no name!:/#
то есть, баш команду видит, но не выполняет ее... в то время, как внутренние
команды выполняются:
I have no name!:/# help
GNU bash, version 2.05a.0(3)-release (i686-pc-linux-gnu)
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
A star (*) next to a name means that the command is disabled.
%[DIGITS | WORD] [&] . filename
: [ arg... ]
alias [-p] [name[=value] ... ] bg [job_spec]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
== покусано ==
unset [-f] [-v] [name ...] until COMMANDS; do COMMANDS; done
variables - Some variable names an wait [n]
while COMMANDS; do COMMANDS; done { COMMANDS ; }
I have no name!:/#
кто что скажет?
--
Alex
== In food we trust ==
next reply other threads:[~2003-10-30 11:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-30 11:13 Alex [this message]
2003-10-30 17:32 ` [Comm] [JT] LFS - построение системы, chroot Евгений Косенко
2003-10-31 8:13 ` Alex
2003-10-31 4:21 ` [Comm] [JT] LFS - построение системы , chroot Максим Ярушин
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310301313.48723._alex_n_@ua.fm \
--to=_alex_n_@ua.fm \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git