Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Dec 2008 @ Moscow
#1
I'm using N800 with the latest Diablo. Recently I followed the instructions on dual booting and succeded with my 8Gb SDHC. Then I tried the following instructions for SD partitioning and clone system again.
I'm able now to boot from p2 and p3 partitions but never from the logical ones. I can mount all of them and browse though, can read and write, but booting from p5-p7 always fails.
I tried the following
Code:
mknod -m600 initfs/dev/mmcblk0p5 b 254 5 2>/dev/null
but this did not help.
Is it possible to boot from logical partitions?
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#2
Originally Posted by musicfanat View Post
I'm using N800 with the latest Diablo. Recently I followed the instructions on dual booting and succeded with my 8Gb SDHC. Then I tried the following instructions for SD partitioning and clone system again.
I'm able now to boot from p2 and p3 partitions but never from the logical ones. I can mount all of them and browse though, can read and write, but booting from p5-p7 always fails.
I tried the following
Code:
mknod -m600 initfs/dev/mmcblk0p5 b 254 5 2>/dev/null
but this did not help.
Is it possible to boot from logical partitions?
yes it is, if you have some free space you can install gparted-hack and mgmt-tools, it will setup bootmenu/initfs properly for you
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#3
Originally Posted by musicfanat View Post
I tried the following
Code:
mknod -m600 initfs/dev/mmcblk0p5 b 254 5 2>/dev/null
but this did not help.
More details? What you did before and what you did next?

This may only work from second shell when in the middle of reflashing with initfs_flash script and you need to run it from initfs_flasher directory.

You can check whether the command above did the right thing by checking real initfs (after flash and reboot)
Code:
ls -l /mnt/initfs/dev/mmcblk*
If you are on Diablo, you may try to remount initfs read/write and do the change directly there without any messing with initfs flasher.

Code:
mount -o rw,remount /mnt/initfs
mknod -m600 /mnt/initfs/dev/mmcblk0p5 b 254 5
mount -o ro,remount /mnt/initfs

Once you have correct device you also need to have right boot menu entry and healthy filesystem to boot :-)
__________________
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.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#4
Originally Posted by fanoush View Post
More details? What you did before and what you did next?

This may only work from second shell when in the middle of reflashing with initfs_flash script and you need to run it from initfs_flasher directory.

You can check whether the command above did the right thing by checking real initfs (after flash and reboot)
Code:
ls -l /mnt/initfs/dev/mmcblk*
If you are on Diablo, you may try to remount initfs read/write and do the change directly there without any messing with initfs flasher.

Code:
mount -o rw,remount /mnt/initfs
mknod -m600 /mnt/initfs/dev/mmcblk0p5 b 254 5
mount -o ro,remount /mnt/initfs

Once you have correct device you also need to have right boot menu entry and healthy filesystem to boot :-)

Fanoush, would it be possible to have you include the mknod's by default? Or maybe some command line variable. It would also be really nice to have you include a install script also that has a "default" parm or some way to run it without asking any questions. Like ./initfs_flasher default (it would run, backup initfs and enable telnet recovery) Or whatever you think would be best... I have to edit the script each time you update it to remove all the checks. Anyway just a thought
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:22.