LOL
thats cool
I gotta fix some stuff too though
OR
you can fix your own
yeah
Basically
if you wanna add/remove programs from grml-magix
copy the grml-magix.squashfs to a empty folder on your ext3 hd
Make sure you put the grml-magix.squashfs at least 2 folders deep
or when you boot the thorshammer cd/usb it will try to boot off the grml-magix.squashfs
on hd
now, boot off the cd or thorshammer usb
make sure you boot grml-magix, not darkmagic or puppy
at desktop
open rox as root and use rox to click thru folders till you get to your hd partition containing the grml-magix.squashfs
like, on mine rox opens on /home/grml (I think)
and I navigate up to / and then go into the /mnt folder and to sda3 folder
then to LAB/grml/ where my grml-magix.squashfs is
so, then CD into the folder containing grml-magix.squashfs
for me. from running cd grml-magix
open a root terminal and
Code:
cd /mnt/sda3/LAB/grml
and then unsquashfs the grml-magix.squashfs you put there
Code:
unsquashfs grml-magix.squashfs
it will make a folder named squashfs-root
where the filesystemt is
now, CD into squashfs-root
now CHROOT into grml-magix
Code:
mount -o bind /dev dev
mount -t proc /proc proc
chroot .
thats chroot-space-period
now, stop there and you gotta transfer your running net setup to
squashfs-root to get dhcp working
open a rox window as root and navigate to your running /etc/resolveconf/run folder
and also navigate in squashfs-root to /etc/resolvconf/run folder
copy your running resolve.conf fiole to the squashfs-root
/etc/resolvconf/run folder
drag n drop the file from one rox window to the other
it will ask if you want to overwrite the existing one
YES
then open the folder in there named "interface"
go into your running "interface" folder and copy that file( mine is named "eth0") to the empty
squashfs-root/etc/resolvconf/run/interface folder
drag n drop using rox
Quote:
**MAKE sure you delete "eth0" or whatever file in /etc/resolvconf/run/interface and edit the /etc/resolvconf/resolv.conf to be blank
like so, and save it, afetre you exit chroot and before you re-squashfs it
|
then, back at your chroot terminal
enter
it should update and will say the opera gpg key is bad
fix it here
http://wiki.debian.org/Opera
so do this
Code:
gpg --keyserver subkeys.pgp.net --recv-key 033431536A423791
and
Code:
gpg --armor --export 033431536A423791 | apt-key add -
and then your good
now, again
apt-get update
OK
now
heres the current pkg list for my grml-magix
http://multidistro.com/fluxboxp/select.txt
lots of stuff in that 340mb squashfs huh?
so, to remove an app completely
for eaxample you wanna add open office and remove abiword
Code:
apt-get --purge remove abiword
or maybe abiword-common?
anyway
then
apt-get install open-office or whatever
OH
also,
gdebi-gtk is installed but I forgot to add it to menu
der?!
to edit your fluxbox menu in squashfs-root/home/grml/.fluxbox folder
use nano, as ther is no X woindow
BUT, first, you gotta become user "grml" while in the chroot
use
then
or just
then
to save in nano use control-o
to exit
control-x
edit the menu however you wish
and anything else in /home/grml
ONLY as user grml in the chroot!
don't edit or put anything in /home/grml as root
or even as user grml in your running grml
you gotta do everything concerning user grml in the chroot
everything else is root and you can do whatever
add wallpapers to /usr/share/wallpapers
to add some stuff is still difficult because of permissions and timestamps in /home/grml
sad....
How did I add the opera bookmarks and everything else in /home/grml
without messing with the permisssions etc??
thats a 2 week long journey
basically, I uploaded my running /home/grml folder as a tar.gz using gftp
to my website
I made a tar.gz named flux.tar.gz from my /home/grml folder
Code:
tar czvf flux.tar.gz grml
then used wget in the chroot to retrieve it
Code:
wget http://multidistro.com/fluxboxp/flux.tar.gz
it downloaded into /home/grml
remember to be user grml in chroot
I then untared it in /home/grml
Code:
tar -xvzf flux.tar.gz
I then copied the contents (i think) of that folder to /home/grml
Code:
cp -a grml/* /home/grml
or it was like
LOL
I can't fn remember!
I dont take notes
der?!
you can upload your running /home/grml folder using a free
file sharing/hosting service
like Rapidshare or whatever
anyweay
I just did a 10 hr day and am tired...yawn
to re-compress the squashfs-root when your done
you gotta go back to being root in chroot, from being user grml
use
it should go to
root@grml /#
then do
Code:
umount proc
umount dev
exit
exit
Now, reboot to make sure everything was unmounted cleanly
then again at desktop
open root term and cd into your folder
not squashfs-root, above it
where your grml-magix.squashfs was befoe you unsquashed it
delete the original grml-magix.squashfs you decompressed
then
Code:
mksquashfs squashfs-root name_of_yours.squashfs
so, if you wanted to name it asshole.squashfs
Code:
mksquashfs squashfs-root asshole.squashfs
LOL
ok
My wife's starting to look at me like I'm writing to some "unknown"
girl
so I gotta go rest
OH
I'll tell ya about the pmagic remaster in avbout an hour or 2
did I miss anything?