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.
When next you get a kernel panic, give us a more complete picture of the messages. Include all from top to bottom of the screen, instead of the lesser number from the lower part of the screen shown in this image.
At the grub menu press e for edit, add "init 2" without the quotes to the end of the line that begins with linux. crtrl-x or f10 to boot. What happens?
With systemd, that's equivalent to simply 3, which is equivalent to simply 2, which gets you multi-user.target state. Default is usually graphical.target, which equates to 5.
Code:
# inxi -S
System:
Host: ab250 Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 Console: pty pts/0
Distro: Debian GNU/Linux 12 (bookworm)
# cat /proc/cmdline root=LABEL=<filter> noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off init 2
# systemctl list-units --type target --state active | egrep 'multi|graph|basic'
basic.target loaded active active Basic System
multi-user.target loaded active active Multi-User System
#
Code:
# inxi -S
System:
Host: ab250 Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 Console: pty pts/0
Distro: Debian GNU/Linux 12 (bookworm)
# cat /proc/cmdline root=LABEL=<filter> noresume ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off 3
# systemctl list-units --type target --state active | egrep 'multi|graph|basic'
basic.target loaded active active Basic System
multi-user.target loaded active active Multi-User System
# systemctl is-active single.target
inactive
# systemctl is-active user-defined.target
inactive
# systemctl is-active multi-user.target
active
# systemctl is-active graphical.target
inactive
#
"strike E key at Grub menu
move cursor to quiet
remove quiet
type just a 3 where quiet was
after 3, type a space and then type plymouth.enable=0
strike F10 key "
This I did.
I hit e before menue appeared.
Then I did boot "normal".
In your explanation in post 50, did you see the menuentry on screen when you hit the 'e' key? Did you arrow down with your keyboard to the line beginning with linux and make the suggested changes there? If that is what you did, then hitting either F10 or Ctrl+X should boot so if you did it that way another possible problem was eliminated but a solution was not found. When you do boot successfully from the Advanced menu, are you selecting a menuentry with the vmlinuz file with 13 in it rather than 15?
Based upon the way you responded in post #50, it's unclear whether you correctly followed the instruction. If indeed you followed the instruction correctly, then the following response would have been somewhat more clear:
Quote:
This I did.
I hit e before menu appeared.
"strike E key at Grub menu on 'normal'.
move cursor to quiet
remove quiet
type just a 3 where quiet was
after 3, type a space and then type plymouth.enable=0
strike F10 key "
Then it did
Panic.
Please try to boot using 13 kernel instead of 15. Try normally (without using E key) first. If that fails with panic, try again using E key to edit the linu line as before.
Ctrl-X and F10 both do the same thing, end the editing session your "E" keystroke started.
Appending init or inti to the linu line does nothing at all.
Appending 2 or 3 to the linu line causes the post-Grub Linux boot process to terminate without attempting to start X. If boot is successful, you should have shell login prompts on each of tty1-tty6, and be facing the one on tty1 with boot messages remaining on it. You can opt to leave tty1 to goto any of the other ttys using the Alt key, such as Alt-F3, to reach an otherwise empty screen except for a welcome message and login prompt.
add "init 2" without the quotes to the end of the line that begins with linux. crtrl-x or f10 to boot.
I go to
the line
linux. crtrl-x
I do add
init 2
at the end of that line.
Then there is a booting.
Quote:
If boot is successful, you should have shell login prompts on each of tty1-tty6, and be facing the one on tty1 with boot messages remaining on it. You can opt to leave tty1 to goto any of the other ttys using the Alt key, such as Alt-F3, to reach an otherwise empty screen except for a welcome message and login prompt.
Sorry.
I dont understand.
There was then a booting.
Then I see black screen like a terminal.
What do I have to do then?
Shall I tell: ALT
or
ALT with F3?
Then there will appear the "normal" GUI for loging username password?
There was then a booting.
Then I see black screen like a terminal.
What do I have to do then?
Shall I tell: ALT
or
ALT with F3?
Why do you ask? Your computer is not a bomb. It will not blow you up if you hit a wrong key. Try Alt-F3 here. What do you see?
Quote:
Then there will appear the "normal" GUI for loging username password?
No. But, we expect a black screen that says some things that ends with "login:", so that you can login without a GUI, and type commands like you can in a GUI terminal. Try typing these:
Code:
ls -l /var/log/Xorg.0.lo*
ls -l .local/share/xorg/
ls -l /var/log/journal/*/
Your last post seems to indicate you are hitting Ctrl+X too soon. After going to the line beginning with linux, go to the end of the line using the arrow keys on your keyboard and make any changes you want. After you have done that, you should be able to use either the F10 key or Ctrl+X. You do not use either key until AFTER you have made change to reboot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.