LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-09-2017, 11:52 AM   #1
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
init not found


Hi all,

I'm trying to upgrade a laptop from 14.0 to 14.1. Usually when I do this I upgrade the kernel first and then use slackpkg for the rest. I'm having a problem booting the kernel though. It panics with couldn't find the init, although I have run mkinitrd and rerun lilo. Here's what I've used for mkinitrd:

Code:
mkinitrd -c -k 3.10.17-smp -f ext4 -r /dev/hi3cryptvg/root -m usbhid:ehci-hcd:mbcache:jbd2:ext4 -C /dev/sda6:/dev/sda1 -L -u -o /boot/initrd.3.10.17.gz
and it runs without error. My lilo.conf looks like this:
Code:
append=" vt.default_utf8=0"
boot = /dev/sda
compact

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-3.2.29
  root = /dev/hi3cryptvg/root
  initrd = /boot/initrd.gz
  label = Linux
  append="resume=/dev/hi3cryptvg/swap"
  read-only
image = /boot/vmlinuz-generic-smp-3.10.17-smp
  root = /dev/hi3cryptvg/root
  initrd = /boot/initrd.3.10.17.gz
  label = 3.10.17
  append="resume=/dev/hi3cryptvg/swap"
  read-only
# Linux bootable partition config ends
and lilo runs without error.

Does anyone have suggestions for me?
Thanks,
Brian
 
Old 06-09-2017, 02:07 PM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
The old kernel is 64 bit, but your new kernel is 32 bit. That's not a recipe for success.
 
1 members found this post helpful.
Old 06-09-2017, 06:40 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
As an extension to the answer above, your /sbin/init binary is most likely the 64 bit version.
 
Old 06-09-2017, 07:22 PM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Original Poster
Rep: Reputation: Disabled
Thanks so much.

Brian
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernal panic no init found try passing init option to kernel m2azer Linux - General 3 11-08-2007 01:51 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 09:34 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration