[Server-devel] Got Past Line 23 error

2008-06-14 Thread Tony Pearson
Martin,
I managed to get past the "Line 23 clearpart" error and proceed with a 
complete XS install.

I used the following process (loosely based on 
http://forums.fedoraforum.org/showthread.php?t=174916)

** The commands are done in "root" mode, mostly from the "/root" 
directory, unless otherwise specified.

** Took the XS-163 CD and converted it back to ISO on the beta server
dd if=/dev/cdrom of=/root/old163.iso bs=2k conv=sync,notrunc

** Make a new directory "ISO"
mkdir /root/ISO
mount -t iso9660 -o loop old163.iso ISO

ls ISO 

isolinux
squashfs.img
sysroot


** get these tools in case you don't have them
modprobe squashfs
yum install squashfs-tools

** Decompress the data to a folder called "squash-root"
unsquashfs ISO/squashfs.img

ls squashfs-root
===
os.img
sysroot


** Make a new directory called LIVE
mkdir /root/LIVE
mount -o loop,rw squashfs-root/os.img LIVE

** Remove out all statements related to "boot loaders", "clear part" or 
"partitions"
cd LIVE/root
gedit anaconda-ks.cfg
rm -rf anaconda-ks.cfg~
cd /root

** Unmount LIVE so that we can re-compress into a new "newsq.img" image 
file
umount  LIVE
mksquashfs  squashfs-root  newsq.img

** Make new directory BUILD to hold the new image of the CD
** Please note that the "/" slash after ISO is very important for "rsync" 
to work properly
mkdir BUILD
rsync -av --exclude='squashfs.img' ISO/  BUILD
cp newsq.img BUILD/

** You must use the same CD Volume Label.  It can be found with this
cat ISO/isolinux/isolinux.cfg | grep CDLABEL
==
( root=CDLABEL=OLPC_XS_163)
==

** This last step must be done from within the BUILD directory, the last 
character is a "." period
** That period (".") represents all the files in the "current" (BUILD) 
directory.
cd BUILD
mkisofs -R -D -l -b isolinux/isolinux.bin -c isolinux/boot.catalog -o 
/root/new163.iso
-no-emul-boot -boot-load-size 4 -boot-info-table 
-allow-leading-dots
-input-charset default -V "OLPC_XS_163"  .

** That created the "new163.iso" file.  Before we burn to CD, let's make 
sure it works first.
** The following will start a virtual server, enough to make sure the ISO 
file fixes the problem.
yum install qemu kvm
qemu-kvm -m 1024 -cdrom new163.iso

** Use cdrecord, wodim or other program to burn the "new163.iso" into a CD
boot from this new CD

The CD will be interactive, asking you to either clear out the partition 
tables, or create
a customer configuration, or use the partitions that are already on the 
disk.

This worked for me.

Thanks
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Server-devel Digest, Vol 14, Issue 23

2008-06-14 Thread Tony Pearson
Martin,
I forgot.  Here are the current packages from the interactive Fedora 
7-i386 install.  I will attempt Stefan's suggestions
of building a new liveCD from the git-clone base.

rpm -qa
=
basesystem-8.1-1
glib2-2.12.11-1.fc7
popt-1.10.2-46.fc7
libart_lgpl-2.3.19-2.fc7
bash-3.2-9.fc7
libjpeg-6b-37
libsepol-2.0.3-1.fc7
nspr-4.6.6-1
audiofile-0.2.6-6.fc7
libtiff-3.8.2-7.fc7
gnutls-1.4.5-2.fc7
sqlite-3.3.13-1.fc7
libacl-2.2.39-3.1.fc7
libfontenc-1.0.4-2.fc7
libXfont-1.2.8-1.fc7
grep-2.5.1-57.fc7
libXdmcp-1.0.2-2.fc7
libvorbis-1.1.2-2.fc7
libX11-1.0.3-8.fc7
libXt-1.0.4-1.fc7
libXfixes-4.0.3-1
libXdamage-1.1.1-1.fc7
libXxf86vm-1.0.1-3.1
cracklib-2.8.9-10
libdrm-2.3.0-5.fc7
SDL-1.2.11-2
libXevie-1.0.2-1
bzip2-1.0.4-10.fc7
ed-0.5-1
less-394-9.fc7
ORBit2-2.14.7-3.fc7
patch-2.5.4-29.2.2
liboil-0.3.10-1.fc7
libXTrap-1.0.0-3.1
giflib-4.1.3-8
acl-2.2.39-3.1.fc7
wodim-1.1.2-4.fc7
cyrus-sasl-plain-2.1.22-6
time-1.7-29.fc7
m4-1.4.8-2.fc7
xorg-x11-server-utils-7.2-1.fc7
vnc-libs-4.1.2-16.fc7
cdparanoia-libs-alpha9.8-27.2
cdrdao-1.2.2-2
gmime-2.2.3-5.fc7
eject-2.1.5-5
libiptcdata-1.0.2-1.fc7
ethtool-5-1.fc7
dmidecode-2.7-1.26.1.fc6
comps-extras-12-1
mailcap-2.1.23-1.fc6
tcsh-6.14-15
tcp_wrappers-7.6-44.fc7
nano-2.0.3-1.fc7
ntfsprogs-1.13.1-3.fc6
hdparm-6.9-3
dosfstools-2.11-8.fc7
symlinks-1.2-29.fc7
tree-1.5.0-7.fc7
setarch-2.0-4.fc7
ipw2100-firmware-1.3-8
words-3.0-12.fc7
perl-5.8.8-18.fc7
shadow-utils-4.0.18.1-13.fc7
openssl-0.9.8b-12.fc7
hicolor-icon-theme-0.10-2
libglade2-2.6.0-3.fc7
esound-libs-0.2.38-1.fc7
device-mapper-1.02.17-7.fc7
findutils-4.2.29-2
libdhcp6client-0.10-42.fc7
sysvinit-2.86-17
iptables-1.3.7-2
tmpwatch-2.9.11-1
e2fsprogs-1.39-11
gtkspell-2.0.11-3.fc7
libutempter-1.1.4-3.fc6
gd-2.0.34-2.fc7
net-tools-1.60-81.fc7
genisoimage-1.1.2-4.fc7
perl-Digest-SHA1-2.11-1.2.1
cyrus-sasl-2.1.22-6
texinfo-tex-4.8-15
dmraid-1.0.0.rc14-2.fc7
perl-Archive-Tar-1.30-4.fc7
opensp-1.5.2-4.fc7
rpcbind-0.1.4-6.fc7
gnome-mag-0.14.3-1.fc7
alsa-utils-1.0.14-0.5.rc2.fc7
libwmf-0.2.8.4-14.fc7
bind-libs-9.4.0-6.fc7
mysql-libs-5.0.37-2.fc7
cryptsetup-luks-1.0.3-4.fc7
libgdiplus-1.2.3-1.fc7
audit-1.5.3-1.fc7
vim-minimal-7.0.235-1.fc7
perl-BSD-Resource-1.28-1.fc6.1
perl-Socket6-0.19-3.fc6
perl-HTML-Tagset-3.10-5.fc7
sudo-1.6.8p12-14.fc7
php-mysql-5.2.2-3
mod_ssl-2.2.4-4
pinfo-0.6.9-3.fc7
squid-2.6.STABLE12-1.fc7
irqbalance-0.55-2.fc7
anacron-2.3-47.fc7
xterm-225-2.fc7
xorg-x11-utils-7.1-4.fc7
xorg-x11-apps-7.1-4.fc7
slrn-0.9.8.1pl1-2.fc7
tcpdump-3.9.5-3.fc7
mlocate-0.16-1
dejavu-lgc-fonts-2.15-1
tux-3.2.18-9.fc6
fbset-2.1-24.fc7
rhpl-0.208-1
gnome-menus-2.18.0-1.fc7
pcsc-lite-1.3.3-1.fc7
passwd-0.74-3.fc7
system-config-securitylevel-tui-1.7.0-1.fc7
libbtctl-0.8.2-3.fc7
gnome-keyring-0.8-1.fc7
avahi-0.6.17-1.fc7
NetworkManager-glib-0.6.5-2.fc7
libnotify-0.4.4-2.fc7
util-linux-2.13-0.51.fc7
java-1.5.0-gcj-1.5.0.0-14.fc7
gnome-speech-0.4.10-2.fc7
libavc1394-0.5.3-1.fc6
fuse-2.6.5-1.fc7
bluez-gnome-0.6-2.fc7
wpa_supplicant-0.5.7-2.fc7
pm-utils-0.99.3-6.fc7
newt-perl-1.08-14
PyXML-0.8.4-6
pygtk2-libglade-2.10.4-2.fc7
gettext-0.16.1-8.fc7
policycoreutils-2.0.16-2.fc7
pyorbit-2.14.2-2.fc7
yum-updatesd-3.2.0-1.fc7
bittorrent-gui-4.4.0-5.fc7
xdg-user-dirs-gtk-0.5-1.fc7
openssh-server-4.5p1-6.fc7
gnome-user-share-0.11-2.fc7
vim-enhanced-7.0.235-1.fc7
chkfontpath-1.10.1-1.1
libgnome-2.18.0-4.fc7
evolution-data-server-1.10.1-1.fc7
gstreamer-plugins-base-0.10.12-2.fc7
system-config-network-tui-1.3.96-1.fc6
libgnomeprint22-2.18.0-1.fc7
gnome-sharp-2.16.0-1.fc6
nautilus-cd-burner-2.18.0-2.fc7
gnome-pilot-2.0.15-5.fc7
scim-1.4.5-18.fc7
gnome-volume-manager-2.17.0-7.fc7
gnome-bluetooth-libs-0.8.0-4.fc7
system-config-soundcard-2.0.6-5.fc7
hal-info-20070516-2.fc7
NetworkManager-gnome-0.6.5-2.fc7
scim-bridge-gtk-0.4.10-1.fc7
gutenprint-foomatic-5.0.0.99.1-3.fc7
yelp-2.18.1-2.fc7
file-roller-2.18.1-1.fc7
pidgin-2.0.0-3.fc7
gnome-terminal-2.18.0-1.fc7
krb5-auth-dialog-0.7-2
xorg-x11-fonts-100dpi-7.1-3.fc7
xorg-x11-fonts-truetype-7.1-3.fc7
gnome-python2-desktop-2.18.0-1.fc7
xorg-x11-drv-void-1.1.0-4.fc7
gnome-python2-gtkhtml2-2.14.3-2.fc7
gnome-python2-gtksourceview-2.18.0-1.fc7
gedit-2.18.0-3.fc7
pirut-1.3.7-1.fc7
gnome-python2-bonobo-2.18.1-1.fc7
rhpxl-0.47-1.fc7
xorg-x11-drv-i740-1.1.0-3.fc7
xorg-x11-drv-microtouch-1.1.0-2.fc7
xorg-x11-drv-s3-0.5.0-3.fc7
xorg-x11-drv-acecad-1.1.0-3.fc7
xorg-x11-drv-magictouch-1.0.0.5-3.fc7
xorg-x11-drv-jamstudio-1.1.0-2.fc7
xorg-x11-drv-citron-2.2.0-2.fc7
xorg-x11-drv-i128-1.2.0-5.fc7
xorg-x11-drv-dmc-1.1.0-3.fc7
xorg-x11-drv-s3virge-1.9.1-3.fc7
xorg-x11-drv-voodoo-1.1.0-4.fc7
xorg-x11-drv-fbdev-0.3.1-2.fc7
xorg-x11-drv-ur98-1.1.0-2.fc7
xorg-x11-drv-tdfx-1.3.0-4.fc7
xorg-x11-drivers-7.2-6.fc7
filesystem-2.4.6-1.fc7
glibc-2.6-3
libpng-1.2.16-1.fc7
chkconfig-1.3.34-1
mktemp-1.5-25.fc7
freetype-2.3.4-1.fc7
audit-libs-1.5.3-1.fc7
sed-4.1.5-7.fc7
expat-1.95.8-9
redhat-menus-8.9.10-1.fc7
libgcrypt-1.2.4-1
libogg-1.1.3-3.fc7
libattr-2.4.32-2.fc7
procps-3.2.7-11.fc7
pkgconfig-0.21-5.fc7
pcre-7.0-2
elfutils-libe

[Server-devel] Error in XS-163 during install

2008-06-14 Thread Tony Pearson
Hi Martin,
Having successfully installed both Debian 4.0-r3 Etch and Fedora 7-i386 on 
the machine, I thought I would
try to go back to installing XS from the LiveCD.  I tried XS-163 and 
XS-160-noauto, and both failed with the
"clearpart line23" problem.

Hardware details are here: 
http://wiki.laptop.org/go/User:Az990tony/edublog-beta-hw

I did a fresh install of Fedora 7-i386 and collected all of the details to 
help figure out this.

uname -a

Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 
EDT 2007 i686 athlon i386 GNU/Linux


fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  13  104391   83  Linux
/dev/sda2  14   19330   155163802+  8e  Linux LVM

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *   1  13  104391   83  Linux
/dev/sdb2  14   19330   155163802+  8e  Linux LVM

Disk /dev/dm-1: 106 MB, 106896384 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-2: 158.8 GB, 158887733760 bytes
255 heads, 63 sectors/track, 19317 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
===

(Note: I chose the default setting, having it delete all partitions and 
build new.  It formatted /dev/sdb second
drive, even though I did not check the RAID box, and I have confirmed that 
it is not in RAID mode)

mount -l
==
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/mapper/pdc_bbbhp1 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
==

/boot/grub/grub.conf (menu.lst links to this)
==
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this 
file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,0)
#  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#  initrd /initrd-version.img
#boot=/dev/mapper/pdc_bbbh
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,0)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 
rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img

