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: Tue, 31 May 2005 15:13:25 +0000 (UTC)

On Mon, 30 May 2005, David Moberg wrote:

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

On Mon, 30 May 2005, David Moberg wrote:

Can I run init after chrooting?

No. "Init is the parent of all processes" and must be the first thing
started in user space.

But I can still run BL3 programs chrooted from BL2 sometimes. What
does init actually do?

It runs everything in /etc/inittab. Usually, this means rc(s),
getty and unmount (during shutdown). It should start anything
you need to use applications (e.g. X, lpd, crond, syslogd,
although it is highly debatable whether you need any of this.).

I just chrooted to BL3 partition and ran rc and I can now also run links2 and startx. inittab refers to rc, sets up three tty's with sh (did I already do that with chroot /hd /bin/sh? - if not, bash from BL2 is fine), sets Ctrl-Alt-Del to reboot, and does shutdown and restart. Since I think these are the same in BL2, it should be enough just to run rc in order to access BL3 in a BL2 terminal. Could I type chroot /hd /bin/sh;rc and make this an alias called bl3? Then I could run netpbm and playmidi and abiword in BL3 after booting to BL2. My partner wants to run dosemu from BL2 but the latest version (maybe there is now a later one) had a CLI bug (no A or S). I would rather not be mixing libc5 and libc6 libraries (libpng, for instance) in BL2. It would be lovely to have them on different vts.


rc sets the BL3 path, and runs e2fsck on the new partition. I could instead of rc use the PATH line in rc.

In BL2 rc sets the path to /bin:/sbin:/bin/busybox.
In BL3 to /sbin:/usr/sbin:/bin:/usr/bin - why not busybox?

/etc/profile also sets the path - in BL3 it adds /usr/X11R6/bin and /usr/local/bin. In BL2 it adds /usr/local/sbin, /usr/X11R6/bin /bin/busybox. (I may have added the /usr/local/sbin myself).

Should I also be running profile or does chroot do that?


You should be able to run the login command and successfully log in.
I cannot login to BL3 because there is no login. I can chroot from
Bl3 to BL2 and login. I think Steven once explained how to add
login to BL3.

You can chroot to Ubuntu and run login there if it has it (it should!)
No need for that any more but I can try it some time.

I meant to try it on a PC that can boot loop BL3.

I wanted to try it on this one because it already has the IDE
CD-burner that won't work in linux before kernel 2.6, and it is
300MHz and has 128MB RAM. Most of our others have less RAM and no
CD-burner. We are also setting up the dual-CPU 200MHz (with a
second CPU from a dead board given to us by a different person)
with the failing 8GB drive in order to see if Ubuntu can do SMP.

2.6 is very unstable, due to the Bitkeeper fiasco and various
other issues which slowed down development.

What is a Bitkeeper fiasco?

I was hoping to get rid of Win98 if Ubuntu could substitute, but
the modem update program I just downloaded needs Win98SE, as does
the last one. (I had one that worked in DOS and required some
decision making). I have Win98FE (which won't even work with the
4MB SB Live driver I just downloaded to test the card, which works
in linux with emu10k1 after soundcore). Is there something I can
do to Win98FE so that the Win98SE (not an upgrade) will install on
top of it?

It should install right over it. The only time I ever installed
98SE, it was to a blank drive. Are you running the 98SE setup
from within 98FE (i.e. insert disk while 98FE is running and
run d:setup)


I will try setup from within FE in case I forgot to try that. I think I tried to setup from DOS or boot from the SE CD.

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