Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-18-2013, 05:11 AM
|
#1
|
LQ Newbie
Registered: Sep 2013
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 8
Rep:
|
X2-compressed data is corrupt
Hi all, i got a problem when i upgrade my slackware kernel. i've compiled the kernel (3.11), and i dont update the lilo(when i update the lilo, the system miss the glibc). then i rebooted it. so i got this error when startup.
"X2-compressed data is corrupt
--system halted"
and the system hang.
here i use slackware64 14.
please help me
|
|
|
09-18-2013, 07:27 AM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
When you don't update Lilo your new kernel will not be booted, it will start the old one. So your problem can't be a problem with the new kernel, but rather with your system, which is also indicated by the error you get regarding the missing glibc.
Is this the recommended full install?
|
|
|
09-19-2013, 10:49 PM
|
#3
|
LQ Newbie
Registered: Sep 2013
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 8
Original Poster
Rep:
|
so, could i use my old kernel again? how to do that?
here the output of my error in GLIBC
Code:
#lilo
lilo: /lib/libc.so.6: version 'GLIBC_2.3' not found (required by lilo)
#
|
|
|
09-19-2013, 11:46 PM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
When you have not removed your old kernel than lilo will boot that kernel if you don't upgrade lilo.
Regarding the glibc, do you by any chance have changed that also?
|
|
|
09-20-2013, 12:10 AM
|
#5
|
Senior Member
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,800
|
A common cause of boot failure with lilo is that at some time in the (perhaps distant) past someone moved some of the boot files but did not re-run the lilo installer. The system can continue to boot just fine for quite a while because lilo is actually loading data that continues to exist in what is now marked as free space on the disk. Eventually, something new gets stored in some of those disk blocks, and suddenly the old, reliable kernel that you didn't change fails to boot.
Recovery requires booting from rescue media and running the lilo installer.
|
|
|
09-20-2013, 04:27 AM
|
#6
|
LQ Newbie
Registered: Sep 2013
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by TobiSGD
When you have not removed your old kernel than lilo will boot that kernel if you don't upgrade lilo.
Regarding the glibc, do you by any chance have changed that also?
|
Quote:
Originally Posted by rknichols
A common cause of boot failure with lilo is that at some time in the (perhaps distant) past someone moved some of the boot files but did not re-run the lilo installer. The system can continue to boot just fine for quite a while because lilo is actually loading data that continues to exist in what is now marked as free space on the disk. Eventually, something new gets stored in some of those disk blocks, and suddenly the old, reliable kernel that you didn't change fails to boot.
Recovery requires booting from rescue media and running the lilo installer.
|
actually i have replaced my old kernel configuration and i forgot to backup them.
then, for my question, can i place/install a new kernel or old kernel in my slackware in this situation?
should i use chroot?
|
|
|
09-22-2013, 07:24 AM
|
#7
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by Jati
actually i have replaced my old kernel configuration and i forgot to backup them.
then, for my question, can i place/install a new kernel or old kernel in my slackware in this situation?
should i use chroot?
|
Just install (or copy) a new kernel into the system, generate a new initrd, if necessary, chrrot into the system, update /etc/lilo.conf and run lilo.
|
|
|
09-22-2013, 09:30 PM
|
#8
|
LQ Newbie
Registered: Sep 2013
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by TobiSGD
Just install (or copy) a new kernel into the system, generate a new initrd, if necessary, chrrot into the system, update /etc/lilo.conf and run lilo.
|
how to do that?
should i use slackware live cd?
or other distro isn't a problem?
|
|
|
09-22-2013, 09:50 PM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
With the Slackware DVD it is easiest to do that, you don't even need to chroot, just follow the instructions on the bootloader's page of the DVD to boot the installed system, the just install/configure the system as you would do normally with your system.
|
|
|
All times are GMT -5. The time now is 09:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|