Aller au contenu principal
Bienvenue sur Forum Puppy Linux - Toutou Linux - Astuces - Aides !
Lorsque vous n'êtes pas connectés vous pouvez visiter la totalité du forum mais avec certaines restrictions : cf le règlement pour les visiteurs non connectés. Vous êtes chaleureusement conviés à vous inscrire afin de bénéficier de toutes les fonctionnalités du forum et de participer aux échanges.
Messages récents
41
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par Rantanplan -
@petihar‍ , bonjour le jardinier bouillant  :P
avec ventoy, ça marche pas ?
Pourtant, chez primtux, ils ont l'air de dire "oui".
Pardon, je m'oqp de ce qui me regarde pas.

Rafraîchis-tu escargots, limaces, limaçons, hérissons, punaises, pince-oreilles ?
Ton auxiliaire est équipée d'un bel arrosoir pourtant :-P

Dur cette chaleur !
Amitiés depuis TinyCoreLinux v.17.0 32 bits et Firefox esr latest en français, svp.
42
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par petihar -
Il serait intéressant d'avoir des retours d'autres personnes. J'imagine bien que tu as testé et installé plusieurs fois avec succès.... Je ne suis pas assez connaisseur pour comprendre ce qui ne va pas. Alain ne t'inquiète pas, c'est pas grave, il n'y a pas mort d'homme  :D. Je n'ai pas l'habitude d'abandonner mais là, j'ai plein d'autres trucs à essayer, tester ou découvrir alors je vais laisser tomber.
43
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par petihar -
Allô, rien n'y fait la dernière tentative avec Triton seul..... ça mouline depuis plus d'une heure et le terminal indique des trucs bizarres, et la clé ne boote pas :

==================================================
    CONSTRUCTEUR CONFIGURATION GRUB UEFI CUSTOM 
==================================================
--- Création de la table de partition et des labels ---
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--- Formatage avec le label EFI_BOOT ---
mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to open /dev/sdb1: Device or resource busy
mke2fs 1.47.2 (1-Jan-2025)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 61308672 4k blocks and 15327232 inodes
Filesystem UUID: a1572774-627b-429e-aad3-dbd30f9660b2
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done   

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mount-FULL: /mnt/tmp_iso: wrong fs type, bad option, bad superblock on /dev/loop5, missing codepage or helper program, or other error.
      dmesg(1) may have more information after failed mount system call.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Copie du noyau et des fichiers initrd requis par GRUB...
cp: cannot stat '/mnt/tmp_iso/vmlinuz': No such file or directory
cp: cannot stat '/mnt/tmp_iso/initrd.gz': No such file or directory
Extraction des fichiers d'amorçage UEFI...
Archive:  boot.zip
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/grub.cfg.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/font.pf2.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/grldr.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/loopback.cfg.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/menu.lst.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/grub/menu_phelp.lst.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/chain.c32.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/isolinux.bin.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/isolinux.cfg.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/ldlinux.c32.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/libcom32.c32.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/isolinux/libutil.c32.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/boot.catalog.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/efi.img.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/splash.jpg.
checkdir error:  cannot create /mnt/tmp_boot/boot
                Cannot allocate memory
                unable to process boot/splash.png.
Archive:  EFI.zip
checkdir error:  cannot create /mnt/tmp_boot/EFI
                Cannot allocate memory
                unable to process EFI/.
checkdir error:  cannot create /mnt/tmp_boot/EFI
                Cannot allocate memory
                unable to process EFI/boot/.
checkdir error:  cannot create /mnt/tmp_boot/EFI
                Cannot allocate memory
                unable to process EFI/boot/BOOTX64.efi.
checkdir error:  cannot create /mnt/tmp_boot/EFI
                Cannot allocate memory
                unable to process EFI/boot/grubx64.efi.
checkdir error:  cannot create /mnt/tmp_boot/EFI
                Cannot allocate memory
                unable to process EFI/boot/mmx64.efi.
find: ‘/mnt/tmp_boot/EFI/’: No such file or directory
Génération du menu GRUB personnalisé...
mkdir: cannot create directory ‘/mnt/tmp_boot/EFI’: Cannot allocate memory
cp: cannot create regular file '/mnt/tmp_boot/EFI/boot/grub.cfg': No such file or directory
Préparation de la partition DATA...
cp: cannot stat '/mnt/tmp_iso/*.sfs': No such file or directory
Extraction de la sauvegarde (.tar.gz) dans la partition DATA...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
umount-FULL: /mnt/tmp_iso: not mounted.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
==================================================
    CLEF UEFI CONFIGURÉE 
==================================================


------------------
(program exited with code: 0)
Press return to continue   

44
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par AlainX -
@petihar
Autre question
Est ce que tu lances le script avec geany ?
Voici ce que j'obtiens à la fin ( 5 minutes et 10 secondes ) après avoir lancé le script avec geany sur un p10 asus  avec 8 go de ram
Device: laptop System: ASUSTeK product: N55SF v: 1.0 serial: B8N0BC143173320
          Mobo: ASUSTeK model: N55SF v: 1.0 serial: BSN12345678901234567
          UEFI: American Megatrends v: N55SF.207 date: 08/29/2011
==================================================
    CONSTRUCTION DE LA CLÉ DOUBLE SYSTÈME       
==================================================
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0,358464 s, 29,3 MB/s
Partitionnement GPT en cours...
Formatage des partitions...
mkfs.fat 4.2 (2021-01-31)
mke2fs 1.47.2 (1-Jan-2025)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 10354688 4k blocks and 2588672 inodes
Filesystem UUID: 964334c5-f97e-4528-b64a-5f8de33842d8
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done 

Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
LABEL=SWAP, UUID=546e6717-371d-4ba2-a1d0-7d0631324711
mke2fs 1.47.2 (1-Jan-2025)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 4010240 4k blocks and 1003680 inodes
Filesystem UUID: 012dbc91-0537-4f7a-b094-b0a627402b13
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done                           
Writing inode tables: done                           
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done 

