LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-31-2006, 11:16 PM   #1
5n1p3r
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
upgrading kernel error!


help me please this message appear when i tried booting from linux-2.6.16.22

mount: Mounting /dev/hda5 on /mnt failed: No such device or address
ERROR: mount returned error code 1. Trouble ahead
mount: Mounting /dev/hda5 on /mnt failed: Invalid argument
mount: Mounting /dev/hda5 on /mnt failed: Invalid argument
/boot/initrd.gz: exiting
pivot_root: pivot_root: Device or resource or busy
Freeing unused kernel memory: 164k freed
#

i've installed linux-2.6.16.22 from binary but that message appear while system booting and after that message appeared the system stop booting, some of my friend there's must something wrong with fstab, here is my fstab

/dev/hda6 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 0 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/hda1 /mnt/hd/hda1 ntfs uid=0,uid=46 0 0
/dev/hda7 /mnt/hd/hda7 ntfs uid=0,uid=46 0 0
/dev/hda8 /mnt/hd/hda8 ntfs uid=0,uid=46 0 0
/dev/hda9 /mnt/hd/hda9 ntfs uid=0,uid=46 0 0
/dev/hda10 /mnt/hd/hda10 ntfs uid=0,uid=46 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

for information i tried it with Slackware 10.2 on Toshiba L100 notebook and i've been tried it several times with different kernel both of with binary code and source code, i hope someone who expert here can help me, thank before!
 
Old 07-31-2006, 11:21 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
always update your initrd file after installing a new kernel.
Code:
mkinitrd -o /boot/<initrdfile> <newkernelversion>
 
Old 07-31-2006, 11:47 PM   #3
5n1p3r
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
i've been tried as your command but this message appear

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,5)

can you give me an example please how to update an initrd file, here my last command when i tried to upgrade an initrd file

mkinitrd -o /boot/initrd.gz linux-2.6.16.22

help me please!
 
Old 07-31-2006, 11:53 PM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by 5n1p3r
mkinitrd -o /boot/initrd.gz linux-2.6.16.22
should be
Code:
mkinitrd -o /boot/initrd.gz 2.6.16.22
 
Old 08-01-2006, 12:16 AM   #5
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
You may also need to add it to your /etc/lilo.conf file. Are you using reiserfs or ext3 system?
Read the file /boot/README.initrd everything's in there, including examples
Another easy to read article is here, look at the bottom of the page: http://www.madpenguin.org/cms/?m=show&id=4723
If you need help, ask here

Last edited by MannyNix; 08-01-2006 at 12:20 AM.
 
Old 08-01-2006, 04:04 AM   #6
5n1p3r
LQ Newbie
 
Registered: Jul 2006
Posts: 10

Original Poster
Rep: Reputation: 0
i use reiserfs
 
  


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
Error booting after upgrading Kernel scratched Linux - General 10 03-25-2006 03:47 PM
kernel compilation : Error in upgrading 2.4.x to 2.6.x b0nd Slackware 5 09-18-2005 11:38 AM
rpm error after upgrading to kernel 2.6.1 Gramphos Red Hat 6 12-31-2004 04:02 AM
Error in linux upgrading from kernel 2.4.18 to 2.6.7 appas Linux - Software 9 08-20-2004 04:54 AM
Getting some error messages after upgrading kernel... Whitehat Slackware 2 01-04-2004 08:10 AM

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

All times are GMT -5. The time now is 12:22 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