Bug 27218
Summary: | mkinitrd error, All of your loopback devices are in use! | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | kithanas |
Component: | mkinitrd | Assignee: | Matt Wilson <msw> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | abartlet |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-08-14 21:44:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
kithanas
2001-02-12 22:26:30 UTC
It upgraded your kernel, so 2.2.16-22 isn't there anymore. Since it isn't there is no loop module to insert, so you can't make an initrd. I understand that. How do I go about correcting this? That was my main concern. If you have an install CD, you can boot off of that in 'rescue' mode, and then make an initrd. I attempted to create initrd after booting into rescue mode from CD and mounting /boot. However, mkinitrd does not appear to exist in /sbin folder used by rescue mode. I attempted to mount the system's root drive under /system. I then attempted to use /system/sbin/mkinitrd but received the error: "No such file or directory" How am I supposed to create the initrd in this situation? It may be complaining that it doesnt know where your /etc/fstab is. It uses /etc/fstab as the default if one is not given. Try adding the extra argument --fstab=/system/etc/fstab and see if that helps. I am wondering, could the kernel RPM be told to 'modprobe loop' just before it gets upgraded? As in the unfortunate case where the sys-admin forgets the special case of -i for kernel upgrades, this would at least allow the generation of initrds. Perhaps this could also be automated. I understand the reluctance to take the next logical step and actualy install the kernel in lilo, but at least getting the sysadmin that far would make things *very* convenient. I've just had the same problem, i had it because i wasn't root on the file system, and only root is able to handle that. (of course, you need to have support for loop devices) That errormsg is a little confusing, that's all error message added for case where user isnt' logged in as root Another similar case is where you (not RH default, but a scheme I like) mount /tmp as tmpfs. Becouse you can't do loopback on tmpfs (I assume becouse loop requires block backing) it all fails rather miserably. A better error message could be useful - but this one might be a little harder to detect. |