#26 Le 12/02/2023, à 13:28
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
C’est bizarre que ça ne redémarre pas sur le noyau 5.15.
Dans ce cas, donne le retour de :
cat /boot/grub/grub.cfg
Hors ligne
#27 Le 12/02/2023, à 13:46
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
diantre ! quel longueur...
Voici :
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
linux /boot/vmlinuz-5.14.0-1057-oem root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.14.0-1057-oem
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
menuentry 'Ubuntu, with Linux 5.14.0-1057-oem' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-1057-oem-advanced-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.14.0-1057-oem ...'
linux /boot/vmlinuz-5.14.0-1057-oem root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.14.0-1057-oem
}
menuentry 'Ubuntu, with Linux 5.14.0-1057-oem (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.14.0-1057-oem-recovery-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.14.0-1057-oem ...'
linux /boot/vmlinuz-5.14.0-1057-oem root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.14.0-1057-oem
}
menuentry 'Ubuntu, with Linux 5.15.0-60-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-60-generic-advanced-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.15.0-60-generic ...'
linux /boot/vmlinuz-5.15.0-60-generic root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-60-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-60-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-60-generic-recovery-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.15.0-60-generic ...'
linux /boot/vmlinuz-5.15.0-60-generic root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-60-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/99_dell_recovery ###
menuentry "Restore OS to factory state" {
search --no-floppy --hint '(hd0,gpt2)' --set --fs-uuid 3236-68A4
set uuid_options="uuid=3236-68A4"
if [ -s /factory/common.cfg ]; then
source /factory/common.cfg
else
set options="boot=casper automatic-ubiquity noprompt quiet splash nomodeset nopersistent"
fi
if [ -s /factory/post-rts-gfx.cfg ]; then
source /factory/post-rts-gfx.cfg
fi
if [ -s /factory/post-rts-wlan.cfg ]; then
source /factory/post-rts-wlan.cfg
fi
#Support starting from a loopback mount (Only support ubuntu.iso for filename)
if [ -f /ubuntu.iso ]; then
loopback loop /ubuntu.iso
set root=(loop)
set options="iso-scan/filename=/ubuntu.iso $options"
fi
if [ -n "${lang}" ]; then
set options="locale=$lang $options"
fi
if [ -s /factory/dual_enable ]; then
set options="dell-recovery/dual_boot=true $options"
fi
kernel=/casper/vmlinuz
if [ ! -f ]; then
kernel=/casper/vmlinuz.efi
fi
linux $kernel dell-recovery/recovery_type=hdd $uuid_options $options
initrd /casper/initrd
}
### END /etc/grub.d/99_dell_recovery ###
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#28 Le 12/02/2023, à 13:57
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Je suis de retour en fin d'après midi
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#29 Le 12/02/2023, à 14:03
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Ok, passe :
sudo sed -i 's/default="${saved_entry}"/default="1>2"/' /boot/grub/grub.cfg
Cette commande ne doit rien retourner, c’est normal.
Puis redémarre et donne à nouveau le retour de :
uname -r
Hors ligne
#30 Le 12/02/2023, à 14:04
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Je suis de retour en fin d'après midi
À ce moment là ce sera mon tour de m’absenter et je ne serai de retour que vers 19h.
Hors ligne
#31 Le 12/02/2023, à 18:18
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Me voilà.
1ere commande faite, il ne s'est effectivement rien passé.
Redemarrage, quelques lignes sont passées rapidement.
2de commande et là :
5.15.0-60-generic
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#32 Le 12/02/2023, à 19:16
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Impeccable. Alors allons-y. Donne les retours de :
cd /etc/apt/sources.list.d && sudo rm -v *somerville* focal* ; cd
sudo sed -ri "45,46d;/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /etc/apt/sources.list && cat /etc/apt/sources.list
sudo apt purge linux-headers-5.14.0-1057-oem linux-image-5.14.0-1057-oem linux-modules-5.14.0-1057-oem linux-headers-oem-20.04d linux-image-oem-20.04d linux-generic linux-headers-generic linux-image-generic
ls -l /etc/grub.d
cat /etc/default/grub
ls -l /factory /ubuntu.iso
Hors ligne
#33 Le 12/02/2023, à 19:55
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
première commande :
'oem-somerville-olly-adl-meta.list' supprimé
'oem-somerville-olly-adl-meta.list.distUpgrade' supprimé
'somerville-dla-team-ubuntu-ppa-focal.list' supprimé
'somerville-dla-team-ubuntu-ppa-jammy.list' supprimé
'focal-oem.list' supprimé
'focal-oem.list.distUpgrade' supprimé
deuxième :
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy universe
deb http://archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
troisième :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
linux-oem-5.14-headers-5.14.0-1057
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
Les paquets suivants seront ENLEVÉS :
linux-generic* linux-headers-5.14.0-1057-oem* linux-headers-generic*
linux-headers-oem-20.04d* linux-image-5.14.0-1057-oem* linux-image-generic*
linux-image-oem-20.04d* linux-modules-5.14.0-1057-oem* linux-oem-20.04d*
oem-somerville-olly-adl-meta*
0 mis à jour, 0 nouvellement installés, 10 à enlever et 0 non mis à jour.
Après cette opération, 343 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 222355 fichiers et répertoires déjà installés.
)
Suppression de linux-generic (5.15.0.60.58) ...
Suppression de oem-somerville-olly-adl-meta (20.04ubuntu6) ...
/usr/sbin/update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-60-generic
Found initrd image: /boot/initrd.img-5.15.0-60-generic
Found linux image: /boot/vmlinuz-5.14.0-1057-oem
Found initrd image: /boot/initrd.img-5.14.0-1057-oem
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Suppression de linux-oem-20.04d (5.14.0.1057.55) ...
Suppression de linux-headers-oem-20.04d (5.14.0.1057.55) ...
Suppression de linux-headers-5.14.0-1057-oem (5.14.0-1057.64) ...
Suppression de linux-headers-generic (5.15.0.60.58) ...
Suppression de linux-image-oem-20.04d (5.14.0.1057.55) ...
Suppression de linux-image-generic (5.15.0.60.58) ...
Suppression de linux-image-5.14.0-1057-oem (5.14.0-1057.64) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-60-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-60-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.14.0-1057-oem
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-60-generic
Found initrd image: /boot/initrd.img-5.15.0-60-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Suppression de linux-modules-5.14.0-1057-oem (5.14.0-1057.64) ...
(Lecture de la base de données... 205802 fichiers et répertoires déjà installés.
)
Purge des fichiers de configuration de linux-image-5.14.0-1057-oem (5.14.0-1057.
64) ...
Purge des fichiers de configuration de linux-modules-5.14.0-1057-oem (5.14.0-105
7.64) ...
Purge des fichiers de configuration de oem-somerville-olly-adl-meta (20.04ubuntu
6) ...
/usr/sbin/update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-60-generic
Found initrd image: /boot/initrd.img-5.15.0-60-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
quatrième :
total 144
-rwxr-xr-x 1 root root 10627 avril 15 2020 00_header
-rwxr-xr-x 1 root root 6260 déc. 2 16:18 05_debian_theme
-rwxr-xr-x 1 root root 18683 déc. 2 16:18 10_linux
-rwxr-xr-x 1 root root 43031 déc. 2 16:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 déc. 2 16:18 20_linux_xen
-rwxr-xr-x 1 root root 2924 févr. 6 2022 20_memtest86+
-rwxr-xr-x 1 root root 13369 déc. 2 16:18 30_os-prober
-rwxr-xr-x 1 root root 1372 déc. 2 16:18 30_uefi-firmware
-rwxr-xr-x 1 root root 700 févr. 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 avril 15 2020 40_custom
-rwxr-xr-x 1 root root 215 déc. 2 16:18 41_custom
-rwxr-xr-x 1 root root 1362 janv. 30 19:30 99_dell_recovery
-rw-r--r-- 1 root root 483 avril 15 2020 README
cinquième :
# 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=saved
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# 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-pc only)
#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"
et enfin :
ls: impossible d'accéder à '/factory': Aucun fichier ou dossier de ce type
ls: impossible d'accéder à '/ubuntu.iso': Aucun fichier ou dossier de ce type
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#34 Le 12/02/2023, à 20:49
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Très bien alors maintenant donne les retours de :
sudo sed -i 's/saved/0/' /etc/default/grub && cat /etc/default/grub
cd /etc/grub.d && sudo rm -v 99_dell_recovery ; cd
sudo update-grub
cat /boot/grub/grub.cfg
sudo apt clean && sudo apt update
Hors ligne
#35 Le 12/02/2023, à 21:05
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
# 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_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# 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-pc only)
#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"
puis
'99_dell_recovery' supprimé
encore
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-60-generic
Found initrd image: /boot/initrd.img-5.15.0-60-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
ensuite
DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
linux /boot/vmlinuz-5.15.0-60-generic root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.15.0-60-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
menuentry 'Ubuntu, with Linux 5.15.0-60-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-60-generic-advanced-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.15.0-60-generic ...'
linux /boot/vmlinuz-5.15.0-60-generic root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-60-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-60-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-60-generic-recovery-3c42e7ea-7bc1-4165-95bf-47b6f524e12d' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 3c42e7ea-7bc1-4165-95bf-47b6f524e12d
echo 'Loading Linux 5.15.0-60-generic ...'
linux /boot/vmlinuz-5.15.0-60-generic root=UUID=3c42e7ea-7bc1-4165-95bf-47b6f524e12d ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-60-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
et enfin
Réception de :1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Atteint :2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Atteint :3 http://archive.ubuntu.com/ubuntu jammy InRelease
Réception de :4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Réception de :5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Réception de :6 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [436 kB]
Réception de :7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [876 kB]
Réception de :8 http://archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [569 kB]
Réception de :9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [802 kB]
3020 ko réceptionnés en 3s (998 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#36 Le 12/02/2023, à 21:18
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Encore un truc que j’ai failli laisser passer, réactiver le dépôt de Chrome.
Donc donne le retour de :
sudo sed -i 's/ # désactivé.*$//;s/^# deb/deb/' /etc/apt/sources.list.d/google-chrome.list && cat /etc/apt/sources.list.d/google-chrome.list
Hors ligne
#37 Le 12/02/2023, à 21:32
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
sed: impossible de lire /etc/apt/sources.list.d/google-chrome.list: Aucun fichier ou dossier de ce type
hum... Pour chrome c'est peut être de ma faute, je l'ai supprimé hier
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne
#38 Le 12/02/2023, à 21:37
- nany
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Ah eh bien dans ce cas tout est OK. Ton Dell est fin prêt pour de nouvelles aventures avec jammy.
Hors ligne
#39 Le 12/02/2023, à 21:45
- DamG
Re : RESOLU mise a jour vers 22.04 impossible DELL inspiron 3520
Merci infiniment pour ton intervention.
A bientôt pour de nouvelles aventures !
Depuis que je suis sous Linux, j'aime mon PC !
Hors ligne