LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-14-2010, 12:56 PM   #31
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled

Linus,

Have you tried these enlightenment packages?:

http://packages.enlightenment.org/debian/

A specific listing for Lenny(and Testing and Sid!)

Might be worth a try.
 
Old 08-14-2010, 01:48 PM   #32
quotaholic
LQ Newbie
 
Registered: Aug 2010
Location: Denver CO
Posts: 8

Rep: Reputation: 0
Yes I did however the snapshot of e17 is quite old in those repos. In particular I like how the illume and illume-home profiles are more functional in more recent snapshots. The illume-home updates in svn are perfect for the target tablet. Full screen interface and wonderful keyboard. With the versions in packages.enlightenment.org illume is fairly broken. Your image had these profiles and the live iso worked well on the hardware.

Tried to remaster your iso using ubuntu targeted tools however each time the scripts seem to want to download a great deal of software and bloat up the image before I could get to the customize part. If nothing else I will try a vm and building up an image then run a modified version of your script.
 
Old 08-14-2010, 04:00 PM   #33
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
I will work on a minimal Debian image if you wish, of Lenny or what?
or Ubuntu 10.04 or 10.10 which do you wish?

do you have hdd space to install/remaster it to your specs?
about 4-5gb is great

what about ARCH?
The above Ubuntu scripts are old now too...

EDIT:
Updated script for e17-svn and am debugging it now, also removed many apps from the script and will try to make it a minimal e17 10.04...

Last edited by linus72; 08-14-2010 at 07:38 PM.
 
Old 08-15-2010, 08:23 AM   #34
quotaholic
LQ Newbie
 
Registered: Aug 2010
Location: Denver CO
Posts: 8

Rep: Reputation: 0
Wow thats really nice of you, thank you!

The hardware I am targeting usually comes with 500 meg module on a chip nand flash storage. Mine has a 1gb chip and some old geode hardware is found throughout both the popular models. Many members on my site have upgraded to more storage as 500 is rather tiny. Thats why, in an ideal world, I wanted to get a live image that would load to a ram disk and have all needed drivers included. E.G. penmount pcm9000 serial touch screen, atlas_btns.ko, air_o and the newly released VT6656 driver from Via. I have plenty of space on my desktop and will likely have to make a vm image to remaster.

Last I knew Ubuntu 10.04 would not boot on the older of the tablets I support. Both 9.04 and 9.10 did, at least on the newer of the two. Lenny seems to be lighter weight and has been the distro of choice so far. Especially since it comes with all but the VT6656 driver preloaded and since wicd hit backports. Arch is i686 only last I knew and I have to stick with 486 kernels for the age as well as the 400 and 500 mhz cpu's. I wish Lenny had blueman from blueman-project.org in its repos as both tablets have a nice bluecore 2 bluetooth chip embedded. Tried Slackware 13.0 and newer as well. AlienBob indicated that the atlas_btn input driver would be included in 2.6.29 kernel. However I couldn't seem to get acpi to take on 13 and 13.1 in recognizing the hardware.

I built up a lenny image yesterday with E17 from svn on a 1gb chip by using ReasyE17.sh. It was taking about 540mb with all drivers and after removing the sources man and doc files. 540 megs with build tools and kernel headers that is. Could save about 130 - 150 megs with removing those. My plan was to squashfs to external storage and geniso an image.

Last edited by quotaholic; 08-15-2010 at 08:25 AM.
 
Old 08-15-2010, 08:37 AM   #35
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
well
I just finished the e17 script and it comes up to 427mb iso
after dleteing /usr/share/doc and the e17_src in /var/cache

However, none of the themes/wallpapers from e17 org will work with it?


Why e17 if I may ask?

as to Slackware; have you tried compiling my live kernel for -current
that will make a livecd, etc and has Zen kernel 2.6.34 with lots of drivers,etc
http://multidistro.com/NFLUXNEW/SQ4/kkits/kkits.html

also, maybe remaster the new Slackware based mini I made (163mb)
http://multidistro.com/NFLUXNEW/SQ4/slack.html