=

anaconda-ks.cfg   (generated by the install process)

# Kickstart file automatically generated by anaconda.

install
cdrom
lang en_US.UTF-8
keyboard us
xconfig --startxonboot
network --device eth0 --bootproto dhcp
network --device eth1 --bootproto dhcp
network --device eth2 --bootproto dhcp
rootpw --iscrypted $1$MSRredacted37Is.p6py2ba7qbS/.50
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone America/Phoenix
bootloader --location=mbr --driveorder=mapper/pdc_bbbh --append="rhgb 
quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=mapper/pdc_bbbh
#part /boot --fstype ext3 --size=100 --ondisk=mapper/pdc_bbbh
#part pv.6 --size=0 --grow --ondisk=mapper/pdc_bbbh
#volgroup VolGroup00 --pesize=32768 pv.6
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 
--grow
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 
--grow --maxsize=1984

%packages
@admin-tools
@editors
@text-internet
@gnome-desktop
@core
@base
@hardware-support
@java
@base-x
@web-server
@dial-up
@printing
@graphical-internet
pax
==

Please advise on how I can go forward on this.

Tony___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] OA for OLPC, was Re: XS SW

2008-06-14 Thread Yama Ploskonka


Martin Langhoff wrote:
> On Fri, Jun 13, 2008 at 6:50 PM, Yama Ploskonka <[EMAIL PROTECTED]> wrote:
>> I am looking forward to incorporate Open Admin (An open source web-based
>> school administration program. Includes student demographics, attendance,
>> discipline, report card, IEP, Gradebook, Daybook, ...)
>>
>> http://richtech.ca/openadmin
> 
> Interesting! Good to hear of that. Two questions:
> 
>  - Have you seen it "in action" in schools?

