bjour,
desole mais je ne px pas exprimer mon pble ds le titre du post (POST QUI VA PIQUER LES YEUX)
hello,
j'ai reussi a cloner mon disque dur sur un externe USB grace a ce post
https://debian-facile.org/viewtopic.php?id=29394ma config
/dev/sda1 VFAT EFI
/dev/sda2 racine + home
/dev/sda3 SWAP
/dev/sda4 ext4 libre
/dev/sdb1 VFAT EFI
/dev/sdb2 racine + home
/dev/sdb3 SWAP
/dev/sdb4 ext4 libre
j'ai fait ce qui a ete dit + qques bidouilles
de memoire
- j'ai clone a froid avec clonezilla
- j'ai change les UUIDs du clone
- j'ai change les PARTUUID avec gdisk
- j'ai detruit et recree la SWAP du clone pr changer l'UUID avec Gparted
- j'ai modifie le /etc/fstab du clone
- j'ai modifie le /boot/grub/grub.cfg (du clone si je me souviens bien)
- j'ai rajoute la fameuse ligne: GRUB_DISABLE_OS_PROBER=true
et puis
update-grub depuis le systeme originel
----------------------------------------------------------------------------------
LE PROBLEME SE SITUE ICI
ok tt a l'air de bien fonctionner, je px booter sur les disques durs mais j'ai un truc que je ne m'explique pas
qd je boote sur /dev/sda1, le disque dur interne dc,
- mes 4 partitions (/dev/sda) sont montees (/dev/sda4 a ete ecrite automatiquement par debian sauf si je suis somnambule, je viens d'editer /etc/fstab)
- mes partitions /dev/sdb2 (la racine et home du clone) ainsi que /dev/sdb4 st montees aussi
qd je boote sur /dev/sdb1, le disque dur externe dc,
- aucune de mes partitions /dev/sda n'est montee
- mes 4 partitions /dev/sdb sont montees
le comportement que je souhaite est
- je boote sur /dev/sda1, mes partitions /dev/sda st montees et pas celles de /dev/sdb
- je boote sur /dev/sdb1, mes partitions /dev/sdb st montees et pas celles de /dev/sda
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
blkid
/dev/sda1: UUID="DAD1-82D4" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b0acf2d4-a540-4c84-8fd4-9b6d41ec74bd"
/dev/sda2: UUID="d7adb187-4b80-4dec-842b-953646400463" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="racine" PARTUUID="d393ffa3-4fb3-4445-a3f7-05c8e8b47671"
/dev/sda3: UUID="274a8a53-af4b-4ed2-867f-0618100ea7f6" TYPE="swap" PARTLABEL="echange" PARTUUID="d21cef11-7095-4efe-a329-39341bd9e3b8"
/dev/sda4: UUID="52af7f74-c5e2-4dbb-a1ca-7348f9dafeca" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="home" PARTUUID="88fb160e-061a-4327-b6a2-dd4f2c482eb1"
/dev/sdb1: UUID="08B3-6392" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b0acf2d4-a540-4c84-8fd4-9b6d41ec74bd"
/dev/sdb2: UUID="2490fa99-464c-4103-b058-a5dc0656880e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="racine_clone" PARTUUID="437f5763-3dfd-49c4-a6d7-de9fdb235dd3"
/dev/sdb3: LABEL="echange_clone" UUID="c529cbba-4ba5-4bad-80dd-b8ac0ec9ba1c" TYPE="swap" PARTLABEL="echange_clone" PARTUUID="56b4693c-e8a1-4c90-9ccc-58392706267b"
/dev/sdb4: UUID="20329bef-94f8-45ab-9c40-91ee9d33abfa" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="home_clone" PARTUUID="e8adf6fe-74f9-4bec-a2e6-c2ca2b7a61a5"
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
retour de /etc/fstab de /dev/sda
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=d7adb187-4b80-4dec-842b-953646400463 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sda3 during installation
UUID=274a8a53-af4b-4ed2-867f-0618100ea7f6 none swap sw 0 0
UUID=DAD1-82D4 /boot/efi vfat umask=0077 0 1
/dev/disk/by-uuid/52af7f74-c5e2-4dbb-a1ca-7348f9dafeca /mnt/52af7f74-c5e2-4dbb-a1ca-7348f9dafeca auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/sda4 (la derniere ligne) a ete ecrite automatiquement par debian sauf si je suis somnambule, je viens d'editer /etc/fstab
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
retour de /etc/fstab de /dev/sdb
# /etc/fstab du disque dur externe
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=2490fa99-464c-4103-b058-a5dc0656880e / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=08B3-6392 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda3 during installation
UUID=c529cbba-4ba5-4bad-80dd-b8ac0ec9ba1c none swap sw 0 0
---------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
retour de /boot/grub/grub.cfg de /dev/sda
#
# 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 [ "${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 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
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 d7adb187-4b80-4dec-842b-953646400463
else
search --no-floppy --fs-uuid --set=root d7adb187-4b80-4dec-842b-953646400463
fi
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=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
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 d7adb187-4b80-4dec-842b-953646400463
else
search --no-floppy --fs-uuid --set=root d7adb187-4b80-4dec-842b-953646400463
fi
insmod png
if background_image /usr/share/desktop-base/homeworld-theme/grub/grub-4x3.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d7adb187-4b80-4dec-842b-953646400463' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 d7adb187-4b80-4dec-842b-953646400463
else
search --no-floppy --fs-uuid --set=root d7adb187-4b80-4dec-842b-953646400463
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=d7adb187-4b80-4dec-842b-953646400463 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-d7adb187-4b80-4dec-842b-953646400463' {
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-advanced-d7adb187-4b80-4dec-842b-953646400463' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 d7adb187-4b80-4dec-842b-953646400463
else
search --no-floppy --fs-uuid --set=root d7adb187-4b80-4dec-842b-953646400463
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=d7adb187-4b80-4dec-842b-953646400463 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-recovery-d7adb187-4b80-4dec-842b-953646400463' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 d7adb187-4b80-4dec-842b-953646400463
else
search --no-floppy --fs-uuid --set=root d7adb187-4b80-4dec-842b-953646400463
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=d7adb187-4b80-4dec-842b-953646400463 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux 11 (bullseye) (on /dev/sdb2)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2490fa99-464c-4103-b058-a5dc0656880e' {
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro quiet
initrd /boot/initrd.img-5.10.0-9-amd64
}
submenu 'Advanced options for Debian GNU/Linux 11 (bullseye) (on /dev/sdb2)' $menuentry_id_option 'osprober-gnulinux-advanced-2490fa99-464c-4103-b058-a5dc0656880e' {
menuentry 'Debian GNU/Linux (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.0-9-amd64--2490fa99-464c-4103-b058-a5dc0656880e' {
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro quiet
initrd /boot/initrd.img-5.10.0-9-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.0-9-amd64--2490fa99-464c-4103-b058-a5dc0656880e' {
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro quiet
initrd /boot/initrd.img-5.10.0-9-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.0-9-amd64-root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro single-2490fa99-464c-4103-b058-a5dc0656880e' {
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro single
initrd /boot/initrd.img-5.10.0-9-amd64
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### 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 ###
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
retour de /boot/grub/grub.cfg de /dev/sdb
# /boot/grub/grub.cfg du disque dur externe
#
# 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 [ "${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 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
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 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
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=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
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 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
insmod png
if background_image /usr/share/desktop-base/homeworld-theme/grub/grub-4x3.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2490fa99-464c-4103-b058-a5dc0656880e' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-2490fa99-464c-4103-b058-a5dc0656880e' {
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-advanced-2490fa99-464c-4103-b058-a5dc0656880e' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-recovery-2490fa99-464c-4103-b058-a5dc0656880e' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
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 2490fa99-464c-4103-b058-a5dc0656880e
else
search --no-floppy --fs-uuid --set=root 2490fa99-464c-4103-b058-a5dc0656880e
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=2490fa99-464c-4103-b058-a5dc0656880e ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### 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 ###
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
je vs avais dit que ca piquerait les yeux.
Voilà, si vs avez une idee, je prends.
Merci en tt les cas
tartare
Dernière modification par tartare (20-11-2021 05:19:28)