Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#135533 - 15/01/2003 22:23 Help! Programs0 disappears after installing preinit
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I thought that the point of preinit, and of creating the /programs0 partition, was so that you could put stuff on /programs0 and then it would still be there after an upgrade (assuming you also reinstalled preinit after the upgrade).

Well, I did that. I upgraded the software (no whining that it's RC1, please ), reinstalled Hijack, installed preinit, everything went smoothly as expected. However, I can't see the /programs0 partition any more after this. Did it somehow get erased? Is there more I have to do to make it reappear after installing preinint?
_________________________
Tony Fabris

Top
#135534 - 15/01/2003 22:28 Re: Help! Programs0 disappears after installing pr [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
no whining that it's RC1, please

Ok, instead I'll say "I can investigate if you send me the upgrade"

What's in /etc/fstab on the player?

Top
#135535 - 15/01/2003 22:40 Re: Help! Programs0 disappears after installing pr [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Hmm... I could tell you the answers for a sneak preview

Seriously though...
That was the theory, although I've never tested to see whether /dev/hda2 and /dev/hdc2 get wiped during an upgrade.

However, even assuming that they don't, certain other things will;
/bin/rop
/bin/rwp
The entries in /etc/fstab.
The mountpoints /programs0/ and /programs1/

(The mountpoints are what you 'see', and live on the root parition, that will have be wiped)

The easiest way to recreate these is to use the mkprgpt.sh script. If there is still data on /dev/hda2 (the partition formerly known as /programs0) then it won't touch it.
If not, then it'll at least get us started in the right direction, although the resulting /programs0/preinit.d/ startup script entries will need looking at to suit your set up.

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#135536 - 15/01/2003 22:54 Re: Help! Programs0 disappears after installing pr [Re: genixia]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Hmm... I could tell you the answers for a sneak preview

Thanks, running that shell script (after copying it to the player and marking it as executable) solved the problem. Programs0 is back with all its data intact. Any chance that could be added to the script that installs Preinit in the first place?

And in return, my sneak preview of RC1 is: It's pretty much all bug fixes. No mind-blowing new features, no new visuals, nothing of that sort. Just good, solid bug fixes.
_________________________
Tony Fabris

Top
#135537 - 15/01/2003 23:48 Re: Help! Programs0 disappears after installing pr [Re: tfabris]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
this is the script that i use to install preinit.


quote site rw
cd /
quote mkd programs0
quote mkd programs1
cd /bin
bin
put empeg-preinit hijack
quote site chmod 755 hijack
quote site ro
quote site reboot
quit


in programs0, i have the rest of the installation script in the preinit.d, which won't run if it sees a certain file that gets installed.

turned out to be a good method for quick and easy software changes.

Top
#135538 - 16/01/2003 07:39 Re: Help! Programs0 disappears after installing pr [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
    Programs0 is back with all its data intact. Any chance that could be added to the script that installs Preinit in the first place?
I could, but proper results rely on doing a lot more than just creating that directory, and the way I check to see which directory to use (/etc/preinit.d vs. /programs0/preinit.d) ... wait.

Yes. I can do that. If you don't see it later today, remind me.
_________________________
Bitt Faulk

Top
#135539 - 16/01/2003 07:44 Re: Help! Programs0 disappears after installing pr [Re: wfaulk]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Bitt - feel free to pull that script and use it as a basis for a a preinit install script. It is /programs0/preinit.d/ aware, and will migrate from /etc/preinit.d/ if necessary.
It would make sense for both to be under a common maintainer...
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#135540 - 16/01/2003 08:05 Re: Help! Programs0 disappears after installing pr [Re: genixia]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I hesitate to go that far, but we'll see.
_________________________
Bitt Faulk

Top