View previous topic :: View next topic |
Author |
Message |
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Mon May 29, 2006 7:08 am Post subject: Gnap problems... |
|
|
Hi all!
I've been experimenting a bit with GNAP. Installing a 'default' image on a CF works fine, and boots like a charm. For that I use:
Code: | gnap_overlay -d /dev/sda1 -r hdc1 -o /gnap/overlay1/ |
(The CF is seen in my desktop as sda, but the Nexnet unit sees it as hdc).
But... Then I try to use a different kernel, remastering with the following commands:
Code: | genkernel --kerneldir=/usr/src/linux-2.6.16-rt23 --menuconfig --minkernpackage=/gnap/kernel.tar.bz2 --modulespackage=/gnap/modules.tar.bz2 --no-install --module-prefix=/gnap/overlay1_modules all
gnap_remaster -k /gnap/kernel.tar.bz2 -m /gnap/modules.tar.bz2 -o /gnap/mynewcore.tar
gnap_overlay -d /dev/sda1 -g /gnap/mynewcore.tar -r hdc1 -m -o /gnap/overlay1/ |
This boots partially, and ends with a Kernel Panic. The error message I get is:
Code: | mount: Mounting /newroot/mnt/image.sfs on /newroot/mnt/livecd failed: No such device |
(there's a bunch of other errors, but those seem to be caused by this first error)
Anyone here who know where I messed up? _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 29, 2006 5:53 pm Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on Alternative Architectures. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Canska n00b
Joined: 08 Jun 2006 Posts: 2
|
Posted: Thu Jun 08, 2006 5:15 pm Post subject: |
|
|
I'm not sure whats going wrong, but I'm getting similar behaviour.
I'm using gnap-2.0, gnap-dev-2.0, and gnap-ext-2.0. The entire build process was error free. During boot the error I get is:
Code: | >> Mounting squashfs filesystem
mount: Mounting /newroot/mnt/image.sfs on /newroot/mnt/livecd failed: Invalid argument |
|
|
Back to top |
|
|
Canska n00b
Joined: 08 Jun 2006 Posts: 2
|
Posted: Mon Jun 12, 2006 7:06 pm Post subject: |
|
|
I think it may be related to squashfs-tools on the build machine.
I downgraded from sys-fs/squashfs-tools-3.0 to sys-fs/squashfs-tools-2.2_p2 and ran gnap_remaster again, then gnap_overlay'd to my compact flash (CF) card and it booted perfectly.
Please let me know if that works for you! |
|
Back to top |
|
|
|