logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#26 28-05-2024 20:57:38

wardidi
Adhérent(e)
Lieu : Bretagne
Distrib. : DF 12.4
Noyau : 6.1.0-13-amd64
Inscription : 28-11-2022

Re : [Résolu] Dual boot Debian vs Ubuntu

ceric a écrit :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



Tu as mal lu les commandes. Tu dois commanter la ligné en ajoutant # devant pour obtenir
#GRUB_DISABLE_OS_PROBER=false

EDIT refait étapes de 1 à 5

Dernière modification par wardidi (28-05-2024 21:07:47)

Hors ligne

#27 28-05-2024 21:36:21

ceric
Membre
Lieu : Pyrénées Atlantiques
Distrib. : Debian 12 Bookworm
Noyau : Linux 6.1.0-xx-amd64
(G)UI : GNOME Shell
Inscription : 22-04-2014

Re : [Résolu] Dual boot Debian vs Ubuntu

@wardidi, rien non plus. ça ne veut pas.

Elitedesk 800 G2 (dual boot ubuntu Noble Numbat vs debian Bookworm)

Hors ligne

#28 28-05-2024 23:10:01

ceric
Membre
Lieu : Pyrénées Atlantiques
Distrib. : Debian 12 Bookworm
Noyau : Linux 6.1.0-xx-amd64
(G)UI : GNOME Shell
Inscription : 22-04-2014

Re : [Résolu] Dual boot Debian vs Ubuntu

cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'Ubuntu boot menu' {
        insmod part_gpt
        insmod fat
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  88A3-5090
        else
          search --no-floppy --fs-uuid --set=root 88A3-5090
        fi
        chainloader /EFI/ubuntu/shimx64.efi
}
 


cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"


@wardidi, enfin j'ai trouvé les références qui ne fonctionnait pas je laissais ta référence de ta partition "efi".
Du coup, j'ai refait les manipulations de 1 à 5. Excellent. Merci. wink


Elitedesk 800 G2 (dual boot ubuntu Noble Numbat vs debian Bookworm)

Hors ligne

#29 29-05-2024 05:08:49

wardidi
Adhérent(e)
Lieu : Bretagne
Distrib. : DF 12.4
Noyau : 6.1.0-13-amd64
Inscription : 28-11-2022

Re : [Résolu] Dual boot Debian vs Ubuntu

Super.
Ma première aide réussie donc.
J'en profite aussi pour remercier les pro du forum qui m'ont permis de progresser. Vive le libre.

Hors ligne

#30 29-05-2024 21:17:38

ceric
Membre
Lieu : Pyrénées Atlantiques
Distrib. : Debian 12 Bookworm
Noyau : Linux 6.1.0-xx-amd64
(G)UI : GNOME Shell
Inscription : 22-04-2014

Re : [Résolu] Dual boot Debian vs Ubuntu

@wardidi, comment se passe les mises à jour des noyaux de part et d'autre des deux distributions?
Devrais-je générer une clef mok?
Ou alors je n'ai pas besoin de générer de clef?
Est-ce que je tente cette commande trouvé ici

ls /var/lib/shim-signed/mok/


mais sur quelle distribution ubuntu ou debian ?

Dernière modification par ceric (29-05-2024 21:25:23)


Elitedesk 800 G2 (dual boot ubuntu Noble Numbat vs debian Bookworm)

Hors ligne

#31 29-05-2024 21:48:18

wardidi
Adhérent(e)
Lieu : Bretagne
Distrib. : DF 12.4
Noyau : 6.1.0-13-amd64
Inscription : 28-11-2022

Re : [Résolu] Dual boot Debian vs Ubuntu

Les mises à jour ce passe très bien:P
Je ne pense pas avoir eu de mise à jour du noyaux debian. Et pour Ubuntu, je ne l'utilise plus.(je suis actuellement en train de me documenter sur la méthode pour le supprimer).
Je ne pense pas qu'il y ait de problème mais je ne suis pas expert....

Hors ligne

#32 29-05-2024 21:51:11

ceric
Membre
Lieu : Pyrénées Atlantiques
Distrib. : Debian 12 Bookworm
Noyau : Linux 6.1.0-xx-amd64
(G)UI : GNOME Shell
Inscription : 22-04-2014

Re : [Résolu] Dual boot Debian vs Ubuntu

@wardidi, Merci encore. smile

Elitedesk 800 G2 (dual boot ubuntu Noble Numbat vs debian Bookworm)

Hors ligne

Pied de page des forums