Running Debian lenny or squeeze on Bubba Two

How are you using your Bubba Two or Excito B3? Got pictures? Share here!
iansealy
Posts: 9
Joined: 10 Sep 2009, 10:37

Running Debian lenny or squeeze on Bubba Two

Post by iansealy » 20 Sep 2010, 15:50

Hi,

I've been looking at running Debian lenny or squeeze on my Bubba Two. Below are some notes on how I've gone about it. Seems to work OK for me, although I haven't been running like this for very long. Maybe the notes will be useful to someone else and maybe someone can point out where I've done something wrong (e.g. by not keeping some essential Excito package).

Cheers,
Ian

P.S. The notes are also at http://pastebin.com/iVs997ks in case they're easier to read with some syntax highlighting.

Code: Select all

# Running lenny or squeeze on a Bubba Two
# =======================================

# These are just my notes - some details are specific to me
# For example, my router always assigns the LAN port to 192.168.0.140 and the WAN port to 192.168.0.141
# Plus I'm based in the UK, so I'm using a UK Debian mirror and some UK packages like wbritish

# Do standard installation according to http://download.excito.net/web/BubbaTwo/UM-ENG/install.html using recovery image from http://update.excito.net/install/bubba-two/image-1.2/b2-install-1.2.zip (i.e. not the latest)
# Summary: Unzip recovery image to USB key; shut down Bubba; remove power; insert USB key; connect WAN port to router; hold power button; plug in power; wait 5 seconds before releasing power button; wait until LED stops flashing
# Power down; remove USB key; connect LAN port to router; power up
# Go to 192.168.0.140/admin/ and login as username admin with password admin
# Choose timezone
# Add user with username temp who can login via SSH
# Leave network profile as server mode only

# SSH to Bubba
ssh temp@192.168.0.140

# su to root (password excito)
su -

