|
2013-12-04
, 07:18
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#862
|
Followed this eactly (but of course changed 2 with 3!) and no problems but also no boot!:
Could it be a reason to boot not function? (Gparted it seems OK no red marks etc) But what re Ubiboot.conf etc? It must give problems here I think!
Have had a lot of problems with partitions also tried to run ext4 on p1 due to this http://talk.maemo.org/showthread.php?t=90687
But end up total flash --no-preserve and thougt problems were solved, but....(and it seems that the 4GB limit on rootfs is broken)??
NB. @ peter leinchen The battery work around don't function at my N9 -tried nearly 10 times!
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-12-04
, 07:25
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#863
|
Ubiboot.config seems to have a problem due to my partition mess. What will happen if I change so:
G_EXPORTED_PARTITONS="/dev/mmcblk0" # This exports all partitons of the device
#G_EXPORTED_PARTITONS="/dev/mmcblk0p1" # this exports just the Mydocs partiton
#G_EXPORTED_PARTITONS="/dev/mmcblk0p2" # this exports just the root (nemo) partition
#G_EXPORTED_PARTITONS="/dev/mmcblk0p3" # this exports just the home (root) partiton
#G_EXPORTED_PARTITONS="/dev/mmcblk0p4" # this exports just the nemo (home) partition
#G_EXPORTED_PARTITONS="/dev/mmcblk0p5" # some people have more than 4 partitions
#G_EXPORTED_PARTITONS="/dev/mmcblk0p6" # some people have more than 5 partitions
#G_EXPORTED_PARTITONS="/dev/mmcblk0p7" # this is the last supported partition I guess
#G_EXPORTED_PARTITONS="" # this turns off partition exporting
And then change partitions number due to that in the section stating with:
# The first OS is usually Nitdroid.
# This section lists the Nitdroid specific switches and kernels
G_OS1_NUM=3
G_OS1_AUTOBOOT=0
G_OS1_PARTITION=2 (to 3 for Harmattan and Firefox too.)
And the Nemo now 4 to 2
But what about : "It's important that the versions of the kernel, config and cpio are compatible or else you will run into no end of trouble."
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-12-04
, 07:30
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#864
|
Yes, that is really a mess!
Or nicely stacked, as juiceme would say.
You somehow managed to shift roots and home from p2/3 to p3/4.
Your approach above editing ubiboot.conf may work (for sure this is the reason why kernels are not found), as it searches on harmattan rootfs (i.e. /dev/mmcblk0p2) boot folder. But due to your partition layout they reside on /dev/mmcblk0p4.
I suggest you do a reflash --no-preserve and start all over.
But before you should try editing ubiboot.conf as stated above.
And you will end up with a system having the home partition not mounted (would need editing at least /etc/fstab). Juiceme may tell more here.
The Following 2 Users Say Thank You to juiceme For This Useful Post: | ||
|
2013-12-04
, 07:31
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#865
|
flasher -F firmware.bin -F emmc.bin --erase-user-data=secure --no-preserve -f
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2013-12-04
, 07:34
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#866
|
Yes, I propably would really say that!
Unless you have very valuable data with no backups of it, I suggest doing as peterleinchen says, reflash with --no-preserve option and then do everything from start.
The Following User Says Thank You to Garp For This Useful Post: | ||
|
2013-12-04
, 07:40
|
Posts: 697 |
Thanked: 137 times |
Joined on Jul 2012
@ Hillerød, DK
|
#867
|
i suggest to Garp to reflash prone withthen flash ubibootCode:flasher -F firmware.bin -F emmc.bin --erase-user-data=secure --no-preserve -f
connect to Ubuntu
make repartition with GParted manyally by cropping first partition and creating new primary 4GB partition for Nemo
unpack nemo image by tar, dont use filemanager
copy kernels, configs, preinits edit configs, if need
boot and use Nemo
|
2013-12-04
, 07:42
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#868
|
OK now made full flash --no-preserve then Back-to-back flash due to @juiceme and now in zImage_2.6.32.54-openmode_l2fix
# /sbin/sfdisk -l
Disk /dev/mmcblk0: 1957120 cylinders, 4 heads,16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 16 1760511 1760496 56335872 c W95 FAT32 (LBA)
/dev/mmcblk0p2 1760512 1891583 1310724194304 0 Empty
/dev/mmcblk0p3 1891584 1957119 655362097152 83 Linux
/dev/mmcblk0p4 0 - 0 0 0 Empty
Disk /dev/dm-0: 0 cylinders, 0 heads, 0 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/dm-0: unrecognized partition table type
No partitions found
~ #
How to solve that problems with 0p2 etc?
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-12-04
, 07:43
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#869
|
The Following User Says Thank You to juiceme For This Useful Post: | ||
|
2013-12-04
, 07:49
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#870
|
@taixzo
Just looking at log file I do see you do not have latest version of ubiboot. Log says 0.3.3 but current version is 0.3.5.
So best guess is you haxe mixed setup.
Try again by getting latest ubiboot kernel and latest cpio. Put cpio to MyDocs/boot and flash the kernel.
-- oops, and ubiboot.conf of course needs to be latest version (please use newest version and adapt to your setup)
You may also wait for juiceme as he is much much better reading his log files....
The Following User Says Thank You to juiceme For This Useful Post: | ||
# /sbin/sfdisk -l
Disk /dev/mmcblk0: 1957120 cylinders, 4 heads,16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 16 1760511 1760496 56335872 c W95 FAT32 (LBA)
/dev/mmcblk0p2 1760512 1891583 1310724194304 0 Empty
/dev/mmcblk0p3 1891584 1957119 655362097152 83 Linux
/dev/mmcblk0p4 0 - 0 0 0 Empty
Disk /dev/dm-0: 0 cylinders, 0 heads, 0 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/dm-0: unrecognized partition table type
No partitions found
~ #
How to solve that problems with 0p2 etc?
OK
Last edited by Garp; 2013-12-03 at 22:41.