Customising the LiveCDs: what's the trick?

Michael T. Richter ttmrichter at gmail.com
Mon Jul 10 01:16:45 UTC 2006


So, I decide to make a slightly tweaked version of Xubuntu (changing the
default language, for starters, as well as shrinking some of the
packages and adding others) to pass around to my friends and colleagues.
In my searching, I stumble across
https://help.ubuntu.com/community/LiveCDCustomization/6%2e10 which seems
to be exactly what I'm looking for.  Following the instructions
provided, however, breaks at the step entitled "Prepare and chroot".  A
bit of digging reveals that I need to first copy my /etc/resolv.conf
into the chrooted etc directory so that I can follow the next two steps
(otherwise both die for want of knowing where my computer is).

Now, from everything I've read, once I've chrooted into the given file
system, I should be able to just add and remove packages using apt-get
at will.  And, sure enough, when I use apt-get install to, say, install
apache2, everything starts out working as it should.  The problem comes
at the point of actual installation, however.  When apt-get starts
running dpkg (I think that's what it does, right?), everything falls
apart.  I get permission errors writing to /dev/null (!) for example,
not to mention every other directory you'd think that a root account
should have access to (/tmp, /var, etc.).  The system collapses and my
chroot jail is now in a very bad state.

What am I missing?  What is needed to continue the customisation of the
LiveCD?

-- 
Michael T. Richter
Email: ttmrichter at gmail.com, mtr1966 at hotpop.com
MSN: ttmrichter at hotmail.com, mtr1966 at hotmail.com; YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
mtr1966 at jabber.cn

"I have never seen the poor people being so familiar with their heads of
state as they were with [Michele Duvalier]. It was a beautiful lesson
for me. I've learned something from it." --Mother Theresa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060710/e8bd4da9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060710/e8bd4da9/attachment.sig>


More information about the ubuntu-users mailing list