OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> How Does Kexecboot Find A Kernel?
BerndS
post Jan 11 2009, 05:40 AM
Post #1





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi

I still do not understand how kexecboot decides which partition to add to the menu

My experience until now:

I installed Angstrom on the internal RAM of my C760, afterwards Ubuntu on my SD Card and then kexecboot. Then I tested kexecboot and it worked fine : I could boot either Angstrom or Ubuntu.

Than I customized my Angstrom and installed missing packages and after that kexecboot did not find the Angstrom on the internal RAM anymore - it only found the Ubuntu on the SD card. Without a SD card kexecboot stops with

Probing /dev/mtdblock0
Probing /dev/mtdblock1
Probing /dev/mtdblock2
Probing /dev/mtdblock3
No bootable device found


So then I installed Anstrom with OPIE on my internal RAM and reinstalled kexecboot . And voila, kexecboot found the Angstrom/OPIE on the internal RAM and I could boot it. Than I customized Angstrom/OPIE and now kexecboot does not find the Angstrom on the internal RAM anymore.

In all cases I did not change the files in the /boot directory ...

Why does kexecboot do not find the Angstrom on the internal RAM?

Update 11.01.09 20:11

Now I reinstalled Angstrom with Opie on the internal RAM and afterwards reinstalled kexecboot. And kexecboot again finds the Angstrom on the internal RAM. But now it does not find the Angstrom/Opie on the SD card anymore (it does find ubuntu and Angstrom with X on the other partitions of the SD card). I do not see a difference between the boot directory in the ram and the boot directory on the SD card (partition 4; a primary partition formated with ext2 if that matters):


root@c7x0:~$ ls -l /boot
-rw-r--r-- 1 root root 23 Oct 31 15:01 image.nfo
-rw-r--r-- 1 root root 68 Oct 31 15:01 kernel-cmdline
lrwxrwxrwx 1 root root 13 Jan 1 1970 zImage -> zImage-2.6.24
-rw-r--r-- 1 root root 1264516 Oct 31 15:00 zImage-2.6.24

root@c7x0:~$ ls -l //media/mmcblk0p4/boot
-rw-r--r-- 1 root root 31 Jan 8 2009 image.nfo
-rw-r--r-- 1 root root 69 Jan 11 2009 kernel-cmdline
lrwxrwxrwx 1 root root 13 Jan 11 2009 zImage -> zImage-2.6.24
-rw-r--r-- 1 root root 1264516 Oct 31 13:58 zImage-2.6.24


root@c7x0:~$ cat /boot/image.nfo
Angstroem Opie 2007.12

root@c7x0:~$ cat /media/mmcblk0p4/boot/image.nfo
Angstroem Opie 2007.12 Develop

root@c7x0:~$ cat /boot/kernel-cmdline
console=ttyS0,115200n8 console=tty1 noinitrd dyntick=enable debug

root@c7x0:~$ cat /media/mmcblk0p4/boot/kernel-cmdline
console=ttyS0,115200n8 console=tty1 noinitrd dyntick=enable debug


regards

Bernd
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st November 2014 - 02:30 AM