View previous topic :: View next topic |
Author |
Message |
Phz n00b

Joined: 21 Feb 2005 Posts: 13
|
Posted: Sun Apr 15, 2007 6:23 am Post subject: *Solved* Alternative to loopback device support in kernel. |
|
|
I have a dedicated unmanaged server which has a kernel without loopback support. I need to mount or extract the contents of an iso file on the server.
I get the following error when trying to mount the iso
Code: |
mount: could not find any device /dev/loop#
|
I know this is because of the kernel missing the support for loopback. However I can not recompile the kernel and reconfigure grub, if I did I would be risking missing something and then the server not booting or not getting eth0 back up. This would leave me unable to fix the system with ssh. Unfortunately I am on an unmanaged plan at the datacenter so free tech support is out of the question.
I am looking for an alternative way to get the raw data out of the iso, or mount the image. Any suggestion is welcome I am open to ideas.
Thanks
P.s.
I am not sure if this post belongs in this category or not. It is somewhat kernel related.
Last edited by Phz on Sun Apr 15, 2007 9:30 am; edited 1 time in total |
|
Back to top |
|
 |
Sadako Advocate


Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Apr 15, 2007 6:35 am Post subject: |
|
|
As long as you have the sources of the kernel you are currently running, then there may be a very simple solution to this;
Configure the kernel with loopback support as a module, compile the kernel, install the modules, and then modprobe the loop module into the running kernel.
You'll need the exact sources of the running kernel, and it might not work, but if even it doesn't it'll simply fail to load,
and no harm should come to your running system (and it should "just work"). _________________ "You have to invite me in" |
|
Back to top |
|
 |
Phz n00b

Joined: 21 Feb 2005 Posts: 13
|
Posted: Sun Apr 15, 2007 6:56 am Post subject: |
|
|
Nice idea...
Update coming soon.
Thank you very much Hopeless
//EDIT
Worked perfectly, for anyone else having this trouble here is what I did.
select loop from menuconfig "Device drivers> Block devices> Loopback device support"
then make modules;make modules_install
then modprobe loop
now I can mount iso files just fine.
Thanks again hopeless. |
|
Back to top |
|
 |
|