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: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] loadlin with vmlinuz
  • Date: Sun, 5 Jun 2005 14:16:09 +0000 (UTC)

On Sun, 5 Jun 2005, David Moberg wrote:

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

For chrooting to bash I think you said it was
chroot /mnt /bin/bash -login

Actually, Steven said that.

What works to chroot to BL3 is similar looking (different shells need slightly different commands): chroot /mnt /bin/sh --login

This produces aliases but 'set' tells me my shell is still /bin/bash.
I can't find a way to set shell to /bin/sh in a script but I can
type SHELL='/bin/sh' after chrooting and also run /etc/rc.

I just added "export SHELL='/bin/sh'" to /etc/profile and all is well.
I don't see why this is really necessary.

Thanks. I think it contained SHELL='/bin/sh' already, along with PATH=

Do I need SHELL= and export SHELL= if I already have SHELL= in there or should I just change the former to the latter?

Would BL3 work properly with shell set to bash when it only has ash?
The scripts all refer to /bin/sh, which is pointed at ash.
The path is now BL3 path tacked onto the BL2 path, meaning many
things are in there twice.

You can also fix this by adding "export PATH='/bin:/sbin:/usr/bin:
/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin'" to profile.
This will add all of the "standard" paths.

I now have TWO computers with newish CD-ROM drives (48X) where I
cannot insmod isofs in BL3 and therefore cannot read CD's in BL3.
I will try the BL2 kernel on them in case it is a bug in the module
of some sort. Cannot load isofs.o - 'Device or resource busy'.

Mysterious. One would think that "Device or resource busy" would
only occur with a hardware driver, not a filesystem.

We just moved the innards out of another computer in which BL2 was fussy about which CD-ROM drives it would recognize but it was happy with 20X or later, and these drives that won't work with BL3 are 48X.

I don't think the kernel is the problem because when I chroot from BL2 to BL3 (using BL2 kernel still) I still cannot load isofs. This is why I want to be able to chroot between 2 and 3.

And I have one external USR and now one internal
jumpered-or-plugnplay Rockwell 56K modem which works with BL2 but
not BL3 dialer. BL3 ppp-on just sits there doing nothing.

Are you sure about this? This may be a hardware problem.

I will check to make sure we are using the same init strings in BL2 and BL3 on this computer. Rockwell does not like AT&F1, which USR requires.

>
pppd produces garbage which I cannot stop with a Ctrl-C or a reset.

pppd needs many options to work correctly. It is utterly incapable
of dialing an ISP on its own. You need chat or eznet for that.

David

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

_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux



keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page