You are not logged in.
I'm running my raspberry pi with raspbian. it is ok but quite slow.
I want to try tazberry on it. I think it can perform better. Writing an SD card with raspbian is kind of easy job. Either NOOBS or berryboot are helpful on it. I'm getting into troubles with the slitaz distribution instead.
Following the instructions given online I did:
1. download the tarballs slitaz-rpi-base-20140329 - slitaz-rpi-desktop-20140329 - extract in my home directory -
2. partitioned my SD card into 3 parts: 40Mb FAT32 for boot - 420Mb for swap ext4 - all available free space for root ext4 -
How do I shall go now from this point on? Don't know how to write my SD card.
when do I need to follow the "Then you simply have to run the install.sh script from the SliTaz Raspberry Pi release directory:
[c]# ./install.sh[/c]"
what is meant with SliTaz Raspberry Pi release directory?
Can anybody help me in this - may be stupid - issue?
Offline
Cd to the same directory as the release archive.
Extract the release archive:
[c]tar xvf slitaz-rpi-desktop-20140329.tar.bz2[/c]
Cd into the extracted Slitaz Raspberry Pi release directory:
[c]cd slitaz-rpi-desktop-20140329[/c]
Read the README:
[c]less README[/c]
Execute the install script:
[c]./install.sh[/c]
Online
fine so far but unfortunately got following reply:
[c]bash: ./install.sh: Permission denied[/c]
Offline
Well, it looks that you have to run the shell script as root.
Tiziano; Just curious. Which pi do you have? the A,the B or the B+. I'm thinking to buy one in the future and I would like to know how fast it runs with slitaz.
Also I would like to use and old crt tv with an rca connector. What can of gui can you run with this kind of tv and how is the quality of the display?
It would be nice if you give your opinion to the forum if successful in your installation.
Thanks
Offline
# symbol before ./install.sh in the README indicates the command is run as root.
Problem is most newbies think the # is part of the command syntax.
Slitaz:
root user command prompt=> root@slitaz:/home/tux#
regular user prompt=> tux@slitaz:~$
root=> #
regular user=> $
Online
thanks mojo for explanation - still I was using a machine with Debian and I got same reply either if I use just regular terminal i.e. $ + sudo in front of the command (without #) or on a su terminal i.e. # - I doubted if my user name isn't in the sudoers group so I did use 'adduser' but it didn't work either..
I have a MAC as well so I tested if I could do it from there - no way - apparently it does accept 'fdisk' somehow but it works with 'df -h' command instead and it stops before installing process saying:
-e SliTaz Raspberry Pi Installation
================================================================================
Before processing please read the SliTaz ARM/RPi installation howto on:
http://arm.slitaz.org/rpi
-n SD card disk name (ex sdc):
disk2s1
fdisk: illegal option -- l
usage: fdisk [-ieu] [-f mbrboot] [-c cyl -h head -s sect] [-S size] [-r] [-a style] disk
-i: initialize disk with new MBR
-u: update MBR code, preserve partition table
-e: edit MBRs on disk interactively
-f: specify non-standard MBR template
-chs: specify disk geometry
-S: specify disk size
-r: read partition specs from stdin (implies -i)
-a: auto-partition with the given style
-d: dump partition table
-y: don't ask any questions
-t: test if disk is partitioned
`disk' is of the form /dev/rdisk0.
auto-partition styles:
boothfs 8Mb boot plus HFS+ root partition (default)
hfs Entire disk as one HFS+ partition
dos Entire disk as one DOS partition
raid Entire disk as one 0xAC partition
Unable to find: /dev/disk2s13
finally had and old pc with slitaz 4.0 but unfortunately on this machine do not have an SD card slot available nor an external card reader
Offline
@mojo
did run installation script doing ˆsudo bash install.shˆ - installation started and after recognize sd card it found an error in copying some files - even if script at the end says to boot the raspberry it goes into ˆpanicˆ
1. SC card formatted as follow 40mb fat32 boot - 420 mb swap linux - rest (some 6.. Gb) rootfs ext4
2. execution done in a debian environment
what's wrong?
Offline
I think, you on the correct way - there was just an error writing to the sd-card
Maybe try it another time, maybe it works (I found some reports, that the writing to the sd-card is sometimes problematic)
if the problem continues, try to find a machine, where you can do the same thing from SliTaz (I use the Hama USB 2.0 35 in 1 card reader)
Offline
@tiziano
See this: http://forum.slitaz.org/topic/still-wont-boot-pi-f2fs-message#post-31165
If install.sh doesn't run without errors, open it up in a text reader and use it as instructions for a manual install.
Online
@mojo
sorry for bothering you again but please see screenshot refering to running install.sh suggested in your linked post -
1.
Offline
1. install.sh worked fine but when booted on the pi got -
[c]EXT4-fs (mmcblk0p3): couldn't mount as etx3 due to feature incopatibilities
EXT4-fs (mmcblk0p3): couldn't mount as etx2 due to feature incopatibilities
kernel panic - not syncing: No init found. try passing init= option to kernel. see linux documentation/init.txt for guidance[/c]
2. manual installation - same results
what's wrong? [attachment=34680,1738]
Offline
Hi,
Yesterday I kicked my very first sltaz-arm into life. There are quite a few similarities with the problems you seem to have. What I noticed first of all is that the order of the partitions is mandatory (not mentioned explicitly in the readme).
The other issue is how to correctly format your SD card with three partitions. Honestly, I cannot describe how I got to a working setup but eventually I did. ;-) As with every first time experience, you learn valuable lessons which are potentially useful to others. What I will do is start again from scratch and document each step, using a raspberry Pi and a USB card reader.
fdisk is the tool of choice and many information about how to get on with it can be found here: http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
Until I get to write up the documentation, this is the resource to go to.
Goodluck!
/emgi
Offline
According to Slitaz PiBook /dev/sda3 which has the rootfs must be ext4 filesystem.
[c]EXT4-fs (mmcblk0p3): couldn't mount as etx3 due to feature incopatibilities[/c]
seems to indicate /dev/sda3 was formated as ext3 filesystem which will not work.
Output from [c]blkid[/c] will identify specific filesystem on each partition.
Open terminal,login as root.
[c]blkid[/c]
Online
The partioning link in my previous post also shows how to make the partions exactly matching the beginning & end of a cylinder. Calculation for yor specific SD card:
Block size (1 cylinder = 247 heads * 62 sectors * 512 bytes/sector = 7840768 bytes equals 7657kB.
So your in order to match the SD geometry, the partion sizes must be multiples of 7657kB.
For /boot you could use 5 cylinders for 38,285MB. Based on what's used on my /boot, I believe that's plenty. Then go on and calculate the exact size of swap in the same way.
Dividing the recommended 420MB by 7,657 gives 56,1 cylinders which I would round down to 56 for a swap of 428.792kB.
Then the / partition will simply get what's left on the card. (a lot)
This should help you to get rid of the messages regarding beginnings and ends of partitions not matching cylinder boundaries.
/emgi
Offline
did card partition with Gparted with corrected rootfs partiton ext-4 and run install.sh same as above - did then new partition how emgi suggested fdisk hopefully correct nevertheless neither first nor second option worked -
first went as usual successful then panic at rpi boot - second got an error message -
[attachment=34700,1740]
Offline
Partition type for /boot must be 'c' instead of 'b'.
At least that is what works for me...
/emgi
Offline
changed partition with 'c' - same problem - I'm really ....
[attachment=34717,1742]
Offline
Hi Paul
thanks for your hint -unfortunately I'm a newbie and I don'to even know what hacking a script does mean - I did try a manual installation checking into the istall.sh script and trying to repeat the commands on a terminal as I mentioned in a previous mail with no result as well - I'm really pissed because if it goes like this I'm going to get frustated and abandon my intention to test slitaz in my rpi which is a pity cause I'm using it in one of my old pc and it runs fast and flawless - honestly no comparison with other more famous linux distribution....
Offline
Hi Paul
thanks for your hint -unfortunately I'm a newbie and I don'to even know what hacking a script does mean - I did try a manual installation checking into the istall.sh script and trying to repeat the commands on a terminal as I mentioned in a previous mail with no result as well - I'm really pissed because if it goes like this I'm going to get frustated and abandon my intention to test slitaz in my rpi which is a pity cause I'm using it in one of my old pc and it runs fast and flawless - honestly no comparison with other more famous linux distribution....
Offline
Hi tiziano
I think I confused myself (that's why I deleted the post)
Are you using a card slot or a card reader?
Basically I partitioned my SD and hacked the install.sh using an internal card slot on a Debian based system where the card showed up as: /dev/mmcblk0
Though it looks like your card shows up as /dev/sda on slitaz
Offline
Actually I'm using a card reader in a SliTaz environment - tested also debian with a card slot with no success either - with debian though
Only used Gparted instead of fdisk in order to partiton SD card but I think it doesn't matter in the end. Only the /dev name changes... Isn't it?
Offline
Hi tiziano
OK, go back to your Debian system with a card slot (and Gparted) and run:
$ sudo fdisk -l
And post the results.
Hopefully it should look something like this:
/dev/mmcblk0p1 * 63 96389 48163+ b W95 FAT32
/dev/mmcblk0p2 96390 931769 417690 82 Linux swap / Solaris
/dev/mmcblk0p3 931770 62332199 30700215 83 Linux
Offline
Something goes wrong while mounting the SD card.
What error message do you get when you try to mount /dev/sda1 manually?
Syntax: mount /dev/sda1 -t vfat
Perhaps the partion is not formatted?
Try to format it using mkfs.vfat -F 32 /dev/sda1
(I did the formatting om my windows PC so the above is untested.)
/emgi
Offline
@emgi
first - I'd like to thank you for the useful information you posted - particularly appreciated by a newbie like me
second - see what I got by typing your latest commands
[attachment=34731,1744]
Offline
@Paul
here you go
[attachment=34732,1745]
Offline
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]