Looks like I did not do a good job compiling the kernel the first time around. I seem to hang in init so I know there are missing drivers in init.xz. It may take me more than the weekend to recompile and start over. If anyone wants to try Porteus out without an optimized kernel I would not discourage. Just be aware that I have not built an on screen keyboard as of yet.
***EDIT Actually I would discourage. As of 6-06-2011 neither porteus iso will work on the WebDT. I will edit this post once things have been straightened out. For the time being RC-1 will not recognize a keyboard plugged in on usb and RC-2 needs a pae capable CPU, which the dt does not have.
Needed things. Keyboard, powered usb hub, two usb sticks of at least 500megs in size.
Go to Porteus.org to grab an iso.
http://www.ponce.cc/porteus/i486/testing/porteus-v1_rc2-x86/Grab a penmount driver from here:
http://210.68.130.200/Download/Driver/P ... .3.tar.bz2Mount your ISO and copy your folders, boot and porteus, to a usb drive. If you are on windows I use a program from slysoft called virtual clone drive to mount an iso. In linux its something like
- Code: Select all
mount -o loop /path/to/iso /mnt/
Go in to the boot folder and make the drive bootable by clicking win_start_here and if you are running win7 do the uac option then install. Otherwise install porteus would be the right option. The dialog should tell you that the drive is now bootable.
Now repeat process with another usb drive.
Boot your webdt to the first usb stick. Upon seeing a screen with the Porteus logo press tab and arrow over the left and change the
- Code: Select all
vga=791
to
- Code: Select all
read vga=771
and arrow back to right, hit the space bar one at the end of the line and add
- Code: Select all
toroot
. This will put us right in the root account in the gui. Press enter.
Once in the gui open a terminal by pressing
- Code: Select all
alt and f2
. Type
- Code: Select all
xterm
in to the dialog. Now we have a terminal. Now the fun stuff.
At the terminal type
- Code: Select all
cfdisk
Within cfdisk and making sure we are on /dev/sda1
erase all the partitions on the drive and
make one large partition,
bootable,
type 83,
then write changes to disk,
type yes to confirm.
Now just to be safe lets reboot as the partition table is only read once at boot. When Porteus logo comes on to the screen dont forget we need to change vga=791 over to vga=771 and put toroot at the end of that boot line.
On reboot lets open a terminal again type
- Code: Select all
parted /dev/sda1
at the command line type
- Code: Select all
mkfs /dev/sda1 ext2
and press enter. A dialog will pop up and we select
- Code: Select all
partition 1
, type out
- Code: Select all
ext2
and confirm if asked. Now parted will make a ext2 fs on /dev/sda1
Now we insert our second usb stick in to our powered usb hub and after a few moments type
- Code: Select all
dmesg | tail
Look for a (sdc) mention or something similar. If you have sdc try these two commands:
- Code: Select all
mkdir /mnt/sdc1
- Code: Select all
mount /dev/sdc1 /mnt/sdc1
if no worky try mount
- Code: Select all
/dev/sdc /mnt/sdc1
or use what sd? you have to work with.
So in review we now have one internal flash drive in the webdt at /mnt/sda1
we have one usb stick that we booted to located at /mnt/sdb1 or at least it should be there by default and we have one stick that we just put in that we have manually mounted at /mnt/sdc1. Excellent!
Take a moment here to consider which of the two desktops you want to use. KDE3 or LXDE. If you want LXDE and no KDE simply erase the KDE.xzm files found in /porteus/base folders. KDE and possibly a kde-apps too. On boot it will skip over kde and boot to LXDE instead.
So lets copy Porteus over to the webdt:
- Code: Select all
cp -r /mnt/sdc1/boot /mnt/sda1/
- Code: Select all
cp -r /mnt/sdc1/porteus /mnt/sda1/
Now lets change over to the internal flash and make it bootable:
- Code: Select all
cd /mnt/sda1/boot
*if you get a long list of i/o errors at this point something did not go right with the step after partitioning. The ext2 fs is not intact if errors persist. If no errors lets move on.
- Code: Select all
./lin_start_here
and follow the steps to write the mbr on to the internal flash in the WebDT.
Once completed lets take a look at one file in the /boot folder. Open porteus.cfg in your favorite text editor. Make some changes to each boot line we see in there. Add
- Code: Select all
toroot
to all of the boot lines found as well as
- Code: Select all
acpi=force
and
- Code: Select all
noswap
. Change all the
- Code: Select all
vga=791
to
- Code: Select all
vga=771
and now we wont be bothered to do this on reboot any more.
Okay so lets tell it to reboot and lets unplug all the usb stuff once the screen goes blank. If everything worked out well you should be booting to porteus. If you have not been prompted to as of yet make your save.dat file. If you removed KDE you will have a lot of space to allocate. If not you will have around 100 and 150 megs to work with.
Now lets install that penmount driver. Before we copy the driver over I rename it so its easy to navigate to on cli. Your choice. Copy the driver to your root directory.
- Code: Select all
cp -r /mnt/sdc1/penmount.tar.bz2 /root
would be the command if you had the file on a usb stick mounted on /mnt/sdc1 and you were in the root directort on the WebDT internal flash.
- Code: Select all
tar -xvf penmount.tar.bz2
- Code: Select all
cd penmount
- Code: Select all
./install.sh
follow prompts
Logout and log back in as root.
open terminal wth
- Code: Select all
alt + f2
type
- Code: Select all
gCal 9
and have stylus ready to calibrate screen. Log out and back in again and you should have a touchscreen.
Heading out of town for the weekend. I hope that this is complete enough to work with. If not let me know and I will hop on IRC chat and try to help out.