Re: Booting from a flash card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Frantisek,
Am Saturday 18 July 2009 22:38:06 schrieb Frantisek Dufka:
> Rainer Dorsch wrote:
> > What does not work though is to make the internal flash card (internal
> > mmc) the default boot device with
> >
> > chroot /mnt/initfs cal-tool --set-root-device ask:immc2
>
> So what happens when the menu is shown? First item (Internal flash) is
> preselected and you can boot from internal mmc by selecting it by hand?

Correct.

> If yes, what is the id of that internal mmc boot item (printed on the
> top - booting from <itemid> ....)?

It says "Booting from mmc (mmcblk0p2 ext2)"

> Maybe it is not immc2 but something else? In that case you need to
> replace immc2 in ask:immc2 by something else.

At least this has an effect :-) Default is now external MMC card (instead of 
internal one which I wanted to have :-(

I think I have to understand bootmenu.conf and bootmenu.sh better. I think 
they are not consistent on my setup, which might cause the problems (?)

E.g. in bootmenu.sh it says

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="immc2"
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}

MENU_3_NAME="External MMC card, partition 2, ext2"
MENU_3_ID="mmc2"
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}

while in bootmenu.conf I have

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}

#MENU_3_NAME="Internal MMC card, partition 3, ext2"
#MENU_3_ID="mmc3"
#MENU_3_DEVICE="${INT_CARD}p3"
#MENU_3_MODULES="mbcache ext2"
#MENU_3_FSTYPE="ext2"
#MENU_3_FSOPTIONS="noatime"
#[ -d "/sys/block/${INT_CARD}/${MENU_3_DEVICE}" ] || 
MENU_3_NAME="(${MENU_3_NAME



Thanks,
Rainer
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux