Active Topics

 


Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#21
you also need to copy sda2 device node to initfs as explained previously, it won't boot without it
__________________
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.
 
Posts: 121 | Thanked: 28 times | Joined on Oct 2007
#22
Originally Posted by fanoush View Post
you also need to copy sda2 device node to initfs as explained previously, it won't boot without it
I get that far but after the flash my beetmenu is all messed up where i can not boot from my MMC card on my n810 .This is what i have so far . But after useing this bootmenu.conf I can not boot from my mmc . Can you or anyone see where my error is ? if i flash initfs without bootmenu.conf it boots my flash and mmc card just fine .I also like to have it boot auto to my mmc card too.


# bootmenu customisation file
#
# included from bootmenu.sh after default menu is defined
# you can change some items or redefine menu completely

# timeout for automatic selection when no key is pressed
# set to -1 for no timeout (not recommended, can drain battery when device reboots unatteded)
MENU_TIMEOUT=30

# IP address for USB networking
USB_IP=192.168.2.103

# dim screen when in menu
#/usr/sbin/dsmetest -l 1

# menu items
MENU_MIN=1 # first item index

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

MENU_2_NAME="Internal MMC, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="mmcblk1p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"

MENU_3_NAME="External MMC card, partition 2, ext3"
MENU_3_ID="mmc12"
MENU_3_DEVICE="mmcblk0p2"
MENU_3_MODULES="mbcache jbd ext3"
MENU_3_FSTYPE="ext3"
MENU_3_FSOPTIONS="noatime" #",data=writeback"

MENU_4_NAME="Power off (when not on charger)"
MENU_4_ID="off"

MENU_5_USBMODE=host
MENU_5_NAME="External USB HDD"
MENU_5_ID="usb2"
MENU_5_DEVICE="sda2"
MENU_5_MODULES="g_ether mbcache jbd ext3"
MENU_5_FSTYPE="ext3"
MENU_5_FSOPTIONS="noatime"

#last item index, change if you add/remove items
MENU_MAX=5


cp bootmenu.conf.n8x0.example bootmenu.conf


Thanks


computerfreek
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#23
1.did you have ext2 or ext3 on the usb drive?

Change /Add if you have ext2:

MENU_5_USBMODE=host
MENU_5_NAME="External USB HDD"
MENU_5_ID="usb2"
MENU_5_DEVICE="sda2"
MENU_5_MODULES="g_ether mbcache jbd ext2"
MENU_5_FSTYPE="ext2"
MENU_5_FSOPTIONS="noatime"

2. did you change bootmenu.sh with sleep 7?
 
Posts: 121 | Thanked: 28 times | Joined on Oct 2007
#24
Originally Posted by nhanquy View Post
1.did you have ext2 or ext3 on the usb drive?

Change /Add if you have ext2:

MENU_5_USBMODE=host
MENU_5_NAME="External USB HDD"
MENU_5_ID="usb2"
MENU_5_DEVICE="sda2"
MENU_5_MODULES="g_ether mbcache jbd ext2"
MENU_5_FSTYPE="ext2"
MENU_5_FSOPTIONS="noatime"

2. did you change bootmenu.sh with sleep 7?
ext3 ! and i also added sleep to bootmenu.sh . I get this part but

bootmenu.conf.n8x0.example is messing me up as if i use this + add the new "USB hard drive "host" menu 5 to the menu . I then can not BOOT to my mmc card on my n810. Can some one look over my menu and see why after useing the bootmenu.conf.n8x0.example or my own menu i can not boot to mmc it fails . but if I flash with defaults and no bootmenu.conf i can boot just fine to my mmc.

At this pont i just need someone to give me a menu in this order

Intarnal flash
mmc2 ? n810 partition 2 of my mmc card
USB harddrive "host mode"

And have it auto boot after time out to mmc card .


Thank for you help and geting back to me on this..

Computerfreek
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#25
what you used to edit the file? you need plain text editor like vi,mcedit,leafpad and line endings should be unix (so no notepad or wordpad on Windows)
__________________
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.
 
Posts: 121 | Thanked: 28 times | Joined on Oct 2007
#26
I used VI to edit all files . The menu is fine .. it just will not boot to my mmc card where the default menu is fine .
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#27
Originally Posted by computerfreek View Post
I used VI to edit all files . The menu is fine .. it just will not boot to my mmc card where the default menu is fine .
Look at your bootmenu.conf, I think you have a modified copy from an older version of bootmenu.conf.n8x0.example.

You need to download a newer version of initfs_flasher.

Mine look like these:
Attached Files
File Type: txt bootmenu.conf.txt (2.3 KB, 290 views)
File Type: txt bootmenu.sh.txt (7.9 KB, 323 views)
 
Posts: 121 | Thanked: 28 times | Joined on Oct 2007
#28
I downloaded it from here http://fanoush.wz.cz/maemo/ So i am gessing it is upto date here.

I will redownload and start over from step 1 and see if it works using the menu's you have here .


Thanks for your help
computerfreek
 
Posts: 121 | Thanked: 28 times | Joined on Oct 2007
#29
UPDATE !! It works now !!

I started over from Step 1 and deleted all initfs_flasher stuff then i redownloaded it and untar it.

2 I used the boot menu's you sent "thanks"

3 reflashed with new boot menu's

4 Stoped at SSH install .. and copy over sda2

4 chmod the sda2 that i copy over

5 let init_flash go the rest of the way..

6 very happy it booted from usb !! ext3

Thanks Guys for all your help this is great way of playing around as i have meny drive images of my mmc card .. with older os on it.

Thank you !!

computerfreek
 
Reply

Tags
bootmenu, external, harddrive, solved, usb


 
Forum Jump


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