un-master
Group: Members
Posts: 19
Joined: April 2007 |
|
Posted: April 17 2007,22:27 |
|
Hi all, long-time DSL user, first post. I am trying to remaster DSL, but istead of adding DSL extensions, I would like to be able to use apt-get, and install kernelsource to compile a kernel with changes.
I am working with DSL 3.3 (non-embedded) and I chose that because I saw that apt-get was easily enabled now. I haven't looked into DSL-N that closely, but 2.4.26 kernel is fine. Another important aspect of this remaster is that I want it to be as small as possible, many packages will be removed.
I am working in VMware with adequate memory and HD reserved. I have an ext2 partition for /source and /newcd created. So far, I am booting in VMware directly from the current.iso with the TORAM option, then copy everything from KNOPPIX/* to /source, then I Code Sample | chroot /path/to/drive/source | then cd / (which would be the chrooted /source path).
Since I am in command line only, I can (as root) run the desktop menu choice to enable apt with and enable GNU Utilities with: Code Sample | gnu-utils-restore | I can apt-get several things happily, but one thing I need requires a newer libc6 than the archived/Woody repository.
I can run deselect and easily add the repos for stable, which is switching distro versions. The puzzling part is that I can do all of this (and apt-get install from the upgraded version) but I cannot do it in chroot. I get an error about 'need to temporarily remove e2fsprg (that is from memory, I can't access the exact message now), use Force LoopBreak to do it anyway.
After some searching, I determine this is what it wants before the install (or could put it in /etc/apt/apt.conf):
Code Sample | apt-get -o APT::Force-LoopBreak=yes |
So then it runs and actually is looking pretty good, until the end where it gives me this:
Code Sample | /var/lib/dpkg/info/libc6.postinst: line 1: /dev/null: Permission denied | Searching for this error, I see many people getting it when trying to do the initial chroot, and don't have the partition mounted read-write. That is not my problem, because both root and chroot root can write to there with no problems.
Suggestions? I would also like to know how to enable the mydslPanel.lua from command line, I tried exporting the X display to localhost:0 and then running it, but it did not appear to work (I need that to download kernelsource, though I have it saved locally already). I have seen other posts mentioning remastering from a HD install, and wonder if that may be better for what I am trying to do.
thanks in advance..
|