Quale Kernel Linux-Sabayon?

Se sei un utente alle prime armi con Linux o Sabayon, questo è il posto che fa per te :)

Moderator: Moderators

User avatar
sabayonino
Sagely Hen
Posts: 3525
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Sun Feb 02, 2020 22:00

sarebbe meglio che fossero indicati gli UUID piùttosto che /dev/sd? ... se cambi l'ordine dei dischi (o ne togli/aggiungi) si scombina tutto.

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Sun Feb 02, 2020 23:35

Sabayon è alcuni anni che non rileva correttamente le stringhe di Manjaro, anche se cambi DD, smonti rimonti le partizioni, attraverso un upgrate del Kernel o di Grub, dovrebbe riorganizzare le stringhe del bootloader senza problemi, vai a capire perchè.

Code: Select all

# blkid
/dev/sdb1: BLOCK_SIZE="512" UUID="54BBA52750A8CEFF" TYPE="ntfs" PARTUUID="a5f48f2e-01"
/dev/sdc1: BLOCK_SIZE="512" UUID="7E78B3B278B36793" TYPE="ntfs" PARTUUID="881c2c1a-01"
/dev/sdc2: BLOCK_SIZE="512" UUID="90CACC29CACC0E02" TYPE="ntfs" PARTUUID="881c2c1a-02"
/dev/sde1: BLOCK_SIZE="512" UUID="2C4A9F004A9EC64C" TYPE="ntfs" PARTUUID="000e20fd-01"
/dev/sda1: UUID="a67184a0-a915-4f4b-84f7-f95eba18042d" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0f067490-01"
/dev/sda2: UUID="071426e0-dbb9-4245-b6ec-a21c2cf45ba3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0f067490-02"
/dev/sdd1: UUID="7673a227-d538-4272-b8c8-5c382fee14a1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7f81e691-01"
/dev/sdd3: UUID="f3fb5200-0a9a-4333-8b77-9f41d9c4eb55" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7f81e691-03"
/dev/sdd5: UUID="680438f9-fdf1-44c0-82e7-d7d131d4302b" TYPE="swap" PARTUUID="7f81e691-05"
/dev/sdd6: BLOCK_SIZE="512" UUID="FE4AF8214AF7D3FD" TYPE="ntfs" PARTUUID="7f81e691-06"
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

User avatar
sabayonino
Sagely Hen
Posts: 3525
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Mon Feb 03, 2020 11:28

secondo me è meglio che gestisci il boot da un solo Menu grub
Se tieni Manjaro , anche se Manjaro dovesse riconoscere i kernel di Sabayon correttamente , potrebbe omettere in fase di boot alcuni parametri di avvio.
Viceversa se vuoi gestire il Boot da Sabayon

Oppure provare (se ti è possibile farlo ora) tenere una partizione /boot in comune su un solo disco

Esempio :
Disco1 - Manjaro /
Disco 2 - Sabayon /

Disco 1 /boot Manjaro+Sabayon

Viene generato un unico grub.cfg con i parametri si spera corretti per entrambi gli SO.

Considerando che la partizione di /boot è destinata a tenere più di un kernel , per stare tranquillo , dovrebbe bastare 1GB di dimensione

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Mon Feb 03, 2020 12:05

Una partizione /boot unica per tutti i SO potrebbe essere la soluzione ideale, da esperimentare quando smonto e rimonto i SO, pienamente daccordo sul fatto che usare il bootloader di un altro SO non è l'ideale, va continuamente aggiornato ogni volta che si installa un nuovo kernel. 8)
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Sun Feb 09, 2020 9:48

kernel-switcher è nuovamente funzionale:

Code: Select all

