[SliTaz] RE: Problems trying to install SliTaz

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


root@slitaz:/home/tux# tazinst execute
1 Instalando SliTaz em: /dev/sda1
5 Checando configurações...
10 Preparando mídia fonte...
Criando ponto de montagem: /media/source...
Usando arquivos da ISO /media/Dados/slitaz-rolling.iso.
Checando mídia de instalação...
Checagem de mídia de instalação ok
20 Preparando disco alvo...
Preparando partição alvo...
Formatar /dev/sda1 (ext4)
Formatar /dev/sda5 (ext4)
Erro: Formatting has failed
Processo não completado
Desmontando: /media/source
[1]+  Done                       leafpad tazinst.rc
root@slitaz:/home/tux# leafpad tazinst.rc &
root@slitaz:/home/tux# tazinst execute
1 Instalando SliTaz em: /dev/sda1
5 Checando configurações...
10 Preparando mídia fonte...
Criando ponto de montagem: /media/source...
Usando arquivos da ISO /media/Dados/slitaz-rolling.iso.
Checando mídia de instalação...
Checagem de mídia de instalação ok
20 Preparando disco alvo...
Preparando partição alvo...
/dev/sda1: A partição será limpa...
/dev/sda5: A partição será mantida...
Criando ponto de montagem: /mnt/target...
30 Limpando partição root se necessário...
Limpando partição alvo (/dev/sda1)...
40 Extraindo o sistema de arquivos raiz...
50 Instalando o kernel...
Nome do Kernel não encontrado, voltando a: 3.16.55-slitaz64
cp: can't stat '/media/source/boot/rootfs.gz': Arquivo ou diretório não encontrado
install_kernel: vmlinuz-3.16.55-slitaz64
60 Pré-configurando o sistema...
Adicionando partição / e CHECK_FS ao arquivo /etc/rcS.conf...
Configurando nome do host: slitaz
70 Configurando conta dos usuários padrão e root...
80 Configurando /home...
Configurando partição a ser usada com /home: /dev/sda5
90 Checando a instalação do gerenciador de boot...
Instalando grub em: /dev/sda
Configurando flag de boot
100 Instalação dos arquivos completa                                      
Instalação completa. Você pode reiniciar (reboot) do seu sistema SliTaz 
GNU/Linux.
Copiando log para /var/log/tazinst.log
Desmontando partição alvo: /dev/sda1
Desmontando: /media/source
[1]+  Done                       leafpad tazinst.rc
root@slitaz:/home/tux#
Hello,

    Some back-and-forth and find that the hashs problems is something in my computer [Linux liplop 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux] - I copied the slitaz-rolling.iso and slitaz-rolling.md5 to the USB flashdrive, tested both (with "cat slitaz-rolling.iso" and "md5sum slitaz-rolling.iso") and the hashs are ok. So I ejected the flashdrive, pluged it again in the same computer, tested the .md5 and .iso archives, and the hash are messed up. Some tries, formating the flash and sometime it goes ok, I didn't know exactly why.
    Copied the slitaz-rolling.iso and slitaz-rolling.md5 to /dev/sda5 on the computer I want to install SliTaz [a Celeron 8800 1.50GHz with 2GB RAM], open sakura terminal, "su", "tazinst new", "leafpad tazinst.rc", altered the file to [MODE="install"; MEDIA="iso"; SOURCE="/dev/sda5/slitaz-rolling.iso"; ROOT_UUID="/dev/sda1"; ROOT_FORMAT="ext4"; HOME_UUID="/dev/sda5"; HOME_FORMAT="ext4"; HOSTNAME="slitaz"; ROOT_PWD="root"; USER_LOGIN="Marcus"; USER_PWD="tux"; BOOTLOADER="auto"; LIVEBOOT=""; WEBBOOT=""; WINBOOT=""], "tazinst execute", get an error "Formatting has failed" [Duh, trying to format a mounted partition =p], "leafpad tazinst.rc" again, altered to HOME_FORMAT="", "tazinst execute" worked, rebooted, see grub menu and was happy, but get a n error. Attached I send two files: "tazinst_execute_terminal.txt" is a copy-paste of the terminal in the process i described above; "tazinst.log" is the log file generated by tazinst.
    When I see the Grub menu, it says in the top "GRUB4DOS 0.4.4 2020-11-20, Memory: 630K / 511M, MenuEnd: 0x492FD" and the menu item is "SliTaz GNU/Linux 5.0 (Kernel vmlinuz-3.16.55-slitaz64). When I press enter, the new screen show the following lines:

  Booting SliTaz GNU/Linux 5.0 (Kernel vmlinuz-3.16.55-slitaz64)

 Filesystem type is ext2s, partition type 0x83
kernel /boot/vmlinuz-3.16.55-slitaz64 root=/dev/sda1 video=-32 quiet

Error 15: File not found

Press any key to continue


    When I press any key, get back to the Grub menu... Someone have some ideia to help me out?

Best regards,
Marcus

De: "Marcus César" <caim_de_nod@xxxxxxxxxx>
Enviada: 2021/07/08 12:54:53
Para: slitaz@xxxxxxxxxxxxxxxxxxx
Assunto: Problems trying to install SliTaz
 
Hello,

I'm trying to install SliTaz in a computer but I am unable to do the installation. I will report the steps I did below, in case anyone can help I have the necessary information:

00 - I downloaded the file slitaz-rolling-core-5in1.iso from http://mirror1.slitaz.org/iso/rolling/

01 - I downloaded the file slitaz-rolling-core-5in1.md5 at http://mirror1.slitaz.org/iso/rolling/

02 - Compared the md5 hashes with echo "f046b7de2e1d04eeacad0abfed513097 slitaz-rolling-core-5in1.iso" | md5sum -c - [resulting successful]

03 - I burned the .iso file to a USB device with the command dd bs=4M if=slitaz-rolling-core-5in1.iso of=/dev/sdb status=progress && sync generating the following output:
    16+1 input registers
    16+1 output records
    68515840 bytes (69 MB, 65 MiB) copied, 0.0676602 s, 1.0 GB/s

04 - I booted into the computer I want to install SliTaz on [a Celeron 8800 1.50GHz with 2GB RAM - more detailed specifications in the attached file 04_-_Computer_Specs. txt] with the USB device mentioned above, choosing "Languages -> Brazil (abnt2)" [lang=en_BR kmap=br-abnt2 tz=America/Sao_Paulo] "SliTaz GNU/Linux - 5.0-RC4 20210627 -> SliTaz Live". The system boots up normally, allowing the removal of the USB device

05 - I went to Applications -> Run and typed "tazpanel installer". TazPanel displayed the following message: "tazinst, the slitaz-installer backend, is at a higher version than the maximum authorized by the slitaz-installer. Any installation cannot be done. Reinstall the slitaz-installer package, or use tazinst in text mode."

06 - In Application -> Run I typed "sakura" to open the terminal. I authenticated as root with the command "su" and gave the default password "root".

07 - I ran the command "uname -a" and the result was: "Linux slitaz 3.16.55-slitaz64 #2 SMP Tue May 25 04:16:38 Europe 2021 x86_64 GNU/Linux"

08 - As the commands tazinst list iso and tazinst list usb didn't show any output and the command tazinst list cdrom generated an error [full error output in 08_-_tazinst_list_cdrom__error.txt], I copied the files slitaz-rolling-core-5in1.iso and slitaz-rolling-core-5in1.md5 downloaded from http://mirror1.slitaz.org/iso/rolling/ to /home/tux (when running SliTaz Live)

09 - I tested the md5 hashes of the copied .iso files and found a problem - apparently their hashes were changed when copying from the downloaded computer [Linux liplop 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux] to the USB stick I used - the results of the comparison are in the file 09_-_slitaz_md5sum_problems.txt

10 - The difference in the md5 hashes indicated to me that there was not much point in doing the installation, but I decided to continue what I had already started, since there was nothing else to do. As root I ran tazinst new and then leafpad tazinst.rc & to edit the installation file [the file is attached as 10_-_tazinst.rc].

11 - I ran the command tazinst execute, which gave the error "md5sum divergence, file corrupted".

12 - Ejected the USB stick, went back to the computer where I downloaded the .iso and .md5 files, compressed them into a .zip file (my hypothesis is that whatever was corrupting the .iso file might not corrupt a .zip file) and copied them to the USB stick, uncompressed them into a directory inside the stick and tested the hashes - all ok

13 - I placed the USB stick on the computer running SliTaz Live, when I entered the directory with the decompressed .iso and .md5 files, there were three copies of each file in the directory, and upon testing the hash it was clear that they had been corrupted. I took the device off SliTaz live and put it on the computer where I downloaded the files, and when I compared the md5 hash of the .zip file (original on the computer and the copy on the USB device) I found that the file had been modified/corrupted.

14 - I modified the tazinst.rc file in leafpad, changing the parameters MEDIA and SOURCE to "web" and "rolling", thus running tazinst execute - the output are in 14_-_tazinst_execute__web.txt. Didn't work either, when try to boot this appears:

SYSLINUX 4.06 EDD 0x60abb835 Copyright (C) 1994-2012 H. Peter Anvin et al
Could not find kernel image: vesamenu.c32
boot:

[and refresh every X seconds]

15 - In the foruns I founded people wirh similar problem, and looks like the solution that worked was to descompress the *.c32 files - but I don't know exactly how to do that, because if I boot with LiveUSB, I can't acess the /boot directory in /dev/sda1 (even if I open pcmanfm as root) - the /dev/sda1 didn't show in pcmanfm lateral tab, so I did mount /dev/sda1 /mnt, and when I try to enter /mnt/boot the message "Error when openning the directory '/mnt/boot': Permission denied" pops up (didn't with the others directories)

16 - Given these difficulties, I don't know how to install SliTaz on the computer - the LiveUSB recorded with dd from slitaz-rolling-core-5in1.iso works as Live perfectly, it recognized the Wi-Fi network without installing anything (which is usually a difficulty), but I can't install the system from it.

    Given this account, does anyone have any suggestions that can help me?

Thanks for your attention and best regards,
Marcus

Attachment: tazinst.log
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/