I haven't "with mine own eyes", but that's a long, sad story involving 
management that doesn't believe in open source at the school I used to 
work in...  I have been connected, mostly lurking, the development of OA 
for at least 2 years and have come across several actual users, so 
definitely, it is being used, though not yet a mainline thing.  The main 
developer is very open to working with people of all levels, so that 
works to my advantage :-).

Yes, I totally agree with you that you shouldn't trust or recommend 
anything unless you have really good evidence, the only one really 
passing all muster is one's own experience, so I think the question is 
fair and appropriate.  I often complain about the need for more of this 
approach in the Peripherals side of this biznai...

That's why I wasn't volunteering you guys to implement it, but rather 
just sharing that I would try and look and see.

>  - How much does it overlap with Moodle?

zero idea, since I am still very unfamiliar with Moodle.  I agree this 
is pretty much vital, but since they both potentially use either 
database system, it should work (famous last words... :-))

I am copying this message to Les, he might be able to answer this one, 
and maybe he gets interested in OLPC!

> 
> m
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] EDuBlog XS Beta/Development Server

2008-06-14 Thread Tony Pearson
> I think its yum install git-core.

Tarun, 
Thanks.  Marten pointed me to resources such as 
http://en.wikipedia.org/wiki/Git_(software)

Did you want me to install just the software, or were there code 
repository trees that you wanted me to download as well?

http://wiki.laptop.org/go/Educational_Blogger_Project

Please review the section: Beta Server Hardware and Software Details

-- Tony___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] EDuBlog XS Beta/Development Server

2008-06-14 Thread Marten Vijn
On Fri, 2008-06-13 at 22:40 -0700, Tony Pearson wrote:
> 
> Tarun, 
> I have no idea what "git" is.  Is it something I can install using
> "yum"?  If not, please provide me location for Red Hat rpm file for
> it, or other instructions. 

http://www.google.nl/search?hl=nl&q=git&btnG=Zoeken&meta=

cheers,
Marten




Marten Vijn
Buy my house: http://martenvijn.nl/trac/wiki/huis
http://martenvijn.nl
http://wifisoft.org
http://opencommunitycamp.org

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] EDuBlog XS Beta/Development Server

2008-06-14 Thread Tarun Pondicherry

>
> Tarun,
> I have no idea what "git" is.  Is it something I can install using 
> "yum"?  If not, please provide me location for Red Hat rpm file for 
> it, or other instructions
Hi,

I think its yum install git-core.

Thanks,
Tarun
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel