Reply
Thread Tools
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#861
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?
__________________
OK

Last edited by Garp; 2013-12-03 at 22:41.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#862
Originally Posted by Garp View Post
Followed this eactly (but of course changed 2 with 3!) and no problems but also no boot!:
Originally Posted by Garp View Post
That p1= Mydocs
p2= Alt_OS
p3= /rootfs
p4= /home
So you have done this on purpose?
As the normal partition layout is as follows:

p1= Mydocs
p2= /rootfs
p4= /home
p4= Alt_OS

If you change partition layouts/assignments you need to change other things too, it is not enough just to switch labels and copy the FS content to differen partition, you need to modify inits and check that everything is mounted and brought up correctly...

Unless you have done this, I am fairly sure this is the reason you are having boot problems

Originally Posted by Garp View Post
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 battery workaround, to get the device boot up to the "ACT_DEAD" state and start charging only works if you have bootable Harmattan installation on your device... but I really suspect you have messed up the partitions so that you cannot boot to Harmattan, right?
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#863
Originally Posted by Garp View Post
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."
This means, you should use ubiboot files from one of my ready-made TAR achives, for example ubiboot-02_0.3.5_301013.tar, you should not take CPIO from one ubiboot version and kernel or configuration from another, for example. All three files must match each other.
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#864
Originally Posted by peterleinchen View Post
Yes, that is really a mess!
Or nicely stacked, as juiceme would say.
Yes, I propably would really say that!


Originally Posted by peterleinchen View Post
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.
@Garp; Your device could be saved from the state it is, yes, even easily I'd say but it does require that somebody who knows how to do that could be there on-site to do it, it is too difficult to do by giving instructions to you how to do it.

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 2 Users Say Thank You to juiceme For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#865
i suggest to Garp to reflash prone with
Code:
flasher -F firmware.bin -F emmc.bin --erase-user-data=secure --no-preserve -f
then flash ubiboot
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
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#866
Originally Posted by juiceme View Post
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.
Have already done please see above #861!: But what to do with Empty op2 etc?
__________________
OK

Last edited by Garp; 2013-12-04 at 07:43.
 

The Following User Says Thank You to Garp For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#867
Originally Posted by coderus View Post
i suggest to Garp to reflash prone with
Code:
flasher -F firmware.bin -F emmc.bin --erase-user-data=secure --no-preserve -f
then flash ubiboot
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
Have you seen my #861? And is your suggestion that I do it once more or?
__________________
OK
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#868
Originally Posted by Garp View Post
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?
Well, now as you see that is really just a cosmetic thing, since you are running Harmattan OK, right?
Even as partiton table type is undefined it is correctly formatted as ext4 and mounted as your root.

If you really want to cange it, you can do so by sfdisk but it is not necessary.

Now, next thing to do is to run the MOSLO partitioner to get the Nemo partition set up again, then install ubiboot and Nemo rootFS.
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#869
Originally Posted by Garp View Post
Have you seen my #861? And is your suggestion that I do it once more or?
No, your system looks good now.
I am reading the postings in order and replying to them, it takes time to catch up so many postings
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#870
Originally Posted by peterleinchen View Post
@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....
@Taixo; It seems to be like peterleinchen says, unless the logs from your /var/log/ubiboot.log are older remains of the previous ubiboot version 0.3.3 you had there, you are still running the old ubiboot kernel.

Your ubiboot.conf, however is from the new version, so might it be possible that you have the nef conf, new CPIO but flashing has failed so you are still running with the old ubiboot kernel.
If that was the case, it sure would cause problems like these.
 

The Following User Says Thank You to juiceme For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:36.