From: Eli M. <ma...@ne...> - 2007-12-24 18:08:52
|
Hi, sorry for the silly question, but what is the easiest way to open the file base/morphix under a working system? I want to extract a file from a Morphix ISO to my working Morphix. I mounted the ISO (using loop), and now I don't know how to extract the specific file from the base/morphix file. Thanks! -- Eli Marmor ma...@ne... Netmask (El-Mar) Internet Technologies Ltd. __________________________________________________________ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-5237338 Kfar-Saba 44641, Israel |
From: Brendan S. <bm...@ba...> - 2007-12-24 18:34:33
|
Hi Eli, On 24/12/2007, Eli Marmor wrote: > I want to extract a file from a Morphix ISO to my working Morphix. > I mounted the ISO (using loop), and now I don't know how to extract the > specific file from the base/morphix file. The Manual has an example extract a module and chroot into the mainmodule http://www.morphix.org/doc/how_tos/docbook_html/ar01s07.html#MainModule However to get a file from the morphix base, get the iso in to a new directory:- isomorph --get ISO DIRECTORY http://www.morphix.org/doc/how_tos/all_man_pages/html/ar01s06.html The use module-extractor on the base/morphix file:- http://www.morphix.org/doc/how_tos/all_man_pages/html/ar01s04.html Hope this helps, Brendan |
From: Brendan S. <me...@ba...> - 2007-12-24 18:35:59
|
Hi Eli, On 24/12/2007, Eli Marmor wrote: > I want to extract a file from a Morphix ISO to my working Morphix. > I mounted the ISO (using loop), and now I don't know how to extract the > specific file from the base/morphix file. The Manual has an example extract a module and chroot into the mainmodule http://www.morphix.org/doc/how_tos/docbook_html/ar01s07.html#MainModule However to get a file from the morphix base, get the iso in to a new directory:- isomorph --get ISO DIRECTORY http://www.morphix.org/doc/how_tos/all_man_pages/html/ar01s06.html The use module-extractor on the base/morphix file:- http://www.morphix.org/doc/how_tos/all_man_pages/html/ar01s04.html Hope this helps, Brendan NB Sorry Alex, two messages - Must change sending email address sometime.... |
From: <al...@de...> - 2007-12-24 18:36:14
|
Hi Eli, > sorry for the silly question, but what is the easiest way to open the > file base/morphix under a working system? There's no such thing as a silly question. The easiest way is by adding the morphix repository (see morphix.org/debian) to your system. Then, apt-get update && apt-get install morphing-tools and use module-extractor to extract the base/morphix file (see module-extractor --help for details). You can also use the cloop utilities directly: apt-get install cloop-utils and use extract_compressed_fs to extract the base/morphix file. The result is exactly the same. For further details on morphing, see the howto's on http://www.morphix.org/doc/how_tos/docbook_html and the command-line man-pages on http://www.morphix.org/doc/how_tos/all_man_pages/html cheers, Alex |
From: Eli M. <ma...@ne...> - 2007-12-25 07:29:24
|
Thank you Brenden and Alex! module-extractor didn't work for me (too many error). Instead of trying to work around the problems, I ran extract_compressed_fs directly, and then mounted the ISO, and had the file (r8169.ko). But now I have another problem: My purpose was to upgrade the driver version of RealTek r8169 Ethernet. The extracted driver "disagreed" about version of symbol struct_module, and insmoding it caused "invalid module format". I also have the latest driver from RealTek, but can't compile it, because it requires the kernel source tree, which depends on things that upgrading some of them may damage the system (e.g. new libc). The current driver - sized 32165 bytes (2.6.17-morphix) - works very bad under some hardware configurations. Is there any solution for me, without replacing the entire kernel or libc? Thanks, -- Eli Marmor ma...@ne... Netmask (El-Mar) Internet Technologies Ltd. __________________________________________________________ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-5237338 Kfar-Saba 44641, Israel |
From: <al...@de...> - 2007-12-25 08:07:01
|
Hi Eli, > Is there any solution for me, without replacing the entire kernel or > libc? Did you try the 2.6.22 base-autobuild? (www.morphix.org/autobuilds) Looking at the autotesting-snapshots this base worked at least for morphix-game, so it might be worth a shot if you want a newer version. Simply add your own mainmodule to it. If you want the 2.6.17 kernel source, you can find it in the morphix package repository. You'd best compile the driver against the proper kernel source files, compiling a driver against a different kernel tree tends to be more trouble than it's worth. Even then you might have to force the loading of the module with insmod -f. Good luck! Alex PS. Merry Christmas, Feliz Navidad, Joyeux Noël & Prettige Kerstdagen to all on the list! |