Hi,Nithyananda

why don't try SRPM to compile kernel for moblin.
I had used to do that, it's exactly succeed.
SRPM:

http://repo.moblin.org/moblin/releases/test/alpha1/source/kernel-2.6.29.rc2-13.1.moblin2.src.rpm

*# rpm -ivh kernel-2.6.29.rc2-13.1.moblin2.src.rpm*

*# cd /usr/src/redhat/SPECS*

*# vi kernel.spec*

*%define netbook 1  (add this line)
*

*# rpmbuild -bb --target i586 kernel.spec *

then, change Makefile to modify kernel name (in order to differ from
original version)

make menuconfig.....

finally, steps as usual that you make your kernel install on your system

reboot, you will see your own kernel to boot in.



III (NMI) MEC Moblin Enabling Center
7F., No.133, Sec. 4, Minsheng E. Rd.,
Taipei City 105, Taiwan


2009/3/16 Jeganathan, Nithyananda S <[email protected]>

> Hi.
> This is the first time I'm working with Moblin.
> I got a Moblin installation image for Menlow (CrownBeach platform) with
> ubuntu 8.04, kernel 2.6.24-18/19-lpia and I was able to install the image
> with no problems.
>
> As the distribution came with no source code, I used git to clone a linux
> 2.6.28-rc7 kernel on to the platform and compile the kernel.
> The compilation went through fine and after make install, I found that the
> grub directory did not exist in the /boot.
> I searched the archives and found a link that said that I will have to
> mount the /dev/sda1 on boot.
>
> After the mount, I was able to see the menu.lst file in the /boot/grub/
> directory and I added the following lines to the grub.
>
> title       Ubtuntu 8.04, kernel 2.6.28-rc7
> root      (hd0,0)
> kernel    /vmlinuz-2.6.28-rc7 ro boot=disk resume=/dev/sda3 ht=on
> root=/boot/unionfs
>
>
> I used mkinitramfs to create a new initrd.img file and when I rebooted, but
> the kernel didn't boot with the following error messages:
>
> WARNING: Could not open the directory /lib/modules/2.6.28-rc7
> FATAL: Could not open /lib/modules/2.6.28-rc7/modules.dep.temp No such file
> or directory
>            Exe used greatest stack depth
>
> Begin: Mounting root file system
>
> Begin: Running /scripts/local-top
> Done
>
> Begin: Waiting for root file system ... ...
>
> After this the kernel is just stuck and doesn't boot beyond this.  I have
> installed UNIONFS and SQUASHFS.
> I searched the archives and found similar questions, but having tried all
> the fixes mentioned there I've gotten nowhere so far.
>
> Any help will be appreciated.
> Thanks.
>
>
>
> Regards,
>
> Nithyananda Siva Jeganathan,
>
> Intel Corporation
>
>
>
> _______________________________________________
> Moblin dev Mailing List
> [email protected]
>
> To manage or unsubscribe from this mailing list visit:
> https://lists.moblin.org/mailman/listinfo/dev or your user account on
> http://moblin.org once logged in.
>
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
>
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to