SlackwareThis 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.
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.
I generated my initrd.gz image and had the same error as you. I just ran the wrong command options. OK I can be the only stupid guy out there but your detailed mkinitrd options would help in analyzing your issue.
Last edited by gegechris99; 12-12-2008 at 10:20 AM.
mkinitrd -c -k 2.6.27.7-smp -m jfs
then
mkintrd jfs
then
mkinitrd
All three failed the same way.
samac
Have you tried it without the mkintrd jfs ? Whatever that is for, I've never had to do that. (edit: doh, ignore that question, I see what you're saying now. I misunderstood).
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
I got there just as you were posting. It needed the the -f and -r modifiers to find a jfs filesystem on /dev/sda1
I't not just jfs that needs the root option ( -r ) supplying to mkinitrd. The huge kernel creates a /dev/root symlink to the device the root file system is mounted on. Then mount returns /root/dev / for the root filesystem. This causes a file to be created at /boot/initrd-tree/rootdev containing /dev/root as this was the root filesystem device when the initrd was created. This goes into the initrd. This is because if a root filesystem device is not supplied mkinitrd will use the output of mount to find the root device and mount returns /dev/root as the mounted root filesystem device.
Then when the generic kernel boots it tries to use this entry to mount the root filesystem and fails.
This is a pain as previous versions missing out the -r to mkinitrd was ok. Once you know about it however it's not a problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.