# Remove packages (accepting default answers to package configuration questions, except for configuring mysql-server-5.0, where all databases should be removed)
aptitude purge apache2.2-common apache2-mpm-prefork apache2-utils avahi-daemon bubba-album bubba-apt bubba-backend bubba-diskmanager bubba-frontend bubba-horde bubba-manual ca-certificates cracklib2 cupsys cupsys-client cupsys-common dbconfig-common dbus defoma dimp1-base dnsmasq dovecot-common dovecot-imapd duplicity epeg expect fetchmail filetransferdaemon fireplay flac fontconfig-config gs-common gs-esp gsfonts horde3-base imp4-base kronolith2-base libalgorithm-c3-perl libapache2-mod-fastcgi libapache2-mod-php5 libappconfig-perl libapr1 libaprutil1 libarchive-tar-perl libarchive-zip-perl libasn1-6-heimdal libasound2 libavahi-client3 libavahi-common3 libavahi-common-data libavahi-core4 libavcodec51 libavformat52 libavutil49 libcache-cache-perl libcarp-assert-perl libcarp-clan-perl libc-client2007b libcgi-fast-perl libcgi-pm-perl libclass-accessor-chained-perl libclass-accessor-perl libclass-c3-perl libclass-data-accessor-perl libclass-data-inheritable-perl libclass-inspector-perl libclass-trigger-perl libclass-virtual-perl libclass-xsaccessor-array-perl libcompress-zlib-perl libcrypt-passwdmd5-perl libcupsimage2 libcupsys2 libcurl3 libcurl3-gnutls libdata-dump-perl libdata-page-perl libdata-uriencode-perl libdbd-mysql-perl libdbi-perl libdbix-class-perl libdbix-contextualfetch-perl libdbus-1-3 libdigest-hmac-perl libdigest-sha1-perl libencode-detect-perl libenum-perl libepeg0 liberror-perl libeutils0 libexif12 libexpat1 libexpect-perl libexporter-lite-perl libextutils-cbuilder-perl libextutils-parsexs-perl libfaad0 libfcgi-perl libfile-bom-perl libfile-next-perl libfile-slurp-perl libfile-temp-perl libfile-type-perl libfile-which-perl libfilter-perl libflac7 libfontconfig1 libfreetype6 libgd2-xpm libgd-gd2-perl libgetopt-argvfile-perl libglib2.0-0 libgsm1 libgssapi4-heimdal libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libice6 libid3tag0 libimage-exiftool-perl libio-pty-perl libio-string-perl libio-stringy-perl libio-stty-perl libio-zlib-perl libipc-run3-perl libipc-sharelite-perl libjpeg62 libjson-perl libjson-xs-perl libjson-xs-versiononeandtwo-perl libjs-prototype libjs-scriptaculous libkrb5-17-heimdal liblog-log4perl-perl libltdl3 libmad0 libmath-vecstat-perl libmcrypt4 libmodule-build-perl libmodule-find-perl libmodule-scandeps-perl libmozjs0d libmpcdec6 libmysqlclient15off libnet-daemon-perl libnet-dns-perl libnet-ip-perl libnet-upnp-perl libnspr4-0d libogg0 liboggflac3 libossp-uuid15 libossp-uuid-perl libpaper1 libpar-dist-perl libpar-perl libpath-class-perl libperl6-say-perl libphp-codeigniter libplrpc-perl libpng12-0 libpoe-perl libpoe-xs-queue-array-perl libpoppler0c2 libpq4 libproc-background-perl libreadonly-perl libreplaygain1 libroken16-heimdal librsync1 libsasl2 libsasl2-modules libslp1 libsm6 libsql-abstract-limit-perl libsql-abstract-perl libssh2-1 libsub-uplevel-perl libt1-5 libtag1c2a libtagc0 libtemplate-perl libtest-exception-perl libtext-unidecode-perl libtheora0 libtie-cache-lru-expires-perl libtie-cache-lru-perl libtie-ixhash-perl libtie-llhash-perl libtie-regexphash-perl libtiff4 libtimedate-perl libuniversal-exports-perl libuniversal-require-perl liburi-find-perl liburi-perl libversion-perl libvorbis0a libvorbisenc2 libvorbisfile3 libwavpack0 libwww-perl libx11-6 libx11-data libxau6 libxdmcp6 libxext6 libxml-libxml-common-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-perl libxml-simple-perl libxpm4 libxt6 libyaml-perl libyaml-syck-perl lighttpd-spawnfcgi mdadm mediatomb-common mediatomb-daemon mlock mnemo2-base mt-daapd musepack-tools mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 ncftp netatalk netcat ntp php5-cgi php5-cli php5-common php5-gd php5-imap php5-mcrypt php5-mysql php5-xcache php-date php-db php-file php-http-request php-log php-mail php-mail-mime php-mdb2 php-mdb2-driver-mysql php-mdb2-schema php-net-imap php-net-socket php-net-url php-pear poppler-utils proftpd samba samba-common sox squeezecenter tcl8.4 ttf-dejavu ttf-freefont turba2-base wavpack x11-common zip

# Switch to lenny
cp /etc/apt/sources.list /etc/apt/sources.list.orig
echo 'deb http://ftp.uk.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://update.excito.org/ marielle main' > /etc/apt/sources.list

# Ensure essential Excito packages are upgraded
cp /etc/apt/preferences /etc/apt/preferences.orig
echo 'Package: *
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 50
Package: bubba-kernel
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 1000
Package: bubba-modules
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 1000
Package: bubba-status
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 1000
Package: excito-keyring
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 1000
Package: libeutils1
Pin: release o=Excito, origin "update.excito.org"
Pin-Priority: 1000' > /etc/apt/preferences

# Upgrade packages to lenny (again, accepting default answers to package configuration questions, except for /etc/lvm/lvm.conf, where package maintainer's version should be installed)
aptitude update
aptitude dist-upgrade

