Other Help Topics :: Mini DSL Remastering HowTo



Hi again,

ok I solved that problem...
my misstake...
never try to remater while your still in an Xsession :)

The error is now gone...
But on the remastered CD X still wont start on boot...
Any ideas?

So long
KriS

Quote (Rapidweather @ Mar. 05 2004,19:01)
Remastering 0.6.1:
-----
I have gone to testing without burning to cd, it's cheaper.
Problems are:
l. rxvt won't open, just flashes on the screen, and the console says:
rxvt: can't open pseudo-tty.
I can use the command line in emelfm, and use that to open Foxfire.

I get essentially the same results.  On the remastered DSL 0.6.2 CD everything works, except that any type of console based application results in "rxvt: can't open pseudo-tty".  Anyone solved this? :(
I found the error in the instructions lead to the tty not opening (you need to unmount /dev).  A complete set of instructions to remaster Damn Small Linux (DSL) is:

-----------------------------------------------------------------
For the remainder of this howto it will be assumed you have a dedicated partition for remastering DSL located at /dev/hda1 (the first partition of the first hard disk). You must be root to accomplish this project, 'sudo su' at a command prompt will suffice.

You may need a lot of ram and/or hard disk space to make this work.

#mount /mnt/hda1
#cp -Rp  /KNOPPIX    /mnt/hda1/
#mount --bind /dev /mnt/hda1/KNOPPIX/dev
#chroot /mnt/hda1/KNOPPIX
#mount -t proc /proc proc
(do whatever it is you did to get your internet connection up and running on the LiveCD)
#dpkg-restore
#vi /etc/apt/sources.list
(change to testing branch)

-- add/remove packages, etc... --
#apt-get install mozilla-browser
#dpkg --purge emelfn
#dkpg --purge gimp1.2-print

#umount /proc
#ctrl-d
(press Ctrl and 'D' together, to un-chroot)
#umount /mnt/hda1/KNOPPIX/dev

Make a new directory on /dev/hda1 called NewCD. Copy everything from the DSL CD to this directory, _except_ for the KNOPPIX compressed image (since this is the file we'll be replacing with the custom DSL remaster).

Create the compressed image file (your own custom KNOPPIX)

#mkisofs -R /mnt/hda1/KNOPPIX | create_compressed_fs - 65536 > /mnt/hda1/NewCD/KNOPPIX/KNOPPIX  

Now it's time to create the CD image

#cd /mnt/hda1

#mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o my_custom_DSL.iso NewCd

That's it! You've just whipped up your own custom Linux distribution, with a little (okay, a lot of) help from other people :) You can now burn this .iso image to a CD and have a bootable LiveCD of your very own.

Now if only someone can get the Java plugin for Mozilla or Firefox to work.... (I can't get the Java map at http://www.nextbus.com to funcion)

Anybody tried Linux Live?

http://www.linux-live.org/

Just wondering if that would work too. :)

Bryce,
I have posted your mini-howto in my
http://www.angelfire.com/ms/telegram/general_howto
Since the items in that are in chronological order,
it's at the end (bottom).
----
I had gotten a remaster done, with wvdial added only, and I booted it
from floppy, but no xterminal could be brought up without crashing
immediately, and also, wvdial could be run out of emelfm, but did not
want to stay connected.
---
The rxvt error said:
rxvt: can't open pseudo-tty.
---
You may have, as you say, found the error, and I'll get back to testing
the remaster procedure, and see if I can get going. I do run the remaster
procedure in an X session, in Damn Small, so I can have the instructions on
one desktop, and my actual working rxvt's on another. As I said, I got close,
but no cigar.
---
Thanks for your fine detective work.
---
  :D

Next Page...
original here.