# kernel-switcher switch linux-sabayon-4.19.98
╠ Resolving virtual kernel package: virtual/linux-binary
╠  @@ Calcul des dépendances...
╠  ## [R] [sabayonlinux.org] sys-kernel/linux-sabayon-4.19.98|0   [4.19.98|0]
╠  ## [R] [sabayonlinux.org] x11-drivers/nvidia-drivers-440.44#4.19.0-sabayon#4.19.0-sabayon|2   [440.44|2|4.19.0-sabayon]
╠  @@ Paquets qui ont besoin d'être installés/mis à jour/rétrogradés: 2
╠  @@ Paquets qui ont besoin d'être supprimés: 0
╠  @@ Taille du téléchargement: 0b
╠  @@ Espace disque libéré: 0.0b
╠  @@ Vous avez besoin d'au moins: 153.7MB d'espace libre
╠  ::: >>>  (1/1) 2 paquets
╠    ## Téléchargement: 2 paquets
╠    ## ( mirror #1 ) [sys-kernel:linux-sabayon-4.19.98.0caf7efcda4c84a7bf7d3590b5b104879da7961b~0.tbz2] @ http://www.dyingmuppet.nl
╠    ## ( mirror #1 ) [x11-drivers:nvidia-drivers-440.44#4.19.0-sabayon.38dfb5c217a9ca428a1ad818e1bd4b27a56b5e62~2.tbz2] @ http://www.dyingmuppet.nl
╠    ## Vérification du contrôle de somme du paquet...
╠   ## Aggregated download: 2 items
╠    ## Vérification du contrôle de somme du paquet...
╠    # [1] www.dyingmuppet.nl => sys-kernel:linux-sabayon-4.19.98.0caf7efcda4c84a7bf7d3590b5b104879da7961b~0.tbz2
╠    # [2] www.dyingmuppet.nl => x11-drivers:nvidia-drivers-440.44#4.19.0-sabayon.38dfb5c217a9ca428a1ad818e1bd4b27a56b5e62~2.tbz2
╠    ## ( mirror #1 ) [sys-kernel:linux-sabayon-4.19.98.0caf7efcda4c84a7bf7d3590b5b104879da7961b~0.tbz2] succès @ http://www.dyingmuppet.nl
╠    ## ( mirror #1 ) [x11-drivers:nvidia-drivers-440.44#4.19.0-sabayon.38dfb5c217a9ca428a1ad818e1bd4b27a56b5e62~2.tbz2] succès @ http://www.dyingmuppet.nl
╠  +++ >>>  (1/2) sys-kernel/linux-sabayon-4.19.98
╠    ## Dépaquettage: sys-kernel:linux-sabayon-4.19.98.0caf7efcda4c84a7bf7d3590b5b104879da7961b~0.tbz2
╠    ## Package phase: setup
 * Assuming you do not have a separate /boot partition.
 * Preparing kernel and its modules
╠    ## Package phase: preinstall
 * Assuming you do not have a separate /boot partition.
╠    ## Installation du paquet: sys-kernel/linux-sabayon-4.19.98
╠    ## [Official Sabayon Linux Standard kernel image]
╠    ## Updating installed packages repository: sys-kernel/linux-sabayon-4.19.98
╠    ## Package phase: preremove
 * Assuming you do not have a separate /boot partition.
╠    ## Nettoyage des données d'application préalablement installées.
╠    ## Package phase: postremove
Generating grub configuration file ...
Found background: /boot/grub/default-splash.png
Found linux image: /boot/kernel-genkernel-x86_64-4.19.0-sabayon
Found initrd image: /boot/initramfs-genkernel-x86_64-4.19.0-sabayon
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
done

 * You are currently booting with kernel:
 * kernel-genkernel-x86_64-4.19.0-sabayon
 * 
 * Use 'eselect bzimage' in order to switch between the available ones

╠    ## Package phase: postinstall
 * Removing extents option for ext4 drives from /etc/fstab
 * Creating dracut initramfs for 4.19.0-sabayon arch: x86_64
Building /boot/initramfs-genkernel-x86_64-4.19.0-sabayon
Generating grub configuration file ...
Found background: /boot/grub/default-splash.png
Found linux image: /boot/kernel-genkernel-x86_64-4.19.0-sabayon
Found initrd image: /boot/initramfs-genkernel-x86_64-4.19.0-sabayon
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
done

 * You are currently booting with kernel:
 * kernel-genkernel-x86_64-4.19.0-sabayon
 * 
 * Use 'eselect bzimage' in order to switch between the available ones


 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade

 * Updating module dependencies for 4.19.0-sabayon ...
depmod: WARNING: Ignored deprecated option -r                                                                                                                                                              [ ok ]
 * Please report kernel bugs at:
 * http://bugs.sabayon.org
 * The source code of this kernel is located at
 * =sys-kernel/sabayon-sources-4.19.98.
 * Sabayon Linux recommends that portage users install
 * sys-kernel/sabayon-sources-4.19.98 if you want
 * to build any packages that install kernel modules
 * (such as ati-drivers, nvidia-drivers, virtualbox, etc...).
╠    ## Nettoyage: sys-kernel/linux-sabayon-4.19.98
╠  +++ >>>  (2/2) x11-drivers/nvidia-drivers-440.44#4.19.0-sabayon
╠    ## Dépaquettage: x11-drivers:nvidia-drivers-440.44#4.19.0-sabayon.38dfb5c217a9ca428a1ad818e1bd4b27a56b5e62~2.tbz2
╠    ## Package phase: setup
 * Checking for suitable kernel configuration options...                                                                                                                                                   [ ok ]
 * Checking for suitable kernel configuration options...                                                                                                                                                   [ ok ]
 * Checking for suitable kernel configuration options...                                                                                                                                                   [ ok ]