# Install remaining lenny standard system packages (choose british as system's default ispell dictionary and system's default wordlist)
aptitude install at bash-completion bc bind9-host bsd-mailx busybox console-common console-data console-tools dc debian-faq dictionaries-common dnsutils doc-debian doc-linux-text eject exim4 exim4-base exim4-config exim4-daemon-light ftp gcc-4.2-base gettext-base iamerican ibritish initramfs-tools installation-report iproute ispell klibc-utils less libbind9-40 libbind9-50 libc6-ppc64 libcap2 libdns45 libdns55 libevent1 libgc1c2 libgnutls26 libgpm2 libgssglue1 libisc45 libisc52 libisccc40 libisccc50 libisccfg40 libisccfg50 libklibc libldap-2.4-2 liblockfile1 liblwres40 liblwres50 libnfsidmap2 libpci3 librpcsecgss3 locales lsof m4 mac-fdisk mlocate mutt ncurses-term netcat-traditional nfs-common pciutils portmap procmail reportbug rsyslog telnet texinfo time usbutils util-linux-locales w3m wamerican wbritish whois

# Remove packages that aren't part of lenny standard system
aptitude purge ca-certificates ethtool gcc-4.1-base klogd libatm1 libcap1 libdb4.2 libdb4.3 libdb4.4 libdevmapper1.02 libgnutls13 libldap2 liblzo1 libopencdk8 locales-all lvm-common openssl openssl-blacklist postfix psmisc python2.4 python2.4-minimal python-gnupginterface python-pexpect python-support ssl-cert sysklogd

# Packages in lenny standard system that aren't installed
# linux-image-2.6.26-2-powerpc
# linux-image-2.6-powerpc
# quik
# yaboot

# Packages that aren't in lenny standard system that are still installed:
# bubba-kernel
# bubba-modules
# bubba-status
# excito-keyring
# ifplugd
# libdaemon0
# openssh-blacklist
# openssh-server

# Delete some config files, logs and customisations
rm -rf /etc/apache2/
rm /etc/default/apache2
rm -rf /etc/php5/
rmdir /etc/skel/private/ /etc/skel/torrents/
rm -rf /home/web/ /home/storage/
rm -rf /var/lib/apache2/ /var/log/apache2/
rm /tmp/bubba-apt.log
perl -spi -e 's/umask 000/umask 022/' /etc/profile

# Regenerate SSH keys
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server

# Change default root password, remove admin and temp users and create new user
passwd
deluser --remove-home admin
adduser myusername
# Log out as temp and login as myusername and then su to root (password excito)
exit
exit
ssh 192.168.0.140
su -
deluser --remove-home temp

# Only allow myusername to SSH
perl -spi -e 's/DenyUsers admin/AllowUsers myusername/' /etc/ssh/sshd_config
/etc/init.d/ssh reload

# Compile your locale
dpkg-reconfigure locales

# Log out
exit
exit
# Power down; connect WAN port to router; power up

# Now have lenny standard system, but can carry on and upgrade to squeeze if desired

# Switch to squeeze
ssh 192.168.0.141
su -
echo 'deb http://ftp.uk.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb http://update.excito.org/ marielle main' > /etc/apt/sources.list

# Upgrade packages to squeeze (again, accepting default answers to package configuration questions, and accepting solution for aptitude dist-upgrade)
aptitude update
aptitude install apt dpkg aptitude
aptitude upgrade
aptitude dist-upgrade

# Install remaining squeeze standard system packages
aptitude install apt-listchanges ca-certificates console-setup console-terminus discover discover-data host kbd keyboard-configuration libdb4.5 libdb4.6 libdiscover2 libexpat1 libgssrpc4 libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libuuid-perl libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 make openssh-blacklist-extra openssl psmisc sgml-base xauth xkb-data xml-core console-tools_

# Remove packages that aren't part of squeeze standard system
aptitude purge apt-xapian-index console-common console-data dhcp3-common diff ed gcc-4.2-base gcc-4.3-base iamerican libbind9-40 libbind9-50 libconsole libdns45 libdns55 libept0 libevent1 libfile-copy-recursive-perl libisc45 libisc52 libisccc40 libisccc50 libisccfg40 libisccfg50 libkrb53 liblwres40 liblwres50 libvolume-id0 libxapian15 makedev mktemp openbsd-inetd python2.5 python2.5-minimal python-chardet python-debian python-xapian update-inetd usbutils

