hi, i'm trying to remaster tinycore linux for myself, i just love playing with stuff
so what i did was to empty my sda5 and sda6 partition
i copied the /boot folder in both sda5 and sda6 and set the bootflags to tce=sda5 and sda6 according to my interests
sda6 was going to be my automated tiny and sda5 my manual one
so i boot into sda6, when it was all loaded i started doing my thing
tce-load -wi Xlibs.tcz
tce-load -wi Xprogs.tcz
tce-load -wi ati-fglrx.tcz
tce-load -wi ati-openbox.tcz
tce-load -wi openbox.tcz
sudo aticonfig --initial
cat /etc/X11/xorg.conf > /mnt/sda5/xorg.conf
i started x to check if it was working and it was all good
so i rebooted, entered into my normal microcore (on sda10)
copied everything from sda6/tce/optional into sda5/tce/optional
i made 4 scripts based on the instructions found on the wiki
(the scripts are at the bottom of the post)
everything went according to plan
i try to load sda5 and it doesn't startx
whatever
echo "openbox" | sudo tee /etc/sysconfig/desktop
echo "Xorg" | sudo tee /etc/sysconfig/Xserver
i try to startx again, ths time it works
but the fonts are all messed up
am i missing something?
save-me
#! /bin/bash
echo "extracting"
/home/ali/re1
cd /mnt/sda5/tce/optional
echo "installing"
LIST=`ls`
for X in $LIST;
do
echo $X
/home/ali/re3 $X
done
cp /mnt/sda5/xorg.conf | sudo tee /tmp/extract/etc/X11/xorg.conf
echo "saving"
/home/ali/re2
re1
#! /bin/bash
cp /mnt/sda5/boot/microcore.gz /tmp
mkdir /tmp/extract
cd /tmp/extract
zcat /tmp/microcore.gz | sudo cpio -i -H newc -d
re2
#! /bin/bash
sudo depmod -b /tmp/extract/ 2.6.33.3-tinycore
sudo ldconfig -r /tmp/extract
cd /tmp/extract
sudo find | sudo cpio -o -H newc | gzip -2 > ../microcore.gz
cd /tmp
advdef -z4 microcore.gz
mv microcore.gz /mnt/sda5/boot/
re3
#! /bin/bash
X=$1
cp ./$X ../
echo "" > $X
sudo mount ../$X ../mount
du -sh /tmp/extract
du -sh ../mount
sudo cp -r ../mount/* /tmp/extract
du -sh /tmp/extract
sudo umount ../mount
rm -rf ../$X