just recompile kernel for i486 and remaster, etc
 
Old 08-15-2010, 10:10 AM   #36
quotaholic
LQ Newbie
 
Registered: Aug 2010
Location: Denver CO
Posts: 8

Rep: Reputation: 0
I will have to check those out. Thanks for the links. Did you use the huge.s or the smp kernel on the mini image? I will look into weather or not the zen kernel has geode support. One of the Slackware packagers indicated that I would have to stay with the huge kernel for geode support.

I did try lXDE as well as matchbox on these tablets. LXDE has its merits and matchbox does as well. Matchbox-keyboard always left me with a lot of xorg errors taking place in the background and I never did figure out how to configure it well. E17 is a great balance of eye-candy and small footprint.

The alternate on screen keyboard is the xvkbd application. It looks like it came from Windows CE. E17 just works much better on the limited 256mb of ram available on the target hardware. That and its smaller memory footprint make it much snappier than the others. Again the illume profile is just perfect for the application with its built in keyboard. Key bindings in the input settings save me a lot of work avoiding xmodmap files with regards to how the tablets external buttons get mapped as well.

I'll check out your images later today.

Thanks again
quotaholic
 
Old 08-15-2010, 11:03 AM   #37
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
the kernel is the zen 2.6.34 kernel here
http://zen-kernel.org/

have you thought of Fluxbox?
its my fav as you can tell
the mini includes fluxconf for setting up keys,etc
 
Old 08-15-2010, 11:49 AM   #38
quotaholic
LQ Newbie
 
Registered: Aug 2010
Location: Denver CO
Posts: 8

Rep: Reputation: 0
Fluxbox runs well on the hardware however the right click to get a menu was kinda hard on a touchscreen based tablet. A half second stationary press in one spot will pass a click action. I remember putting a dock at the bottom of the screen when I was playing with it (a little over a year ago) however I can't remember its name. Thinking on it I may be able to mod the key-grabber to make a menu appear with any left click action as well. Doing round two on a minimal debian e17-svn now. Xorg just would not start last time around and even with no "EE" instances in the Xorg.0.log. After this finishes compiling I will give your Slackware mini image a go.
 
Old 08-22-2010, 04:15 PM   #39
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
OK
I think I got the 10.04 script working good for e17 and fluxbox
you can edit either for whatever pkgs you want

heres new e17 1004 script "e17-10.04.sh"
Code:
#!/bin/bash
#script -f -a build.log
iso="ubuntu-mini-remix-10.04-i386"

if [ "$UID" -ne "0" ]
then
echo "This script will only work when run by "root"."
exit 1
fi

# not everyone will have squash tools, install them if not found
if [ ! `which unsquashfs` ]
then
aptitude install squashfs-tools
fi

# not everyone will have genisoimage, install it if not found
if [ ! `which mkisofs` ]
then
aptitude install genisoimage
fi

# not everyone will have xnest, install it if not found
if [ ! `which Xnest` ]
then
aptitude install xnest
fi

# not everyone will have wget, install it if not found
if [ ! `which wget` ]
then
aptitude install wget
fi

START=$(date +%s)

wget http://www.ubuntu-mini-remix.org/download/10.04/ubuntu-mini-remix-10.04-i386.iso
mkdir iso
mount $iso.iso iso/ -o loop

cp -R iso/ image/

echo "Decompressing SquashFS..."
cp iso/casper/filesystem.squashfs ./
unsquashfs filesystem.squashfs

