View attachment 14381I have done so many tutorials, unfortunately aren't working out
the error says: kernel panic- not syncing: VFS: Unable to mount root fs on unknown- block(0,0)
am using kali linux. I had just ran the command, {apt dist-upgrade -y}. upon reboot this came upkernel panic for debian os after major upgrade,
Vivo books do tend to have problems,
Was this a routeen upgrade using the update manager, or a complete new installation?
Which Debian distribution are you using?
The only suggestion I will make is, open grub [if it dose'nt display on boot for BIOS hold shift down and hold as you switch on , if UEFI hold delete whist switching on] choose advanced options from the menu select the previous Kernel and boot from thatam using kali linux
yeah, I did that. but how do I correct the mess so that I can use my newly upgraded system. thanks though for reaching out. For even after reboot using the previous version, the error still persists.The only suggestion I will make is, open grub [if it dose'nt display on boot for BIOS hold shift down and hold as you switch on , if UEFI hold delete whist switching on] choose advanced options from the menu select the previous Kernel and boot from that
ammmh, would you help out?Moving to Kali Linux - be sure to read the first two threads.
Wizard
OK. now don't take this the wrong way,
How much experience do you have in using Linux? Kali is not for those who are not fully competent.
Are you trying to us it as your daily home distribution ? Kali is not built for this purpose,
Did you install prior to updating any applications [except wi-fi/sound/graphic drivers] NOT from the Kali approved repository? if so you have probably Bulked the system and will need to re-install, Kali dos'nt like non approved applications.
Then may I suggest you use a more novice friendly distribution.I got some experience, though wouldn't say am much competent
thanks for the tipThen may I suggest you use a more novice friendly distribution.
This from the Kali documentation
"As the distribution’s developers, you might expect us to recommend that everyone should be using Kali Linux. The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc."
I had just ran the command, {apt dist-upgrade -y}. upon reboot this came up
It's the removal that's potentially the problem, something the simple "upgrade" option doesn't do. Regardless of how intelligent it claims to be, just using "upgrade" is safer. If you want to be safer still, use aptitude which has a safe option.dist-upgrade
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages.
thank you. I think i'll reinstall the imagebrazen wrote:
That command may be implicated in the trouble. The "dist-upgrade" option does more than the simple "upgrade" option, the latter being the first upgrading option to take before "dist-upgrade" usually. Note from the man page of apt-get:
It's the removal that's potentially the problem, something the simple "upgrade" option doesn't do. Regardless of how intelligent it claims to be, just using "upgrade" is safer. If you want to be safer still, use aptitude which has a safe option.
The -y option is likely also unwise because it blindly says "yes" to the software, whereas sometimes the installer likes to stop and ask the user about something, which the user can then decide upon.
All in all, you can probably learn lessons from your kali experience, but as mentioned regularly around the linux traps, kali is not great for the inexperienced.
As mentioned in post #15, the aptitude program is probably the safest way to go with upgrading and installing packages but there is a learning curve associated with it, which, if you "never give up" at, will be very useful in the end. You can practice on it as user rather than root, so that you avoid damage while learning it. Very cool that way. It's also possible to use the -s, or --simulate options in apt commands which will simulate what will be done without actually doing it. When you're satisfied it will do the right thing, then drop the simulating options.I think I might have corrupted the system. I really feel bored that am not well competent to solve this. am gonna dive deep in research. I wont quit. I never give up.
wow now this is helpfulAs mentioned in post #15, the aptitude program is probably the safest way to go with upgrading and installing packages but there is a learning curve associated with it, which, if you "never give up" at, will be very useful in the end. You can practice on it as user rather than root, so that you avoid damage while learning it. Very cool that way. It's also possible to use the -s, or --simulate options in apt commands which will simulate what will be done without actually doing it. When you're satisfied it will do the right thing, then drop the simulating options.