# Packages in squeeze standard system that aren't installed
# linux-base
# linux-image-2.6.32-5-powerpc
# linux-image-2.6-powerpc
# quik
# yaboot

# Packages that aren't in squeeze standard system that are still installed:
# bubba-kernel
# bubba-modules
# bubba-status
# excito-keyring
# ifplugd
# libdaemon0
# openssh-server

# Now have squeeze standard system

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Running Debian lenny or squeeze on Bubba Two

Post by RandomUsername » 20 Sep 2010, 17:00

So have you been able to keep all the custom Excito stuff (sorry if that's answered in your notes, I did skim over them)?

iansealy
Posts: 9
Joined: 10 Sep 2009, 10:37

Re: Running Debian lenny or squeeze on Bubba Two

Post by iansealy » 20 Sep 2010, 17:38

RandomUsername wrote:So have you been able to keep all the custom Excito stuff (sorry if that's answered in your notes, I did skim over them)?
Sorry, I should have said that in the intro. No, my aim was to get as close to a standard (i.e. minimal) Debian install as possible. I've removed all the custom Excito stuff (except for essential packages, like the kernel).

Cheers,
Ian

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Running Debian lenny or squeeze on Bubba Two

Post by RandomUsername » 20 Sep 2010, 17:50

I see. I'd prefer to keep those if I can.

iansealy
Posts: 9
Joined: 10 Sep 2009, 10:37

Re: Running Debian lenny or squeeze on Bubba Two

Post by iansealy » 20 Sep 2010, 18:07

RandomUsername wrote:I see. I'd prefer to keep those if I can.
I just tried to reinstall the bubba package on my minimal squeeze box and got the solution below. Getting it to work would be a lot of effort, I suspect.

Hopefully Excito's work on the B3 will also lead to a squeeze-based update for the Bubba Two.

Cheers,
Ian

Code: Select all

[myusername@bubba]~$ sudo aptitude install bubba
[sudo] password for myusername: 
The following NEW packages will be installed:
  apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a} apache2.2-common{a} bridge-utils{a} bubba bubba-album{a} bubba-apt{ab} bubba-backend{a} 
  bubba-diskmanager{ab} bubba-frontend{a} bubba-horde{a} bubba-manual{a} bubba-networkmanager{a} cracklib-runtime{a} crda{a} db4.8-util{a} dbconfig-common{a} 
  dimp1-base{a} dnsmasq{a} dnsmasq-base{a} dovecot-common{a} dovecot-imapd{a} duplicity{a} epeg{a} ethtool{a} expect{a} fetchmail{a} filetransferdaemon{ab} 
  fireplay{a} horde3-base{a} hostapd{a} imp4-base{a} iw{a} javascript-common{a} kronolith2-base{a} libapache-mod-php5{ab} libapache2-mod-fastcgi{a} 
  libapache2-mod-php5{a} libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libavcodec51{a} libavcodec52{ab} libavformat52{a} libavutil49{a} libc-client2007e{a} 
  libcommon-sense-perl{a} libconfig-tiny-perl{a} libcrack2{a} libcrypt-passwdmd5-perl{a} libcrypt-ssleay-perl{a} libcurl3{a} libdbd-mysql-perl{a} 
  libdbi-perl{a} libdevel-symdump-perl{a} libdirac-encoder0{a} libepeg0{a} libeutils1{a} libexpect-perl{a} libfaad0{a} libfaad2{a} libfile-slurp-perl{a} 
  libfile-type-perl{a} libflac8{a} libfont-afm-perl{a} libgd2-xpm{a} libgsm1{a} libhtml-format-perl{a} libhtml-parser-perl{a} libhtml-tagset-perl{a} 
  libhtml-template-perl{a} libhtml-tree-perl{a} libid3tag0{a} libimage-exiftool-perl{a} libio-pty-perl{a} libio-stringy-perl{a} libio-stty-perl{a} 
  libipc-run3-perl{a} libjs-prototype{a} libjs-scriptaculous{a} libjson-perl{a} libjson-xs-perl{a} liblist-moreutils-perl{a} libmailtools-perl{a} 
  libmcrypt4{a} libmysqlclient15off{a} libmysqlclient16{a} libnet-daemon-perl{a} libnl1{a} libogg0{a} libonig2{a} libopts25{a} liborc-0.4-0{a} 
  libpam-cracklib{a} libparse-debcontrol-perl{a} libperl6-say-perl{a} libphp-codeigniter{a} libplrpc-perl{a} libpod-coverage-perl{a} libpq5{a} libqdbm14{a} 
  librsync1{a} libschroedinger-1.0-0{a} libspeex1{a} libssh2-1{a} libt1-5{a} libtag1-vanilla{a} libtag1c2a{a} libtagc0{a} libtalloc2{a} libtest-pod-perl{a} 
  libtheora0{a} libthreads-perl{a} libthreads-shared-perl{a} libtie-ixhash-perl{a} liburi-perl{a} libvorbis0a{a} libvorbisenc2{a} libvorbisfile3{a} 
  libwbclient0{a} libwww-perl{a} libxml-libxml-perl{a} libxml-namespacesupport-perl{a} libxml-parser-perl{a} libxml-sax-expat-perl{a} libxml-sax-perl{a} 
  libxml-simple-perl{a} libxpm4{a} libxslt1.1{a} lighttpd-spawnfcgi{a} mdadm{a} mediatomb-common{ab} mediatomb-daemon{a} mlock{a} mnemo2-base{a} mt-daapd{a} 
  mysql-client-5.1{a} mysql-common{a} mysql-server{a} mysql-server-5.1{a} mysql-server-core-5.1{a} ncftp{a} netatalk{a} ntp{a} php-auth-sasl{a} php-date{a} 
  php-db{a} php-file{a} php-http-request{a} php-http-webdav-server{a} php-log{a} php-mail{a} php-mail-mime{a} php-mail-mimedecode{a} php-mdb2{a} 
  php-mdb2-driver-mysql{a} php-mdb2-schema{a} php-net-dime{a} php-net-imap{a} php-net-smtp{a} php-net-socket{a} php-net-url{a} php-pear{a} php-soap{a} 
  php5-cgi{a} php5-cli{a} php5-common{a} php5-gd{a} php5-imap{a} php5-mcrypt{a} php5-mysql{a} php5-suhosin{a} php5-xcache{a} proftpd{ab} rc{a} samba{a} 
  samba-common{a} samba-common-bin{a} tcl8.5{a} turba2-base{a} wireless-regdb{a} wwwconfig-common{a} xsltproc{a} zip{a} 
0 packages upgraded, 184 newly installed, 0 to remove and 0 not upgraded.
Need to get 116MB of archives. After unpacking 333MB will be used.
The following packages have unmet dependencies:
  filetransferdaemon: Depends: libkrb53 (>= 1.4.2) which is a virtual package.
  bubba-diskmanager: Depends: libparted1.7-1 (>= 1.7.1-1) which is a virtual package.
  bubba-apt: Depends: libapt-pkg-libc6.3-6-3.11 which is a virtual package.
  libapache-mod-php5: Depends: libdb4.4 which is a virtual package.
                      Depends: libkrb53 (>= 1.4.2) which is a virtual package.
                      Depends: apache-common (>= 1.3.34) which is a virtual package.
                      Depends: php5-common (= 5.2.0-8+etch13ex2) but 5.3.2-2 is to be installed.
  proftpd: Depends: libldap2 (>= 2.1.17-1) which is a virtual package.
           Depends: libpq4 (>= 8.1.4) which is a virtual package.
  libavcodec52: Breaks: libavcodec51 (< 3:0.svn20090303-1) but 0.svn20080206-11 is to be installed.
  mediatomb-common: Depends: libmozjs0d (>= 1.8.0.13~pre070720) which is a virtual package.
open: 10; closed: 26; defer: 8; conflict: 11.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:
1)      bubba [Not Installed]                              
2)      bubba-apt [Not Installed]                          
3)      bubba-backend [Not Installed]                      
4)      bubba-diskmanager [Not Installed]                  
5)      bubba-frontend [Not Installed]                     
6)      filetransferdaemon [Not Installed]                 
7)      fireplay [Not Installed]                           
8)      libapache-mod-php5 [Not Installed]                 
9)      libavcodec52 [Not Installed]                       
10)     libavformat52 [Not Installed]                      
11)     mediatomb-common [Not Installed]                   
12)     mediatomb-daemon [Not Installed]                   
13)     mt-daapd [Not Installed]                           
14)     proftpd [Not Installed]                            

      Leave the following dependencies unresolved:         
