"Kernel Too Old"

Post about your cool new gadgets and toys. Ask other users for help with techy problems.

"Kernel Too Old"

Postby Мастер » Wed Jul 23, 2014 4:12 am

WTF? I've never seen this error before.
They call me Mr Celsius!
User avatar
Мастер
Moderator
Moderator
Злой Мудак
Mauerspecht
 
Posts: 23937
Joined: Tue Aug 02, 2005 2:56 pm
Location: Far from Damascus

Re: "Kernel Too Old"

Postby Enzo » Wed Jul 23, 2014 4:55 am

Popcorn won't pop? What...?
E Pluribus Condom
User avatar
Enzo
Enlightened One
Enlightened One
Chortling with glee!
 
Posts: 11956
Joined: Thu Feb 23, 2006 5:30 am
Location: Lansing, Michigan

Re: "Kernel Too Old"

Postby tubeswell » Wed Jul 23, 2014 6:40 am

Too old for this party

Image
A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.

If you are seeing an apparent paradox, that means you are missing something.
User avatar
tubeswell
Enlightened One
Enlightened One
 
Posts: 324867
Joined: Sun Sep 19, 2010 11:51 am
Location: 129th in-line to the Llama Throne (after the last purge)

Re: "Kernel Too Old"

Postby Lance » Wed Jul 23, 2014 3:44 pm

No trees were killed in the posting of this message.
However, a large number of electrons were terribly inconvenienced.

==========================================

Build a man a fire and he will be warm for a few hours.
Set a man on fire and he will be warm for the rest of his life.
User avatar
Lance
Administrator
Administrator
Cheeseburger Swilling Lard-Ass who needs to put down the remote and get off the couch.
 
Posts: 91434
Joined: Thu May 12, 2005 5:51 pm
Location: Oswego, IL

Re: "Kernel Too Old"

Postby Enzo » Wed Jul 23, 2014 4:56 pm

Why, sure, I was thinking that myself too...
E Pluribus Condom
User avatar
Enzo
Enlightened One
Enlightened One
Chortling with glee!
 
Posts: 11956
Joined: Thu Feb 23, 2006 5:30 am
Location: Lansing, Michigan

Re: "Kernel Too Old"

Postby Мастер » Wed Jul 23, 2014 7:18 pm



I have a dual boot Windows XP/Linux system. The Windows is so painfully slow I can barely stand it (I think the computer is from 2007).

Tried to boot up in Linux, but it seems the root password is not what I was expecting it to be. After several attempts, I realised I must have changed it to something new, and then (after not using the Linux partition for some time), forgot what it was. I could log in as a regular user, just not as root.

So I burned a bootable Linux CD (which was an adventure in and of itself), and booted from it.

The idea now was to mount the Linux partition on "/mnt", and then run the command "chroot /mnt passwd".

For those not familiar, "passwd" is the command in Linux (and other Unices) to change the password. When logged in as the root user (which I was, when booted from the CD), it would change the password of the root user. So I could change it to something which I new.

But, if one just executes the command "passwd", it changes the password stored in the /etc/shadow file (in encrypted form), which, when booted from the CD, is a file in the virtual file system created when the CD system starts up. What I want is for the password in the /etc/shadow file on the hard disk to be changed. So the "chroot /mnt <command>" tells the system to change the root of the file system to /mnt (where the hard disk is mounted) when executing the password command; that way, the /etc/shadow file changed would be the one on the hard disk, not the one in the virtual file system the CD system creates when booting.

But when I try the "chroot /mnt passwd', I got "kernel too old". The system on the hard disk is much newer than the system on the CD. So I think what happened is, it tried to run the "passwd" command on the hard disk, from the new system. That program then did some check, and determined it was running on a system with an old kernel (since the kernel would be from the CD system). It then bails, since it uses some features which the old kernel doesn't have available. At least, that's what I think happened.

I was able to solve the problem in a rather simple way - just execute the "passwd" command. That changed the entry in the /etc/passwd in the virtual file system in memory, the one created by the CD-based Linux system. I then just ran a text editor, and copied the line for the "root" user in this file to the /etc/passwd file on the hard disk. That actually worked, and I can now access my Linux system again.
They call me Mr Celsius!
User avatar
Мастер
Moderator
Moderator
Злой Мудак
Mauerspecht
 
