SliTaz SliTaz Forum

You are not logged in.

#1 2014-11-07 12:56:46

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

PI - slitaz together with raspbian

I start to work on a slitaz-ola image for the PI - I already have OLA-Raspian-Pi  my SD-Card

To install the slitaz image, do I need berryboot - http://www.berryterminal.com/doku.php/berryboot - or is it possible to do it from the Fat32 bootpartion?

Maybe somebody has already experience?

Offline

#2 2014-11-13 09:27:37

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: PI - slitaz together with raspbian

did you check http://www.berryterminal.com/doku.php/berryboot/adding_custom_distributions ?

Offline

#3 2014-11-13 09:49:05

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: PI - slitaz together with raspbian

I know, that it works with berryboot, but I hoped, I can avoid this....

Offline

#4 2014-11-13 14:29:56

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: PI - slitaz together with raspbian

1- In the boot partition :

Create a frugal base slitaz initramfs including http://hg.slitaz.org/slitaz-arm/raw-file/tip/rpi/piboot

Create one subdirectory per OS and according config.txt, kernel, cmdline.txt and initramfs if needed.

(Move config.txt and cmdline.txt to the raspbian subdirectory)

Create a config.txt in root directory to start the frugal slitaz.

Create a menu.txt in root directory like:

title=Boot menu

subtitle=Choose the OS to start

default=slitaz

timeout=30

kmap=us

Create a cmdline.txt in root directory like

root=/dev/mmcblk0p2 rootwait kmap=us rdinit=/sbin/piboot quiet

The file slitaz/cmdline.txt will look like

root=/dev/mmcblk0p2 subroot=var/slitaz rootwait kmap=us quiet

see http://doc.slitaz.org/en:guides:uncommoninst#subdirectory-install-in-a-posix-filesystem

2- In the raspbian partition, install slitaz in var/slitaz

3- Optional: you can have a full slitaz frugal boot entry (even with 256Mb RAM), a web boot entry ...

Offline

#5 2014-11-13 15:19:02

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: PI - slitaz together with raspbian

thank you pascal - i will try next week ....

Offline

#6 2014-11-15 23:14:55

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: PI - slitaz together with raspbian

This script may help: http://hg.slitaz.org/slitaz-arm/raw-file/tip/rpi/tazbian

It creates a raspbian package http://tank.slitaz.org/~bellard/slitaz-20140329-1_armhf.deb

to install on the rpi.

It install SliTaz in /var/os/slitaz and update the boot.

The bad news: it's not tested and buggy

Offline

#7 2014-11-18 17:25:18

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: PI - slitaz together with raspbian

Tested on raspbian 2014-09-09 and fixed.

pi@raspbian$ wget http://tank.slitaz.org/~bellard/slitaz-20140329-1_armhf.deb

pi@raspbian$ du -h slitaz-20140329-1_armhf.deb

33.6M    slitaz-20140329-1_armhf.deb

pi@raspbian$ sudo dpkg -i slitaz-20140329-1_armhf.deb

pi@raspbian$ sudo reboot

Offline

#8 2014-11-18 18:39:13

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: PI - slitaz together with raspbian

Hi guys,

Yesterday I created a disk image for slitaz-rpi-base-20140329.

It is verified to work and in compressed format the file is 64MB.

Boots from SD or via qemu. Qemu bootline:

qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda3 rw panic=1 rootfstype=ext4" -hda slitaz-rpi-base-20140329.img -net nic -net tap,ifname=TAP0

Any interest to make this available for download?

I was unable to attach it to a forum post.

Please let me know how/where to upload.

[attachment=34749,1761]

/emgi

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]