On Thu, Oct 16, 2008 at 8:16 AM, Jeremy Huntwork
<[EMAIL PROTECTED]> wrote:
>
> The real issue is that the --bind mount of /dev is unmounted as are
> /proc and /sys. (BTW, this issue would also affect any attempt to use
> the grub installed in chroot, since that needs the devices corresponding
> to
Matthew Burgess wrote:
> On Thu, 16 Oct 2008 00:30:46 -0400, Jeremy Huntwork <[EMAIL PROTECTED]> wrote:
>
>> I don't believe it's about simply minimalism, but it's about keeping to
>> the point. If it is really beneficial to many users in various
>> circumstances to have such a command in the book
On Thu, 16 Oct 2008 00:30:46 -0400, Jeremy Huntwork <[EMAIL PROTECTED]> wrote:
> I don't believe it's about simply minimalism, but it's about keeping to
> the point. If it is really beneficial to many users in various
> circumstances to have such a command in the book, great, add it. But if
> it's
Bruce Dubbs wrote:
> Yes. Is there something wrong with that?
Changing the book is the wrong approach. Especially, changing the
commands in the book is the wrong approach. There are changes in the
format of the underlying XML to accomodate scripting (and therefore
jhalfs) but I personally feel
Jeremy Huntwork wrote:
> Bruce Dubbs wrote:
>> mknod -m 666 $LFS/dev/tty c 5 0
>>
>> If that is done in Chapter 6, then the user doesn't have to remember any
>> additional lines other than the chroot line (which is difficult enough).
>
> Keep in mind why you want this. If you are really going thr
Bruce Dubbs wrote:
> mknod -m 666 $LFS/dev/tty c 5 0
>
> If that is done in Chapter 6, then the user doesn't have to remember any
> additional lines other than the chroot line (which is difficult enough).
Keep in mind why you want this. If you are really going through the book
as a user, this e
Trent Shea wrote:
> On Wednesday 15 October 2008 19:56:44 Bruce Dubbs wrote:
>> Actually the issue only comes up if the user uses jhalfs or reboots
>> or umounts /dev. I'd just like to make it easier than having to
>> remember an obscure command.
>
>
> True. There is a note in 6.61. Cleaning Up,
On Wednesday 15 October 2008 19:56:44 Bruce Dubbs wrote:
> Actually the issue only comes up if the user uses jhalfs or reboots
> or umounts /dev. I'd just like to make it easier than having to
> remember an obscure command.
True. There is a note in 6.61. Cleaning Up, but the only reason I
remem
Trent Shea wrote:
> On Wednesday 15 October 2008 16:05:22 Bruce Dubbs wrote:
>> Yes. `mknod -m666 /dev/tty c 5 0` makes everything work correctly.
>> Should we add that to "6.2. Preparing Virtual Kernel File Systems" ?
>
> mount -v --bind /dev $LFS/dev seems to populate everything for me.
I agr
On Wednesday 15 October 2008 16:05:22 Bruce Dubbs wrote:
> Yes. `mknod -m666 /dev/tty c 5 0` makes everything work correctly.
> Should we add that to "6.2. Preparing Virtual Kernel File Systems" ?
mount -v --bind /dev $LFS/dev seems to populate everything for me.
Trent.
--
http://linuxfromscr
Dan Nicholson wrote:
> On Wed, Oct 15, 2008 at 3:10 PM, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
>> After jhalfs completed, I followed the instructions to chroot and set the
>> root
>> passwd. I used:
>>
>> /usr/sbin/chroot "$LFS" /usr/bin/env -i \
>> HOME=/root TERM=linux PS1='\u:\w\$ ' \
On Wed, Oct 15, 2008 at 03:36:11PM -0700, Dan Nicholson wrote:
>
> You need devices, specifically /dev/tty for passwd (see getpass(3)).
> jhalfs tears down the chroot when it's done, and the only way to get
> it back is to do it manually like in the book. This has come up a
> bunch of times in the
On Wed, Oct 15, 2008 at 05:10:33PM -0500, Bruce Dubbs wrote:
> After jhalfs completed, I followed the instructions to chroot and set the
> root
> passwd. I used:
>
> /usr/sbin/chroot "$LFS" /usr/bin/env -i \
> HOME=/root TERM=linux PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/
On Wed, Oct 15, 2008 at 3:10 PM, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
> After jhalfs completed, I followed the instructions to chroot and set the root
> passwd. I used:
>
> /usr/sbin/chroot "$LFS" /usr/bin/env -i \
> HOME=/root TERM=linux PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/
After jhalfs completed, I followed the instructions to chroot and set the root
passwd. I used:
/usr/sbin/chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM=linux PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
It's been a while and I don't remember
15 matches
Mail list logo