Posts: 23937
Joined: Tue Aug 02, 2005 2:56 pm
Location: Far from Damascus

Re: "Kernel Too Old"

Postby Lance » Wed Jul 23, 2014 10:29 pm

That makes perfect sense.

I've used a bootable Windows XP based CD utility to repair things in Windows 7 and sometimes it will fail for similar reasons even though the verbiage is quite different.
No trees were killed in the posting of this message.
However, a large number of electrons were terribly inconvenienced.

==========================================

Build a man a fire and he will be warm for a few hours.
Set a man on fire and he will be warm for the rest of his life.
User avatar
Lance
Administrator
Administrator
Cheeseburger Swilling Lard-Ass who needs to put down the remote and get off the couch.
 
Posts: 91434
Joined: Thu May 12, 2005 5:51 pm
Location: Oswego, IL

Re: "Kernel Too Old"

Postby MM_Dandy » Thu Jul 24, 2014 2:25 pm

I wholly recommend HIren's Boot CD.
User avatar
MM_Dandy
Moderator
Moderator
King of Obscurity
 
Posts: 4927
Joined: Thu May 12, 2005 9:02 pm
Location: Canton, SD, USA

Re: "Kernel Too Old"

Postby Мастер » Thu Jul 24, 2014 2:39 pm

Lance wrote:That makes perfect sense.

I've used a bootable Windows XP based CD utility to repair things in Windows 7 and sometimes it will fail for similar reasons even though the verbiage is quite different.


I've heard it's pretty tough to get Windows to boot from anything other than an internal hard disk - is that true?

MM_Dandy wrote:I wholly recommend HIren's Boot CD.


It looks like it is Windows-based - is that correct?
They call me Mr Celsius!
User avatar
Мастер
Moderator
Moderator
Злой Мудак
Mauerspecht
 
Posts: 23937
Joined: Tue Aug 02, 2005 2:56 pm
Location: Far from Damascus

Re: "Kernel Too Old"

Postby MM_Dandy » Thu Jul 24, 2014 5:11 pm

Мастер wrote:
Lance wrote:That makes perfect sense.

I've used a bootable Windows XP based CD utility to repair things in Windows 7 and sometimes it will fail for similar reasons even though the verbiage is quite different.


I've heard it's pretty tough to get Windows to boot from anything other than an internal hard disk - is that true?


I haven't attempted anything like that since Windows 98se, myself (and wasn't so difficult) - but I'm pretty sure this is a fair statement, now. However...

Мастер wrote:
MM_Dandy wrote:I wholly recommend HIren's Boot CD.


It looks like it is Windows-based - is that correct?


Unless it's been changed drastically between 14 and 15, it isn't. I suppose that most of the time, it's used to diagnose/fix Windows - thus, the high amount of Windows-related comments in the release notes (IE: "BattStat 0.99b: Battery Status monitor and power management freeware for Windows 7/Vista/XP/2000 x86/x64."). At any rate, I've used it on a Mandriva system for password reset/recovery before.

Edit: I should add that that is the only non-Windows use I've made of it so far. I'll have to dig it out and actually see how much of it is actually geared for Windows-only use.
User avatar
MM_Dandy
Moderator
Moderator
King of Obscurity
 
Posts: 4927
Joined: Thu May 12, 2005 9:02 pm
Location: Canton, SD, USA

Re: "Kernel Too Old"

Postby Lance » Thu Jul 24, 2014 5:30 pm

Мастер wrote:I've heard it's pretty tough to get Windows to boot from anything other than an internal hard disk - is that true?

Not anymore, and it gets easier all the time. You can have a full, plug and play installation of Windows 7 on a USB flash drive that you can plug in, boot from and go. You could do it with XP too, but you had to jump through some hoops to get it to work right.
No trees were killed in the posting of this message.
However, a large number of electrons were terribly inconvenienced.

==========================================

Build a man a fire and he will be warm for a few hours.
Set a man on fire and he will be warm for the rest of his life.
User avatar
Lance
Administrator
Administrator
Cheeseburger Swilling Lard-Ass who needs to put down the remote and get off the couch.
 
Posts: 91434
Joined: Thu May 12, 2005 5:51 pm
Location: Oswego, IL


Return to Computers and Gadgets

Who is online

Users browsing this forum: No registered users and 1 guest