Quick Linux distro for cluod.. xpud, never seen?

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
Leonardo
Posts: 146
Joined: Tue Dec 25, 2012 10:51 pm

Quick Linux distro for cluod.. xpud, never seen?

Post by Leonardo »

Hi my friends, times ago I tryied to use xPud http://www.xpud.org
It's not that bad, very simple, very light. I'm trying to use it with Joggler but at the moment I'm not very lucky... the system boots it seems to load something because my USB drive led blinks but... I get only a ugly black screen...
To keep it simple I copied everything on the linux-boot VFAT partition, so I have something like:

Code: Select all

bg.png                 grub.old                   startup.nsh
boot.cat               initrd.img-3.2.32joggler1  System.map-3.2.32joggler1
boot.nsh               isolinux.bin               unicode.pf2
config-3.2.32joggler1  isolinux.cfg               vesamenu.c32
grub.cfg               memtest86+.bin             vmlinuz-3.2.32joggler1
grub.cfg~              memtest86+_multiboot.bin   xpud
grub.efi               opt
(I kept the standard files from a ubuntu-server)

and then I modified the grub.cfg:

Code: Select all

loadfont /unicode.pf2
terminal_output gfxterm
set timeout=1
menuentry "xPUD" {
  linux /xpud root=LABEL=linux-boot ro quiet splash
  initrd /opt/media
}
Does anybody is interested on this? You can easely test it with Virtualbox, it boots in 15 secs and it's really light and fast!

Cheers, Leo
User avatar
Leonardo
Posts: 146
Joined: Tue Dec 25, 2012 10:51 pm

Re: Quick Linux distro for cluod.. xpud, never seen?

Post by Leonardo »

Hello
I just played with it and I got something good. I started from a nice port of slitaz and did some test with rootfs, the result is I have a (not yet full working) xPUD that boots in few seconds and it can fit on 64MB usb drive :)

If someone is interested, feel free to download this:

https://www.dropbox.com/s/iz31htb6u8dtv6k/xpud.tar.gz?m

What do you need? Just a flash drive, format it in VFAT, open the tar.gz archive and put the files on the drive:

Code: Select all

boot.nsh  bzImage  grub.cfg  grub.efi  rootfs.gz  startup.nsh
It seems all the hardware works, wifi, lan, touch, whatever, didn't included light sensor yet.
root password: joggler

You can start ssh (dropbear) with the command: /etc/init.d/dropbear start to ssh access, but don't forget to add a user because it's configured to deny root ssh access.

Anyway this is just a "start to play", and you all can play with it: just take the rootfz.gz file, decompress it, modify for your needs and rebuild with the command:

find . |cpio -H newc -o |gzip -9 > ../rootfs.gz

after this, copy the new rootfs.gz on the usb drive and you can boot the new version!

With this my goal is reached, I have a distro that boots in few secs, it works in ramdisk so I can shutoff the Joggler without shutdown procedure, I can put a browser or whatever I like and use it for my needs! I hope someone will find it useful!

(if someone needs, I can upload the slitaz base rootfs.gz too).
Post Reply