Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I suggest you navigate through your Grub menu and try to find a selection whose label includes 5.10.0-28 and/or 5.10.209 and try to boot it normally. If you are unable to find such an option, please attach file /boot/grub/grub.cfg to this thread.
I suggest also that you run these commands, preferably before doing anything else, to ensure freespace is a non-issue, among other reasons:
#
# 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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
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=de_DE
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=50
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=50
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
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-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-28-686-pae ...'
linux /boot/vmlinuz-5.10.0-28-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-28-686-pae
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
menuentry 'Debian GNU/Linux, with Linux 5.10.0-28-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-28-686-pae-advanced-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-28-686-pae ...'
linux /boot/vmlinuz-5.10.0-28-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-28-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-28-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-28-686-pae-recovery-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-28-686-pae ...'
linux /boot/vmlinuz-5.10.0-28-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-28-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-27-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-27-686-pae-advanced-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-27-686-pae ...'
linux /boot/vmlinuz-5.10.0-27-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-27-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-27-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-27-686-pae-recovery-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-27-686-pae ...'
linux /boot/vmlinuz-5.10.0-27-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-27-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-15-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-15-686-pae-advanced-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-15-686-pae ...'
linux /boot/vmlinuz-5.10.0-15-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-15-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 5.10.0-15-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-15-686-pae-recovery-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 5.10.0-15-686-pae ...'
linux /boot/vmlinuz-5.10.0-15-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-15-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-18-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-18-686-pae-advanced-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 4.9.0-18-686-pae ...'
linux /boot/vmlinuz-4.9.0-18-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.9.0-18-686-pae
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-18-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-18-686-pae-recovery-f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
else
search --no-floppy --fs-uuid --set=root f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc
fi
echo 'Loading Linux 4.9.0-18-686-pae ...'
linux /boot/vmlinuz-4.9.0-18-686-pae root=UUID=f0295e7e-ea3f-42c4-bef6-e7df6ef9d9bc ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.9.0-18-686-pae
}
}
### 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 ###
### 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 ###
Code:
sudo apt purge linux-image-3.16.0-4-686-pae
command not found
sudo apt purge linux-image-3.16.0-10-686-pae
This did work.
According to the grub.cfg file you pasted here instead of following the directions given to attach the file, when the Grub menu appears, the following is approximately what you should see (if your menu is in English):
Code:
Debian GNU/Linux
Advanced options for Debian GNU/Linux
From it you need to select Advanced options for Debian GNU/Linux. After you do you should see a longer list of selections. The first one should be 'Debian GNU/Linux, with Linux 5.10.0-28-686-pae'. That's the one I want you to highlight (if it is not already highlighted), then strike the E key, following which move the cursor to ro quiet and remove them, and in that space add '3'. It should be on the same line where root=UUID= appears, and which started with linu. Sometimes this line starting with linu doesn't fit completely, and so wraps onto another line. If it does, pretend the two lines are only one line, and put 3 at the end.
That "Advanced" menu should provide 4 selections described as 'recovery mode' and another 4 not so described. I want you to try one that does not show 'recovery mode', but with the modification described above before proceeding to boot using the F10 key or Ctrl-X. If panic occurs this way, take a photograph of your whole display output and attach it or pastebin it.
I dont want to make You angry.
I do and try my best to follow.
As far as I understand
You asked me do do it
in post 37
and post 157 is the same instruction.
Is this right?
The only difference I should make a photo with the output
when there will be appaear the panic.
Is this another screen than
I posted here the panic screen
made with the digicam?
The only difference I should make a photo with the output
when there will be appaear the panic.
Is this another screen than
I posted here the panic screen
made with the digicam?
I don't see any panic screen images posted here, and don't remember having seen any. However, this is a very very long thread and I can't remember everything already discussed, or remember what to expect to find in trying to review.
You can boot your Debian 11 installation media and select
Code:
Advanced options
Rescue mode
which will start the installation system in rescue mode. After initialization and selection of your /dev/sda1 / filesystem on your disk you will be presented with a Rescue operations menu:
Code:
Execute a shell in /dev/sda1
Execute a shell in the installer environment
Reinstall GRUB boot loader
Choose a different root file system
Reboot the system
Because of the thread title, I suggest to try "Reinstall GRUB boot loader". If this succeeds, you should be able to boot from HD and the problem should be solved. If this fails, report as best you can the results in as much detail as possible. While awaiting a response, or before reporting, you may start over and try the first option "Execute a shell in /dev/sda1". If this succeeds, you will actually be running your installed Debian system, from which I would try the following operations (in order):
df ## ensure the / filesystem has ample freespace
# ensure /etc/apt/sources.list has no uncommented lines that do not contain the string "bullseye". If any do, abort after making a copy of that file that you can paste here exactly to get instructions what to do next.
apt clean
apt update
apt-get upgrade
apt-get full-upgrade
apt --fix-broken install ## only if the previous commands end in apparent failure
Ctrl-D ## exit rescue mode
choose "Reboot the system"
If apparently successful, at this point I would shutdown and try to boot the installed system normally without using nomodeset. If not successful, please copy and paste here the content of /etc/apt/sources.list from your installed Debian system on /dev/sda1.
All I have written in this post was done in conjunction with booting Debian 11.9 installation media burned to USB from a Pentium 4 PC with multiple Gnu/Linux installations, including Debian 11. I actually booted using USB into the installed Debian 11 system and performed the above steps 1-6 (skipping #2) successfully, which installed linux-image-5.10.0-28-686. I then shutdown, removed the USB stick, booted Debian 11, and produced what follows:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.