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 09-09-2009, 01:24 PM   #1
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
boot parameter ffor the kernel


i installed slackware 12.2 successfully
at first i had the following problem
http://www.linuxquestions.org/questi...-error-753732/
when i got it solved(may be) by refering the following thread
http://www.linuxquestions.org/questi...-panic-749003/
new problem popped up..
when i boot, i get the kernel panic and also says try giving parameter init=(something like that).. what might the problem? how can i solve it?also i am new to slackware.

thanks in advance
mobin
 
Old 09-09-2009, 01:33 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
I have had a look at, and remember, your original thread. Are you now booting with an initial ram disk ? Have you kept a lilo stanza for the huge kernel and if so does it work ? I think we all need more information to help you.
 
Old 09-09-2009, 01:35 PM   #3
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
thanks for reply.. i use grub.. when using the huge kernel it gives me kernel panic as stated in my previous thread
Code:
Kernel Panic - Not Syncing: VFS: Unable to mount root fs on unknown-block (0.0)
edit:i will show my menu.lst
[code]
default 0
timeout 10
uuid be605e8f-0c90-4e85-86d8-f618ad16c431
splashimage=/grub/splash.xpm.gz

title Fedora 11, kernel 2.6.29.4-167.fc11.x86_64
uuid be605e8f-0c90-4e85-86d8-f618ad16c431
kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 root=UUID=a085c593-3a2b-4199-b363-b8b93680c4f9 ro quiet splash
initrd /initrd-2.6.29.4-167.fc11.x86_64.img
quiet

#title Fedora 11, kernel 2.6.29.4-167.fc11.x86_64 (recovery mode)
#uuid be605e8f-0c90-4e85-86d8-f618ad16c431
#kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 root=UUID=a085c593-3a2b-4199-b363-b8b93680c4f9 ro single
#initrd /initrd-2.6.29.4-167.fc11.x86_64.img

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid be605e8f-0c90-4e85-86d8-f618ad16c431
kernel /vmlinuz-2.6.28-11-generic root=UUID=ab353052-71a5-4e95-bd92-82a077c9df7c ro quiet splash
initrd /initrd.img-2.6.28-11-generic
quiet

#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid be605e8f-0c90-4e85-86d8-f618ad16c431
#kernel /vmlinuz-2.6.28-11-generic root=UUID=ab353052-71a5-4e95-bd92-82a077c9df7c ro single
#initrd /initrd.img-2.6.28-11-generic

#title Ubuntu 9.04, memtest86+
#uuid be605e8f-0c90-4e85-86d8-f618ad16c431
#kernel /memtest86+.bin
#quiet

title Slackware 12, kernel 2.6.27.7
uuid be605e8f-0c90-4e85-86d8-f618ad16c431
kernel /vmlinuz-generic-smp-2.6.27.7-smp root=UUID=ae3e940b-6afa-4fa3-be7b-566b0ea66967 ro quiet splash
initrd /initrd.gz
quiet

title Slackware 12, kernel 2.6.27.7
uuid be605e8f-0c90-4e85-86d8-f618ad16c431
kernel /vmlinuz-huge-smp-2.6.27.7-smp root=UUID=ae3e940b-6afa-4fa3-be7b-566b0ea66967 ro quiet splash
quiet


### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda5
title Microsoft Windows XP Embedded
rootnoverify (hd0,4)
savedefault
makeactive
chainloader +1

[code]

Last edited by mobinskariya; 09-09-2009 at 01:37 PM.
 
Old 09-09-2009, 01:38 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,926
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Instead of reference a current post that still isn't resolved you should stay within the original thread.

You've just 'dupe' the problem in this post without resolving in the original. This will cause you and the helpers a lot of heart ache or just plain problems.

By reading the post(s) it seems that you have '/boot' on another partition for other distributions that you are sharing with Slackware? Why?

It does seem that your 'grub' is not configured properly since your kernel is panicking.

This thread has been reported as a 'dupe'. Maybe the mod will combine?
 
Old 09-09-2009, 01:40 PM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
sorry if i had done anything wrong. i thought that it is a new problem so started with a new thread.
 
Old 09-09-2009, 03:26 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
This doesn't work for Slackware, IIRC:
root=UUID=???
You need to supply a regular device name.
 
Old 09-09-2009, 03:36 PM   #7
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Devuan
Posts: 179

Rep: Reputation: 122Reputation: 122
It has got to be something like

title Slackware 12.2
root (hd0,1)
kernel /boot/vmlinuz-generic-smp-2.6.27.31-smp root=/dev/hda2 splash=silent vga=791
initrd /boot/initrd.gz
boot

That is how I boot my slackware with Grub menu.lst. Check the right kernelversion and the names of the devices.

Good luck!
 
Old 09-09-2009, 10:30 PM   #8
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
thank you guys for your help.. i changed the grub as mentioned to their device names and now i can boot the slackware with huge kernel. when i try to boot the generic kernel it gives me the following error
Code:
kernel panic - not syncing - No init found Try passing parameter init=  option to kernel
what might be the problem??
 
Old 09-10-2009, 12:26 AM   #9
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Devuan
Posts: 179

Rep: Reputation: 122Reputation: 122
Did you build your initrd.gz according to the README.initrd as found in the /boot directory? With it you can build an initrd.gz for your generic kernel. I build mine with refering to ext3, not reisererfs as shown in the example you can find in the README. But that depends on how you made your partitions
 
Old 09-10-2009, 12:30 AM   #10
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
no i didnt use reiserfs as my filesystem to build initrd..i build initrd using initrd command generator from the link
http://www.slackware.com/~alien/tool...d_generator.sh
 
Old 09-10-2009, 02:46 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by mobinskariya View Post
no i didnt use reiserfs as my filesystem to build initrd..i build initrd using initrd command generator from the link
http://www.slackware.com/~alien/tool...d_generator.sh
This script is now contained in Slackware 13.0 as part of the "mkinitrd" package - you find it as
Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
Eric
 
Old 09-10-2009, 03:05 AM   #12
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
i didnt try slackware 13.. i cant solve my problem with slackware 12.2..
 
Old 09-10-2009, 03:19 AM   #13
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Devuan
Posts: 179

Rep: Reputation: 122Reputation: 122
Somehow I've got the feeling, with regard to the error-messages, that there is a wrong init-tree set up for your generic kernel. Couldn't that be what's causing the trouble?

Last edited by Hannes Worst; 09-10-2009 at 03:21 AM.
 
Old 09-10-2009, 03:23 AM   #14
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Original Poster
Rep: Reputation: 55
another thing i want to mention is that my initrd is only of 210 kb while my ubuntu and fedora initrd has got the size of 7.2mb and 3.2mb resply(dont know if that matters).
 
Old 09-10-2009, 03:31 AM   #15
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Hello,

Try to recreate the initrd image file manually using this command:

Code:
 mkinitrd -c -k 2.6.27.7-smp -m reiserfs -f reiserfs -r /dev/sda11
 
  


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
how to change a kernel parameter ? pkhetan Linux - Newbie 12 07-31-2009 10:59 AM
How to pass a Kernel Parameter? brian.wright Linux - Newbie 3 02-24-2009 04:03 PM
kernel parameter and laptop kaz2100 Linux - General 1 10-18-2007 09:16 AM
linux bash - how to use a dynamic parameter in shell parameter expansion expression nickleus Linux - General 2 08-21-2006 04:54 AM
Boot parameter - ether= Ironica Linux - Networking 0 06-02-2004 02:25 AM

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

All times are GMT -5. The time now is 12:20 AM.

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