15)     libphp-codeigniter recommends phpapi-20060613+lfs  


Accept this solution? [Y/n/q/?] 

shadowbox
Posts: 32
Joined: 07 Oct 2008, 20:17

Re: Running Debian lenny or squeeze on Bubba Two

Post by shadowbox » 21 Sep 2010, 01:13

Okay, this looks promising. I don't use any Excito specific applications, so this looks possible.

Is the Excito kernel necessary? Anyone have the build parameters that are different than the defaults?

Thanks for posting this.

tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by tor » 21 Sep 2010, 16:54

Hi,

Just some comments here.

The excito-kernel is "necessary" since it contains some hw-specific alterations. If you are interested in examine it more closely its available here http://download.excito.net/kernel/BubbaTwo/ Unfortunately it is a bit tricky to build since it uses compat wireless for wlan-drivers.

Other things that could be interesting ;) is that we have tried to keep an powerpc repo somewhat up to date with the b3 repository. Our goal here is to try unify the code base between B2 and B3 as much as possible.

This means that you should have a good chance to upgrade a B2 system running Lenny against our B3-repositoriy. The repository is located here: http://b3.update.excito.org/

Note however that we at this state makes no promises on a' B2 Squeeze upgrade. Only that we really want to do this internally.

/Tor
Co-founder OpenProducts and Ex Excito Developer

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Running Debian lenny or squeeze on Bubba Two

Post by RandomUsername » 22 Sep 2010, 04:45

Hi Tor. If/when you get a B2 running on the B3 repositories will there be an official release?

Also, how would that work? Surely the B3 will need repos containing ARM packages and the B2 will need PPC packages.

tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by tor » 28 Sep 2010, 05:34

Hi RandomUsername,

Regarding an official release. This is our ambition for now. Unfortunately this is to early to say that we can make any promises.

Regarding how it works. The repo contains both PPC and ARM binaries so if you run on B2 you will get ppc packages when needed etc. The name of the repo is a bit misleading. (And at the moment we are lagging a bit with the PPC, we will try to update these packages when the B3 release settles a bit.)

/Tor
Co-founder OpenProducts and Ex Excito Developer

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Running Debian lenny or squeeze on Bubba Two

Post by RandomUsername » 28 Sep 2010, 05:46

Thanks for the info Tor.

pmurphy
Posts: 3
Joined: 01 Jun 2010, 20:20

Re: Running Debian lenny or squeeze on Bubba Two

Post by pmurphy » 02 Jan 2011, 21:10

Hi,

I've been trying to use the steps that Ian posted with my Excito USB key (this is a USB key that I ordered from Excito when I bricked my Bubba a while back). I have a Bubba 2 which I am trying to upgrade to Squeeze - basically, I deleted the files (after backing them up), that were on the USB key, and extracted the ones from the b2-install-1.2.zip archive directly on to it. So, its partition tables are fine and the bubba.cfg has not been corrupted as I haven't edited it. The blue light flashes faster than once a second and the USB key is read from for a moment at the start, but the blue light just keeps flashing and no more reads from the USB key occur. I know that the partition tables are still fine on the USB key as I have replaced the b2-install-1.2.zip files with the original ones that I got from Excito and I can re-install successfully.