╠    ## Package phase: preinstall
╠    ## Installation du paquet: x11-drivers/nvidia-drivers-440.44#4.19.0-sabayon
╠    ## [NVIDIA X11 userspace libraries and applications]
╠    ## Updating installed packages repository: x11-drivers/nvidia-drivers-440.44#4.19.0-sabayon
╠    ## Nettoyage des données d'application préalablement installées.
╠    ## Package phase: postremove
 * Removing x11-drivers/nvidia-drivers-440.44 from moduledb.
╠    ## Package phase: postinstall
 * Updating module dependencies for 4.19.0-sabayon ...                                                                                                                                                     [ ok ]
 * Adding module to moduledb.
Building /boot/initramfs-genkernel-x86_64-4.14.0-sabayon
dracut: /lib/modules/4.14.0-sabayon//modules.dep is missing. Did you run depmod?
Building /boot/initramfs-genkernel-x86_64-4.19.0-sabayon
Building /boot/initramfs-genkernel-x86_64-4.20.0-sabayon
dracut: /lib/modules/4.20.0-sabayon//modules.dep is missing. Did you run depmod?
Building /boot/initramfs-genkernel-x86_64-5.3.0-sabayon
dracut: /lib/modules/5.3.0-sabayon//modules.dep is missing. Did you run depmod?
Building /boot/initramfs-genkernel-x86_64-5.4.0-sabayon
dracut: /lib/modules/5.4.0-sabayon//modules.dep is missing. Did you run depmod?

 * You must be in the video group to use the NVIDIA device
 * For more info, read the docs at
 * http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
 * 
 * This package installs a kernel module and X driver. Both must
 * match explicitly in their version. This means, if you restart
 * X, you must modprobe -r nvidia before starting it back up
 * 
╠    ## Nettoyage: x11-drivers/nvidia-drivers-440.44#4.19.0-sabayon
╠  @@ Installation terminée.
╠  @@ No configuration files to update.
Switching to nvidia OpenGL interface... done
╠ sys-kernel/linux-sabayon-4.19.98 has been installed.
☛ Attention: some external drivers cannot work across multiple kernels.
☛ Merci de redémarrer votre ordinateur maintenant! !
Con il mio PC ho sempre il problema del non rilevamento deglia altri SO, resta a capire se è un problema solo mio.

Se avete altri SO controllate l'output.
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

User avatar
sabayonino
Sagely Hen
Posts: 3525
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Sun Feb 09, 2020 15:55

Ti ho già scritto che grub rivela altri SO su altri dischi se la loro partizione è montata.
E' indicato anche nel wiki di Debian

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Sun Feb 09, 2020 16:39

OK, ha rilevato le stringhe! al boot se uso il bootloader della Sabayon arrivo sul desktop Manjaro entrando in "advanced option" scegliendo la seconda stringa "fallback initramfs" mi domande se è possibile modificare le stringhe del bootloader, in modo da lascire solo la prima che attualmente è selezionata in automanico e manda il kernel in panic?
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Feb 12, 2020 11:15

kernel disponibili nel repositorio standard. 12/02/20:

Code: Select all

sys-kernel/linux-sabayon-4.14.167

sys-kernel/linux-sabayon-4.19.98

sys-kernel/linux-sabayon-4.4.210

sys-kernel/linux-sabayon-4.9.211

sys-kernel/linux-sabayon-5.4.10
Attenzione: nel repositorio non è piu' disponibile il Kernel 4.20.17 - questo Kernel era implementato in tutte le daily fine al mese scorso, se aggiornate il sistema pensate a implementare un nuovo kernel e relativi drivers, prima di spegnere o riaccendere il computer.

Nelle iso Daily ora è implementato il kernel 5.4.0 alla revisione (5.4.10).

8)
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

User avatar
sabayonino
Sagely Hen
Posts: 3525
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Quale Kernel Linux-Sabayon?

Post by sabayonino » Wed Feb 12, 2020 12:01

Il fatto che non ci sai più non vuol dire che il pc non si riaccenda :D

User avatar
fiorello
Sagely Hen
Posts: 1494
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: Quale Kernel Linux-Sabayon?

Post by fiorello » Wed Feb 12, 2020 12:21

sabayonino wrote:
Wed Feb 12, 2020 12:01
Il fatto che non ci sai più non vuol dire che il pc non si riaccenda :D
Image

Pura filosofia. :mrgreen:
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.19.0 *_* Sabayon KDE-5 *_*
Image

Post Reply