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.
|
|
08-01-2006, 12:16 AM
|
#1
|
LQ Newbie
Registered: Jul 2006
Posts: 10
Rep:
|
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!
|
|
|
08-01-2006, 12:21 AM
|
#2
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
always update your initrd file after installing a new kernel.
Code:
mkinitrd -o /boot/<initrdfile> <newkernelversion>
|
|
|
08-01-2006, 12:47 AM
|
#3
|
LQ Newbie
Registered: Jul 2006
Posts: 10
Original Poster
Rep:
|
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!
|
|
|
08-01-2006, 12:53 AM
|
#4
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
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
|
|
|
08-01-2006, 01:16 AM
|
#5
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 467
Rep:
|
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 01:20 AM.
|
|
|
08-01-2006, 05:04 AM
|
#6
|
LQ Newbie
Registered: Jul 2006
Posts: 10
Original Poster
Rep:
|
i use reiserfs
|
|
|
All times are GMT -5. The time now is 10:02 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
|
|