Another Upgrade, Another "Not-syncing" kernel panic
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Another Upgrade, Another "Not-syncing" kernel panic
I apologize, but I have started this new thread because I do not believe there are many still looking where I originally posted it, and I really need to get this solved so I can do some work. Well, got everything I need, followed all the instructions, and it won't boot. I don't know why I thought it would, no upgrade I have ever tried worked without headaches.
I get a kernel panic, not syncing, which I know is because it can't find the boot partition. When running lilo, I get a warning,
LBA32 addressing assumed.
My lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Standard menu.
message = /boot/boot_message.txt
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
#prompt
timeout = 5
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
I would have to guess that the /boot/vmlinuz symlink is pointing to the generic kernel.
I which case you need to setup an initrd to get the system to boot. Running the helper
script /usr/share/mkinitrd/mkinitrd_command_generator.sh should help get you started.
Or you need to boot the huge kernel but it is not recommended to run huge kernels beyond
initial setup.
Thanks, but I checked that. It is pointing to the huge kernel (as I was running under 13.0). I chrooted into Slack from a live distro to run lilo again, and get an error "permission denied" Tried liloconfig, and it will not reinstall with an error (doesn't say what.)
This is very frustrating. It seems to happen each time I upgrade, following official instructions to the letter.
I believe that either lilo is not installed or the partition table is cocked up. Running liloconfig from the chroot environment does not work. It will not install lilo. It seems to work until entering the command to install lilo. Then it gives me a message that LILO has returned an error. Attempting to look at the partition table from fdisk -l returns cannot open /proc/partitions
I don't see a way around this one without a reinstall unless someone has an idea.
Bob
Last edited by BobNutfield; 06-28-2010 at 03:16 PM.
LILO successfully installed, but still getting a kernel panic. The error asks to correct the "root=" parameter, but it is already correct.
The exact error is:
[QUOTE]Please append a correct "root-" boot option; here are the available options:[
Kernel Panic - not syncing VFS: Unable to mount root fs on unknown-block(3,1)/QUOTE]
You probably should `mount -o bind /proc/ /path/to/chroot/proc/` so lilo can see the correct information when trying to run (assuming you're chrooting from a LiveCD/install disk). Then chroot into the filesystem and edit lilo.conf and run lilo. The output of `fdisk -l` would be helpful to ensure that your partitions are still valid.
Alternatively you can boot into your system using the kernel on the install disk by passing the arguments displayed on the screen ('in a pinch'). Should be something like
Code:
hugesmp.s root=/dev/sda1 rdinit= ro
Then you can avoid the chroot stuff and just run lilo on your running system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.