echo "Setting up Live CD chroot..."
mv squashfs-root chroot
cp /etc/resolv.conf chroot/etc/resolv.conf
cp /etc/hosts chroot/etc/
cp -a /etc/apt/* chroot/etc/apt/

mount --bind /dev/ chroot/dev
chroot chroot/ mount -t proc none /proc
chroot chroot/ mount -t sysfs none /sys
chroot chroot/ mount -t devpts none /dev/pts

mkdir -p chroot/boot/grub
export HOME=/root
export LC_ALL=C

echo "Refreshing Aptitude"
sleep 3
chroot chroot/ aptitude update
chroot chroot/ apt-get autoremove

echo "...Upgrading Packages"
sleep 3
chroot chroot/ aptitude -f -y safe-upgrade

sleep 3

# Please edit for pkg's you want-
echo "Installing Packages you want"
sleep 3
chroot chroot/ aptitude install -y -f menu firefox normalize-audio grub2 plymouth-x11 flashplugin-nonfree flashplugin-nonfree-extrasound lxappearance leafpad pcmanfm gdm gparted casper laptop-detect os-prober ejecter extra-xdg-menus menu-xdg lupin-casper lupin-support lxterminal synaptic ubiquity ubiquity-frontend-gtk discover1 linux-generic gnome-device-manager gnome-menus gnome-settings-daemon wicd gnome-utils xarchiver gftp gnome-format gnome-themes language-selector langupdate xnest zenity zsync usb-creator-gtk e17-svn
chroot chroot/ apt-get check
chroot chroot/ aptitude -y purge linux-image-2.6.32-21-generic
chroot chroot/ apt-get autoremove
chroot chroot/ apt-get clean
chroot chroot/ aptitude clean
chroot chroot/ aptitude autoclean

#sleep 30

# hopefully creating working default user ubiquity, etc desktop
# add "Enlightenment;" to end of ubiquity-gtkui.desktop file!
# cntrl + o + enter saves file, cntrl + x closes Nano
chroot chroot/ nano usr/share/applications/ubiquity-gtkui.desktop

# prevent the installer from changing the apt sources.list (hopefully?)

cp /usr/share/ubiquity/apt-setup chroot/usr/share/ubiquity/apt-setup.saved

chroot chroot/ easy_e17.sh -u

sleep 3

# Here set up the e17 Desktop, note change the sleep ? to whatever
echo "Starting Xnest Session..."
Xnest -ac :3 &
echo "Please set up your root & user Desktop,etc then logout of your Desktop & kill Xnest"
sleep 3
chroot chroot/ env DISPLAY=":3" opt/e17/bin/enlightenment_start &
sleep 300

mkdir e17src
rm -r chroot/usr/share/doc/*
mv chroot/var/cache/e17_src e17src/
chroot chroot/ usr/sbin/update-initramfs -u -v

echo "Creating filesystem.manifest and filesystem.manifest-desktop"
echo "...Copying installed packages text to image/"
sleep 3
chroot chroot/ dpkg-query -W --showformat='${Package} ${Version}\n' > image/casper/filesystem.manifest
cp image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop
sleep 3

#cleanup chroot
echo "Cleaning up chroot..."
chroot chroot/ apt-get check
chroot chroot/ apt-get autoremove
chroot chroot/ apt-get clean
chroot chroot/ aptitude clean
chroot chroot/ aptitude autoclean
chroot chroot/ rm -rf /tmp/*
chroot chroot/ rm /etc/resolv.conf
chroot chroot/ umount -l -f /proc
chroot chroot/ umount -l -f /sys
chroot chroot/ umount /dev/pts
umount chroot/dev

echo "Copying your kernel and initrd for the livecd"
cp chroot/boot/vmlinuz-`uname -r` image/casper/vmlinuz
cp chroot/boot/initrd.img-`uname -r` image/casper/initrd.lz

echo "Removing old SquashFS filesystem..."
rm image/casper/filesystem.squashfs

echo "Creating new SquashFS filesystem...This will take a while"
sleep 1
mksquashfs chroot image/casper/filesystem.squashfs
printf $(sudo du -sx --block-size=1 chroot | cut -f1) > image/casper/filesystem.size

echo "Finding and creating MD5 hash sums of files in image..."
cd image
find . -type f -print0 | xargs -0 md5sum > md5sum.txt

sleep 3

echo "Creating new image..."
cd ..
genisoimage -r -V "Ubuntu 10.04 i386" -cache-inodes -J -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o Phalanx2-e17-10.04-i386-alpha1.iso image/

#cleanup working directory
echo "Cleaning up working directory..."
umount iso/

# In case you want to chroot back into squashfs-root or fix something in image/ , deleting squashfs-root and image folders commented out.
#rm -rf squashfs-root
#rm -rf image
rm -rf iso
rm filesystem.squashfs

echo "Getting MD5 and SHA1 sum of image..."
echo "MD5: " > Phalanx2-e17-10.04-i386-alpha1.sums
md5sum Phalanx2-e17-10.04-i386-alpha1.iso >> Phalanx2-e17-10.04-i386-alpha1.iso.md5sums
echo "SHA1: " >> Phalanx2-e17-10.04-i386-alpha1.sums
sha1sum Phalanx2-e17-10.04-i386-alpha1.iso >> Phalanx2-e17-10.04-i386-alpha1.iso.sha1sums

END=$(date +%s)

echo "Done at `date`. The whole process took $(($END - $START)) seconds!"
exit
and the fluxbox one
Code:
#!/bin/bash
#script -f -a build.log
iso="ubuntu-mini-remix-10.04-i386"

if [ "$UID" -ne "0" ]
then
echo "This script will only work when run by "root"."
exit 1
fi

# not everyone will have squash tools, install them if not found
if [ ! `which unsquashfs` ]
then
aptitude install squashfs-tools
fi

# not everyone will have genisoimage, install it if not found
if [ ! `which mkisofs` ]
then
aptitude install genisoimage
fi

# not everyone will have xnest, install it if not found
if [ ! `which Xnest` ]
then
aptitude install xnest
fi

# not everyone will have wget, install it if not found
if [ ! `which wget` ]
then
aptitude install wget
fi

START=$(date +%s)

wget http://www.ubuntu-mini-remix.org/download/10.04/ubuntu-mini-remix-10.04-i386.iso
mkdir iso
mount $iso.iso iso/ -o loop

cp -R iso/ image/

echo "Decompressing SquashFS..."
cp iso/casper/filesystem.squashfs ./
unsquashfs filesystem.squashfs

echo "Setting up Live CD chroot..."
mv squashfs-root chroot
cp /etc/resolv.conf chroot/etc/resolv.conf
cp /etc/hosts chroot/etc/
cp -a /etc/apt/* chroot/etc/apt/

mount --bind /dev/ chroot/dev
chroot chroot/ mount -t proc none /proc
chroot chroot/ mount -t sysfs none /sys
chroot chroot/ mount -t devpts none /dev/pts

mkdir -p chroot/boot/grub
export HOME=/root
export LC_ALL=C

echo "Refreshing Aptitude"
sleep 3
chroot chroot/ aptitude update
chroot chroot/ apt-get autoremove

echo "...Upgrading Packages"
sleep 3
chroot chroot/ aptitude -f -y safe-upgrade

sleep 3

# Please edit for pkg's you want-
echo "Installing Packages you want"
sleep 3
chroot chroot/ aptitude install -y -f menu firefox normalize-audio grub2 plymouth-x11 hag-wallpapers flashplugin-nonfree flashplugin-nonfree-extrasound lxappearance leafpad pcmanfm gdm gparted casper laptop-detect os-prober ejecter extra-xdg-menus menu-xdg lupin-casper lupin-support lxterminal synaptic ubiquity ubiquity-frontend-gtk discover1 linux-generic wicd gnome-utils xarchiver gftp gnome-format gnome-themes language-selector langupdate xnest zenity zsync usb-creator-gtk fluxbox fluxconf esetroot hsetroot
chroot chroot/ apt-get check
chroot chroot/ aptitude -y purge linux-image-2.6.32-21-generic
chroot chroot/ apt-get autoremove
chroot chroot/ apt-get clean
chroot chroot/ aptitude clean
chroot chroot/ aptitude autoclean

#sleep 30

# hopefully creating working default user ubiquity, etc desktop
# add "Enlightenment;" to end of ubiquity-gtkui.desktop file!
# cntrl + o + enter saves file, cntrl + x closes Nano
#chroot chroot/ nano usr/share/applications/ubiquity-gtkui.desktop

# prevent the installer from changing the apt sources.list (hopefully?)

cp /usr/share/ubiquity/apt-setup chroot/usr/share/ubiquity/apt-setup.saved

sleep 3

# Here set up the e17 Desktop, note change the sleep ? to whatever
echo "Starting Xnest Session..."
Xnest -ac :3 &
#echo "Please set up your root & user Desktop,etc then logout of your Desktop & kill Xnest"
sleep 3
chroot chroot/ env DISPLAY=":3" usr/bin/startfluxbox &
sleep 300

rm -r chroot/usr/share/doc/*
chroot chroot/ usr/sbin/update-initramfs -u -v

echo "Creating filesystem.manifest and filesystem.manifest-desktop"
echo "...Copying installed packages text to image/"
sleep 3
chroot chroot/ dpkg-query -W --showformat='${Package} ${Version}\n' > image/casper/filesystem.manifest
cp image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop
sleep 3

#cleanup chroot
echo "Cleaning up chroot..."
chroot chroot/ apt-get check
chroot chroot/ apt-get autoremove
chroot chroot/ apt-get clean
chroot chroot/ aptitude clean
chroot chroot/ aptitude autoclean
chroot chroot/ rm -rf /tmp/*
chroot chroot/ rm /etc/resolv.conf
chroot chroot/ umount -l -f /proc
chroot chroot/ umount -l -f /sys
chroot chroot/ umount /dev/pts
umount chroot/dev

echo "Copying your kernel and initrd for the livecd"
cp chroot/boot/vmlinuz-`uname -r` image/casper/vmlinuz
cp chroot/boot/initrd.img-`uname -r` image/casper/initrd.lz

echo "Removing old SquashFS filesystem..."
rm image/casper/filesystem.squashfs

echo "Creating new SquashFS filesystem...This will take a while"
sleep 1
mksquashfs chroot image/casper/filesystem.squashfs
printf $(sudo du -sx --block-size=1 chroot | cut -f1) > image/casper/filesystem.size

echo "Finding and creating MD5 hash sums of files in image..."
cd image
find . -type f -print0 | xargs -0 md5sum > md5sum.txt

sleep 3

echo "Creating new image..."
cd ..
genisoimage -r -V "Ubuntu 10.04 i386" -cache-inodes -J -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o fluxbox-10.04-i386.iso image/

#cleanup working directory
echo "Cleaning up working directory..."
umount iso/

# In case you want to chroot back into squashfs-root or fix something in image/ , deleting squashfs-root and image folders commented out.
#rm -rf squashfs-root
#rm -rf image
rm -rf iso
rm filesystem.squashfs

echo "Getting MD5 and SHA1 sum of image..."
echo "MD5: " > fluxbox-10.04-i386.sums
md5sum fluxbox-10.04-i386.iso >> fluxbox-10.04-i386.iso.md5sums
echo "SHA1: " >> fluxbox-10.04-i386.sums
sha1sum fluxbox-10.04-i386.iso >> fluxbox-10.04-i386.iso.sha1sums

END=$(date +%s)

echo "Done at `date`. The whole process took $(($END - $START)) seconds!"
exit
please tell me if any issues?
Remember it must be done from a 10.04 hdd install or livecd with parttion with enough free space

Last edited by linus72; 08-22-2010 at 04:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu-Mini-Remix-9.10.iso + e17-svn + Script = E'buntu-9.10 !! linus72 Linux - General 5 12-18-2009 12:18 PM
e17: EFL's are built/installed but e17-svn complains no liblua.so Sum1 Linux - Desktop 6 08-24-2009 06:29 PM
remove gnome-desktop ubuntu and strictly use lxde ubuntu 9.04 Jaunty Polanski Linux - Software 1 05-07-2009 01:53 PM
SVN working copy locked error updating e17 sources. The_Seraphim Linux - Software 0 04-28-2009 03:53 AM
Is the Next Version of OO3 Ready For Ubuntu To Download? davidx Linux - Software 2 10-16-2008 10:24 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration