انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: alirezamm در 15 شهریور 1403، 08:42 قظ
-
با درود
من میخام این منوی gnum grub در موقع لود ابونتو ۲۴.۰۴ من مخفی بشه ...تمام کارهایی هم که شده انجام دادم ولی نمیشه
امکان داره راهنمایی بفرمایید
با سپاس
-
درود
منظورتون منوی grub هست یا login manager ؟
و البته اون gnome هست.
-
بله ...مممنون
منظورم Grub هست
-
خب پس بزنید
sudo vim /etc/default/grub
بهد خط GRUB_TIMEOUT_STYLE=hidden را به اون پرونده اضافه کنید و در جلوی =GRUB_TIMEOUT عدد 0 را بزارید. بعد پرونده رو ذخیره کنید. و بعد بزنید
sudo update-grub
-
متاسفانه vim پیدا نمیکنه
-
اینم نصب هستش
-
اینم تصویر عدم دسترسی به vim
-
ولش کنید، با vi امتحان کنید.
-
با vi که نشد ...
-
؟؟؟؟؟
با nano
-
با یک ویرایشگر متن تحت ترمینال
-
این تغییرات از قبل هم بود ولی متاسفانه بازم موقع لود شدن میاد این منو grub
-
دستور زیر را بزنید
sudo update-grub
-
همون رو انجام دادم ...ولی باز هم هست .....
ممنون میشم راهنمایی بفرمایید
-
میشه عکس اونی که میگین هستو بفرستین؟
-
من از شما تشکر میکنم که راهنمایی بفرمایید
عکس در پیوست فرستادم
-
خیلی ممنون از شما برای راهنمایی
عکس در پیوست فرستادم
-
به نظر میاد ۲ تا اوبونتو نصب کردید. اینطور نیست؟
پیکربندی اصلی گراب رو اینجا قرار بدید:
cat /boot/grub/grub.cfg
خروجی این دستورات رو هم بذارید تا دیسکها و پارتیشنهای شما و همینطور اطلاعات بوت uefi نمایش داده بشه.
sudo fdisk -l
efibootmgr -v
برای کپی کردن متنها از ترمینال، ctrl + shift + v استفاده کنید.
هنگام قرار دادن خروجی دستورها توی انجمن از تگ کد استفاده کنید.
-
با سپاس
alireza@alireza-OptiPlex-5090:~$ sudo cat /boot/grub/grub.cfg
#
# 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
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
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=en_US
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-23e5cd43-b2d7-4312-a7f3-41a34f139639' {
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
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
fi
linux /boot/vmlinuz-6.8.0-41-generic root=UUID=23e5cd43-b2d7-4312-a7f3-41a34f139639 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.8.0-41-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-23e5cd43-b2d7-4312-a7f3-41a34f139639' {
menuentry 'Ubuntu, with Linux 6.8.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-41-generic-advanced-23e5cd43-b2d7-4312-a7f3-41a34f139639' {
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
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
fi
echo 'Loading Linux 6.8.0-41-generic ...'
linux /boot/vmlinuz-6.8.0-41-generic root=UUID=23e5cd43-b2d7-4312-a7f3-41a34f139639 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-41-generic
}
menuentry 'Ubuntu, with Linux 6.8.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-41-generic-recovery-23e5cd43-b2d7-4312-a7f3-41a34f139639' {
recordfail
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
fi
echo 'Loading Linux 6.8.0-41-generic ...'
linux /boot/vmlinuz-6.8.0-41-generic root=UUID=23e5cd43-b2d7-4312-a7f3-41a34f139639 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-41-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+ ###
menuentry "Memory test (memtest86+x64.efi)" --class memtest $menuentry_id_option 'memtest86+' {
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
fi
linux /boot/memtest86+x64.efi
}
menuentry 'Memory test (memtest86+x64.efi, serial console)' --class memtest $menuentry_id_option 'memtest86+-serial' {
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 23e5cd43-b2d7-4312-a7f3-41a34f139639
else
search --no-floppy --fs-uuid --set=root 23e5cd43-b2d7-4312-a7f3-41a34f139639
fi
linux /boot/memtest86+x64.efi console=ttyS0,115200
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 24.04.1 LTS (24.04) (on /dev/nvme0n1p3)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.14.0-1054-oem root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.14.0-1054-oem
}
submenu 'Advanced options for Ubuntu 24.04.1 LTS (24.04) (on /dev/nvme0n1p3)' $menuentry_id_option 'osprober-gnulinux-advanced-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
menuentry 'Ubuntu (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.14.0-1054-oem--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.14.0-1054-oem root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.14.0-1054-oem
}
menuentry 'Ubuntu, with Linux 5.14.0-1054-oem (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.14.0-1054-oem--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.14.0-1054-oem root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.14.0-1054-oem
}
menuentry 'Ubuntu, with Linux 5.14.0-1054-oem (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.14.0-1054-oem-root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.14.0-1054-oem root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.14.0-1054-oem
}
menuentry 'Ubuntu, with Linux 6.8.0-41-generic (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.0-41-generic--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-6.8.0-41-generic root=/dev/nvme0n1p3 ro quiet splash $vt_handoff
}
menuentry 'Ubuntu, with Linux 6.8.0-41-generic (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.0-41-generic-root=/dev/nvme0n1p3 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-6.8.0-41-generic root=/dev/nvme0n1p3 ro recovery nomodeset dis_ucode_ldr
}
menuentry 'Ubuntu, with Linux 6.8.0-40-generic (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.0-40-generic--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-6.8.0-40-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.8.0-40-generic
}
menuentry 'Ubuntu, with Linux 6.8.0-40-generic (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.8.0-40-generic-root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-6.8.0-40-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-6.8.0-40-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-38-generic (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.19.0-38-generic--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.19.0-38-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.19.0-38-generic
}
menuentry 'Ubuntu, with Linux 5.19.0-38-generic (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.19.0-38-generic-root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.19.0-38-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.19.0-38-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-119-generic (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-119-generic--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.15.0-119-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.15.0-119-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-119-generic (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-119-generic-root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.15.0-119-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.15.0-119-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-69-generic (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-69-generic--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.15.0-69-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.15.0-69-generic
}
menuentry 'Ubuntu, with Linux 5.15.0-69-generic (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.15.0-69-generic-root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr-33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/vmlinuz-5.15.0-69-generic root=UUID=33ce4605-a04e-48dc-8d49-9e3f764cf208 ro recovery nomodeset dis_ucode_ldr
initrd /boot/initrd.img-5.15.0-69-generic
}
menuentry 'Memory test (memtest86+x64.efi) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+x64.efi--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/memtest86+x64.efi
}
menuentry 'Memory test (memtest86+x64.efi, serial console) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/memtest86+x64.efi--33ce4605-a04e-48dc-8d49-9e3f764cf208' {
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 33ce4605-a04e-48dc-8d49-9e3f764cf208
linux /boot/memtest86+x64.efi console=ttyS0,115200
}
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### 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 ###
-
lireza@alireza-OptiPlex-5090:~$ sudo fdisk -l
Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 10.08 MiB, 10571776 bytes, 20648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 89.25 MiB, 93589504 bytes, 182792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 167.42 MiB, 175550464 bytes, 342872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 167.64 MiB, 175779840 bytes, 343320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 13.24 MiB, 13881344 bytes, 27112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 104.19 MiB, 109252608 bytes, 213384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 55.66 MiB, 58363904 bytes, 113992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM035-1RK1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C8E94C30-77E6-47AE-A821-C8C4A70CBF31
Device Start End Sectors Size Type
/dev/sda1 2048 2203647 2201600 1G EFI System
/dev/sda2 2203648 1953521663 1951318016 930.5G Linux filesystem
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: KINGSTON SNVS1000GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CE28C11B-4E14-4DC0-BAEF-9C8AE0BED937
Device Start End Sectors Size Type
/dev/nvme0n1p1 34 488281 488248 238.4M EFI System
/dev/nvme0n1p2 488282 8890490 8402209 4G Microsoft reserved
/dev/nvme0n1p3 8892416 1953523711 1944631296 927.3G Linux filesystem
Disk /dev/loop8: 63.95 MiB, 67051520 bytes, 130960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 74.27 MiB, 77881344 bytes, 152112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 74.27 MiB, 77881344 bytes, 152112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop11: 66.17 MiB, 69382144 bytes, 135512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop12: 67.76 MiB, 71049216 bytes, 138768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop13: 269.77 MiB, 282873856 bytes, 552488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop14: 271.24 MiB, 284413952 bytes, 555496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop15: 10.72 MiB, 11239424 bytes, 21952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop16: 864 KiB, 884736 bytes, 1728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop17: 164.82 MiB, 172830720 bytes, 337560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop18: 349.7 MiB, 366682112 bytes, 716176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop19: 505.09 MiB, 529625088 bytes, 1034424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop20: 13.58 MiB, 14237696 bytes, 27808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop21: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop22: 604 KiB, 618496 bytes, 1208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop23: 254.43 MiB, 266792960 bytes, 521080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop24: 289.78 MiB, 303853568 bytes, 593464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop25: 443.99 MiB, 465559552 bytes, 909296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop26: 2.01 GiB, 2156904448 bytes, 4212704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop27: 1.08 GiB, 1155629056 bytes, 2257088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop28: 7.39 MiB, 7745536 bytes, 15128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop29: 6.78 MiB, 7106560 bytes, 13880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop30: 575.58 MiB, 603537408 bytes, 1178784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop31: 157.02 MiB, 164651008 bytes, 321584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop32: 157.02 MiB, 164646912 bytes, 321576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop33: 432.07 MiB, 453062656 bytes, 884888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop34: 188.02 MiB, 197152768 bytes, 385064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop35: 10.54 MiB, 11051008 bytes, 21584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop36: 38.83 MiB, 40714240 bytes, 79520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop37: 500 KiB, 512000 bytes, 1000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop38: 447.32 MiB, 469053440 bytes, 916120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop39: 149.63 MiB, 156901376 bytes, 306448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop40: 101.39 MiB, 106319872 bytes, 207656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop41: 321.1 MiB, 336699392 bytes, 657616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop42: 17.27 MiB, 18104320 bytes, 35360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop43: 322.95 MiB, 338636800 bytes, 661400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop44: 422.28 MiB, 442793984 bytes, 864832 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop45: 347.16 MiB, 364019712 bytes, 710976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop46: 499.78 MiB, 524054528 bytes, 1023544 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop47: 543.77 MiB, 570179584 bytes, 1113632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop48: 4.52 MiB, 4743168 bytes, 9264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop49: 476 KiB, 487424 bytes, 952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop50: 362.25 MiB, 379846656 bytes, 741888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop51: 628 KiB, 643072 bytes, 1256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop52: 219.76 MiB, 230436864 bytes, 450072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop53: 62.11 MiB, 65130496 bytes, 127208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
alireza@alireza-OptiPlex-5090:~$
-
alireza@alireza-OptiPlex-5090:~$ efibootmgr -v
BootCurrent: 0005
Timeout: 5 seconds
BootOrder: 0005,0000,0006,0002,0003,0004,0007
Boot0000* UEFI ST1000LM035-1RK172 WKPK2EM6 HD(1,GPT,4aef6c38-7e3b-48a7-bce5-a9f4b6517588,0x800,0x219800)/File(\EFI\Boot\BootX64.efi){auto_created_boot_option}
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 38 6c ef 4a 3b 7e a7 48 bc e5 a9 f4 b6 51 75 88 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 58 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0002* ONBOARD NIC (IPV4) PciRoot(0x0)/Pci(0x1f,0x6)/MAC(a4bb6d8f3345,0)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option}
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 a4 bb 6d 8f 33 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0003* ONBOARD NIC (IPV6) PciRoot(0x0)/Pci(0x1f,0x6)/MAC(a4bb6d8f3345,0)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option}
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 a4 bb 6d 8f 33 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0d 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0004* UEFI HTTPs Boot PciRoot(0x0)/Pci(0x1f,0x6)/MAC(a4bb6d8f3345,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option}
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 a4 bb 6d 8f 33 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 18 04 00 / 7f ff 04 00
data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0005* Ubuntu HD(1,GPT,4aef6c38-7e3b-48a7-bce5-a9f4b6517588,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 38 6c ef 4a 3b 7e a7 48 bc e5 a9 f4 b6 51 75 88 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0006* UEFI KINGSTON SNVS1000GB 50026B7684C0D0D3 1 HD(1,GPT,2707948c-2536-48b4-bdf1-e6369c2c1361,0x22,0x77338)/File(\EFI\Boot\BootX64.efi){auto_created_boot_option}
dp: 04 01 2a 00 01 00 00 00 22 00 00 00 00 00 00 00 38 73 07 00 00 00 00 00 8c 94 07 27 36 25 b4 48 bd f1 e6 36 9c 2c 13 61 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 58 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0007* Linux Firmware Updater HD(1,GPT,2707948c-2536-48b4-bdf1-e6369c2c1361,0x22,0x77338)/File(\EFI\ubuntu\shimx64.efi) File(.\fwupdx64.efi)
dp: 04 01 2a 00 01 00 00 00 22 00 00 00 00 00 00 00 38 73 07 00 00 00 00 00 8c 94 07 27 36 25 b4 48 bd f1 e6 36 9c 2c 13 61 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
data: 5c 00 66 00 77 00 75 00 70 00 64 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00
alireza@alireza-OptiPlex-5090:~$
-
اگر هم دوتا باشه ..ممنون میشم راهنمایی بفرمایید که چطور بدون صدمه دیدن ..این ابونتو ۲۴ که تمام نرم افزارها را انتقال دادم وکلی اطلاعات دارم دوباره مجبور نشم ......
راهنمایی بفرمایید برای حذف اون قبلی
با سپاس
-
این طور که معلومه یه ssd دارید و یه hdd. روی هر کدوم یه اوبونتو نصب شده. به نظر میاد از اوبونتویی که روی هارد هست استفاده میکنید.
انگار قبلا یه ویندوز روی ssd نصب بوده ولی الان پاک شده. هر چند پارتیشن reserved اون هنوز باقی مونده.
این که منوی گراب مخفی بشه، توی پیکربندی گراب موجوده، ولی جلوتر توسط چیزهایی که os-prober نوشته، عوض شده و به همین خاطر منوی گراب نمایش داده میشه.
الان میخواهید کدوم اوبونتو رو پاک کنید؟ اونی که روی هارد هست یا اون که روی ssd؟
-
با دررو و سپاس
اونی که ۲۴.۰۴ نمیدونم روی کدوم نصب شده این باشه
اون یکی پاک بشه
-
ضمنا هر دو ابونتو بوده قبلی اگر اشتباه نکنم ۲۲.۰۴ بود ....آپدیت شد با مشکل و الان هم سیستم بشدت کند شده احتمالا همین تداخل هست
ممنون میشم راهنمایی بفرمایید
که با همین ۲۴.۰۴ برم جلو ..
-
این عکسها هم با نرم افزار Gparted گرفتم که راهنمایی بفرمایید
فکر کنم روی پارتیشن sda نسخه قبلی مونده
راهنمایی بفرمایید و ببنید ..ممنون میشم
فقط یک سوال اخر هم داشتم ...ایا اینها بوده ..ممکنه تو عملکرد سیستم و کندی سیستم ...دخالتی هم داشته باشه ؟