Active Topics

 


Reply
Thread Tools
Posts: 73 | Thanked: 5 times | Joined on Jul 2008
#1
hi, i am sorry to post a repeat post here , i have post a question in here, but that thread list is too long to make my question noticeable, so i create a new thead here.

here i have a question about bootmenu.conf,
i want to boot from internel MM Card, so i set my bootmeu.conf as following, after initfs_flash, it did boot from as i wish( from internel MM Card ,i mean , the MENU_2) , however, i found i lost the entry to boot into internel flash,
does i miss something? how can i set the bootmenu.conf, so as to make the default device is mmc card and also make me could choose to boot to internal flash? thanks!
--------------------------------------------
.........
# menu items
MENU_MIN=2 # first item index

#no need to redefine
#MENU_1_NAME="Internal flash"
#MENU_1_ID="flash"

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 2, ext2"
MENU_3_ID="mmc12"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
[ -d "/sys/block/${EXT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_4_NAME="Power off (when not on charger)"
MENU_4_ID="off"
....
-------------------------------------------------
 
terrencegf's Avatar
Posts: 221 | Thanked: 182 times | Joined on Jul 2007 @ Central Illinois
#2
Originally Posted by douwen View Post
# menu items
MENU_MIN=2 # first item index
This should be MENU_MIN=1. When you set it to "2", you bypassed the "Internal flash" menu item.
 
Posts: 73 | Thanked: 5 times | Joined on Jul 2008
#3
Originally Posted by terrencegf View Post
This should be MENU_MIN=1. When you set it to "2", you bypassed the "Internal flash" menu item.
thanks your reply,
the reason i set MENU_MIN to 2 is that i want the default boot device is my internel MMC card instead of internel Flash.
then, if i set MENU_MIN to 1, how could i make my internel MMC card be the default boot device, and make the internel Flash being the second choice?
 

The Following User Says Thank You to douwen For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#4
as root run
chroot /mnt/initfs cal-tool -R ask:mmc2

BTW, there is README inside initfs_flasher directory.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post:
Reply

Tags
bootmenu


 
Forum Jump


All times are GMT. The time now is 01:23.