So my question is, why do the b2-install-1.2.zip archive files not work? Any ideas? Have wasted days on this now :-(

Here is a snippet from the instructions that Ian posted which I've followed:
# Do standard installation according to http://download.excito.net/web/BubbaTwo ... stall.html using recovery image from http://update.excito.net/install/bubba- ... ll-1.2.zip (i.e. not the latest)
# Summary: Unzip recovery image to USB key; shut down Bubba; remove power; insert USB key; connect WAN port to router; hold power button; plug in power; wait 5 seconds before releasing power button; wait until LED stops flashing
# Power down; remove USB key; connect LAN port to router; power up
This is the file structure from the b2-install-1.2.zip archive that does not work:

Code: Select all

 Directory of \install

27/05/2009  19:33             1,024 bubba.cfg
27/05/2009  17:20         3,390,312 install.itb

 Directory of \install\payload

03/07/2009  10:56       256,621,836 bubbaroot-090703-1053.tar.gz
This is the file structure from the original files that I received from Excito that work:

Code: Select all

 Directory of \install

24/08/2009  11:22         3,392,548 8313E21.itb
27/05/2009  21:33             1,024 bubba.cfg
24/08/2009  11:22         3,392,548 install.itb

 Directory of \install\payload

14/04/2010  15:07       265,693,872 bubbaroot-100414-1504.tar.gz
Using Beyond Compare the the 8313E21.itb and install.itb files appear to be exactly the same - I don't know why the second one (i.e. 8313E21.itb) is included.

I'm totally flummoxed at this stage, so any help would be greatly appreciated.

Thanks,

Philip

PS Before this, I've also tried setting the bubba.cfg PARTITION, FORMAT, and the SETDATETIME configuration variables to zero but to no avail either.

tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Re: Running Debian lenny or squeeze on Bubba Two

Post by tor » 17 Jan 2011, 03:33

Hi Philip,

Even if the two itb-files are identical you should have the 8313E21.itb in your install folder. The reason for the two is that we load different installers depending on which version of processor you have. And if you have the a newer version of Bubba|TWO it will not do any install if the file is missing.

So could you try either use the 2.0 installer or copy the 8313E21.itb onto your usb-stick and try again?

/Tor
Co-founder OpenProducts and Ex Excito Developer

jonj1
Posts: 51
Joined: 24 Oct 2008, 15:33

Re: Running Debian lenny or squeeze on Bubba Two

Post by jonj1 » 17 Jan 2011, 16:58

I have bubba2 running squeeze, following to the instructions in the original post, thanks!

pmurphy
Posts: 3
Joined: 01 Jun 2010, 20:20

Re: Running Debian lenny or squeeze on Bubba Two

Post by pmurphy » 17 Jan 2011, 17:03

Hi Jonj1,

Good to hear - I'll post my findings in the next few weeks when I have a chance to have a go at this again.

Regards,

Philip

iansealy
Posts: 9
Joined: 10 Sep 2009, 10:37

Re: Running Debian lenny or squeeze on Bubba Two

Post by iansealy » 08 Feb 2011, 17:46

tor wrote:Other things that could be interesting ;) is that we have tried to keep an powerpc repo somewhat up to date with the b3 repository. Our goal here is to try unify the code base between B2 and B3 as much as possible.

This means that you should have a good chance to upgrade a B2 system running Lenny against our B3-repositoriy. The repository is located here: http://b3.update.excito.org/
I've finally got around to trying out this repository to see if there's a new kernel or similar. (I haven't tried upgrading a standard B2 system via this repository - I'm still only interested in running a standard Debian install on my Bubba.)

So here's an addition to the recipe that started this thread:

Code: Select all

sudo perl -spi -e 's/update.excito.org/b3.update.excito.org/' /etc/apt/sources.list /etc/apt/preferences
sudo perl -spi -e 's/marielle/elvin/' /etc/apt/sources.list
sudo aptitude update
sudo aptitude dist-upgrade
There was no new kernel, but bubba-status and excito-keyring did get updated.

Cheers,
Ian

Post Reply