Hi,
I want to boot my device from usb.
What I did is :
- a usb stick with 2partitions : 1st is fat32 and second is ext3
- I put in the first partition autoexec.bat and vmlinux.gz. My autoexec.bat looks like this :
/usb/vmlinux.gz console=null rootdelay=10 root=/dev/sdc2 rootfstype=ext3 rw
- in my dreambox bios I say first boot from usb, second is flash.
- I put in the second partition a complete copy of what I have in my root flash (/dev/mtdblock3)
This works perfectly. although sometimes the box doesn't boot (oled display stays on "/usb/vmlinux.gz"). I think it is related to the "root=/dev/sdc2". In fact, as the stick is usb, I do not really know that the stick will always be /dev/sdc. (as the dvd-rom is internally connected via sata to usb, the CF reader is internally on the USB bus, it can happen that /dev/sdc is sometimes another device instead of my usb stick).
How can I be 100% sure that my file system will be on /dev/sdc (and thus not on /dev/sdd,...) or do I have to specify root=.... (something else) ?
Is this problem also there with CF card ? I guess so as the CF reader is also on internal USB)
Anyone experience with booting from usb with DM8000?