mount-FULL: /mnt/tmp_iso_pt: WARNING: source write-protected, mounted read-only.
mount-FULL: /mnt/tmp_iso_tr: WARNING: source write-protected, mounted read-only.
Extraction de votre environnement GRUB graphique d'origine...
Archive:  boot.zip
  creating: /mnt/tmp_efi/boot/
  creating: /mnt/tmp_efi/boot/grub/
  inflating: /mnt/tmp_efi/boot/grub/grub.cfg 
  inflating: /mnt/tmp_efi/boot/grub/font.pf2 
  inflating: /mnt/tmp_efi/boot/grub/grldr 
  inflating: /mnt/tmp_efi/boot/grub/loopback.cfg 
  inflating: /mnt/tmp_efi/boot/grub/menu.lst 
  inflating: /mnt/tmp_efi/boot/grub/menu_phelp.lst 
  creating: /mnt/tmp_efi/boot/isolinux/
  inflating: /mnt/tmp_efi/boot/isolinux/chain.c32 
  inflating: /mnt/tmp_efi/boot/isolinux/isolinux.bin 
  inflating: /mnt/tmp_efi/boot/isolinux/isolinux.cfg 
  inflating: /mnt/tmp_efi/boot/isolinux/ldlinux.c32 
  inflating: /mnt/tmp_efi/boot/isolinux/libcom32.c32 
  inflating: /mnt/tmp_efi/boot/isolinux/libutil.c32 
  inflating: /mnt/tmp_efi/boot/boot.catalog 
  inflating: /mnt/tmp_efi/boot/efi.img 
  inflating: /mnt/tmp_efi/boot/splash.jpg 
  inflating: /mnt/tmp_efi/boot/splash.png 
Archive:  EFI.zip
  creating: /mnt/tmp_efi/EFI/
  creating: /mnt/tmp_efi/EFI/boot/
  inflating: /mnt/tmp_efi/EFI/boot/BOOTX64.efi 
  inflating: /mnt/tmp_efi/EFI/boot/grubx64.efi 
  inflating: /mnt/tmp_efi/EFI/boot/mmx64.efi 
mv: '/mnt/tmp_efi/EFI/boot/BOOTX64.efi' and '/mnt/tmp_efi/EFI/boot/BOOTX64.EFI' are the same file
Extraction de PrimTux 9 dans DATA/primtux9/casper/...
Extraction des fichiers de Trixie (SFS sur DATA, Boot sur EFI_BOOT)...
Création du script 'copie_partition_clef_primtux_persistant.sh' sur DATA...
Script de clonage créé et rendu exécutable avec succès.
Génération de votre fichier grub.cfg personnalisé...
Configuration de la persistance applicative (writable)...
--------------------------------------------------
ATTENTION : Écriture physique sur la clé en cours...
Le terminal peut sembler figé quelques instants,
ne débranchez surtout pas la clé USB !
--------------------------------------------------
Démontage ordonné des partitions...
==================================================
  CLÉ MULTIBOOT SÉCURISÉE ET OPÉRATIONNELLE ! 
==================================================


------------------
(program exited with code: 0)
Press return to continue
48
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par petihar -
Allô ,
Je n'ai pas l'habitude de rester sur un échec, et Dieu sait si j'en ai rencontré avec Triton, alors je vais refaire une tentative en tenant compte de tes conseils. Merci pour ta patience !

***************************************************
Et comme sans partition fat,  l'uefi ne peut pas  fonctionner  c'est normal que cela ne fonctionne pas
la question est  : pourquoi t'es tu retrouvé avec une partition de boot en ext4 ?
La clef est neuve. Elle était en exfat, je ne sais pas ce que c'est  alors pensant bien faire je l'ai préalablement formatée en ext4  :-[.

As tu fait une modif dans gparted après avoir créé la clef ? 
Non, aucune modiffication

Autre question  une fois les iso placés dans le même répertoire que le script et les zip associés, combien de temps a pris la génération de la clef de 256 go?
Je n'ai pas chronométré mais ça m'a semblé très long, à vue de nez je dirai 20mn.
49
Education - Loisirs / Re : Primtux9 en mode persistant et Triton 10 sur la même clef bootable !
Dernier message par AlainX -
Bonsoir Petihar
Décidément je n'ai pas de chance avec toi !

Sur ta copie de gparted je vois que tu as essayé d'installer sur une clef de 256 go et grosse anomalie sdb1 est en ext4 alors que le script est censé la construire en fat 32
cf lignes  35 à 40
# 3. Formatage
echo "Formatage des partitions..."
mkfs.vfat -F 32 -n "EFI_BOOT" ${CLE}1
mkfs.ext4 -F -L "DATA" ${CLE}2
mkswap -f -L "SWAP" ${CLE}3
mkfs.ext4 -F -L "writable" ${CLE}4

Et comme sans partition fat,  l'uefi ne peut pas  fonctionner  c'est normal que cela ne fonctionne pas
la question est  : pourquoi t'es tu retrouvé avec une partition de boot en ext4 ?
As tu fait une modif dans gparted après avoir créé la clef ?

Autre question  une fois les iso placés dans le même répertoire que le script et les zip associés, combien de temps a pris la génération de la clef de 256 go?


Alain
Ps
Dans la partition data tu dois retrouver tous les fichiers hors boot de triton et tous les fichiers hors persistance de primtux  ; l’espace occupé montre que ce n’est pas le cas.

Simple Audio Video Embedder