maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Introducing ubiboot N9 (multiboot OS loader) (https://talk.maemo.org/showthread.php?t=89345)

juiceme 2013-03-26 22:28

Re: Introducing ubiboot N9 (multiboot OS loader)
 
The first time you run MOSLO as described in the installation guide, your mmcblk0 will be repartitioned, so that your partition 1 (MyDocs) is split into two parts, and the upper (4G) part is then assigned to partition 4.

It looks a bit weird but it's a valid partition configuration.

If I remember correctly it works without losing your data but to be sure backup your MyDocs before doing that. (if I remember correctly I had to reformat my partition 1 after that...)

After partitioning it will look something like this:

Code:

~ # /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  1632511  1632496  52239872    c  FAT32
                end: (c,h,s) expected (1023,3,16) found (1023,63,32)
/dev/mmcblk0p2    1760512  1891583  131072    4194304  83  Linux
/dev/mmcblk0p3    1891584  1957119  65536    2097152  83  Linux
/dev/mmcblk0p4    1632512  1760511  128000    4096000  83  Linux
                start: (c,h,s) expected (1023,3,16) found (1023,63,32)
                end: (c,h,s) expected (1023,3,16) found (1023,63,32)


explit 2013-03-26 22:45

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1332083)
The first time you run MOSLO as described in the installation guide, your mmcblk0 will be repartitioned, so that your partition 1 (MyDocs) is split into two parts, and the upper (4G) part is then assigned to partition 4.

It looks a bit weird but it's a valid partition configuration.

If I remember correctly it works without losing your data but to be sure backup your MyDocs before doing that. (if I remember correctly I had to reformat my partition 1 after that...)

After partitioning it will look something like this:

Code:

~ # /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  1632511  1632496  52239872    c  FAT32
                end: (c,h,s) expected (1023,3,16) found (1023,63,32)
/dev/mmcblk0p2    1760512  1891583  131072    4194304  83  Linux
/dev/mmcblk0p3    1891584  1957119  65536    2097152  83  Linux
/dev/mmcblk0p4    1632512  1760511  128000    4096000  83  Linux
                start: (c,h,s) expected (1023,3,16) found (1023,63,32)
                end: (c,h,s) expected (1023,3,16) found (1023,63,32)


Thank you juiceme,

So i have to boot to Moslo, connect the N9 with the USB-Cable to PC, check the fdisk -l, if i have the /dev/mmcblk0p4 and than ?

What should i I do with the nemo image.bz2 ?
bzcat to /dev/mmcblk04 ?

Sorry for my dumb questions...

THank You

juiceme 2013-03-27 06:26

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by explit (Post 1332088)
Thank you juiceme,

So i have to boot to Moslo, connect the N9 with the USB-Cable to PC, check the fdisk -l, if i have the /dev/mmcblk0p4 and than ?

What should i I do with the nemo image.bz2 ?
bzcat to /dev/mmcblk04 ?

Sorry for my dumb questions...

THank You

Yes, that's basically it.

You should follow the guide https://wiki.merproject.org/wiki/Nemo/Installing using the part "Dual-boot method" which will not flash your bootloader but just starts up the MOSLO installer.

When your mmcblk0 is repartitioned, it will be exported to your linux PC via USB, then you can just untar the NEMO image to the exported partition. Then, unmount, and if you have already installed ubiboot, just boot it to the Nemo installation.
The defaults in boot.conf already contain reference to the Nemo partition and kernel, if you have not changed them.

When in Nemo, set up 3G or WIFI networking, login to shell and do "zypper ref; zypper dup" as root to get the latest updates. It looks quite slick with the new homescreen layout :)

lpt2007 2013-03-27 15:47

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Can somebody tell me where is correct location to un-tar file "nitdroid_n9_jellybean_alpha5.tar.bz2" if I am using un-changed boot.conf.

coderus 2013-03-27 15:53

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@lpt2007 same with nitdroid instruction ;)

lpt2007 2013-03-27 16:12

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

@lpt2007 same with nitdroid instruction
Thx for help coderus

And where is correct location for kernel file "zImage.pr13" if I am using unchanged boot.conf?

this: "/boot/Harmattan/boot/"
or this "/mnt/2"

coderus 2013-03-27 16:55

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@lpt2007 /boot/zImage.pr13
read instructions lovely!

lpt2007 2013-03-27 17:05

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by coderus (Post 1332268)
@lpt2007 /boot/zImage.pr13
read instructions lovely!

And what about this part of instructions:
Quote:

The filesystem is pre-set to that "/boot/Harmattan" is a link to "/mnt/2" which is
mounted as /dev/mmcblk0p2
This sentence means to me that I must put kernel files in "/mnt/2" or
I got it all wrong.

juiceme 2013-03-27 23:49

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by lpt2007 (Post 1332274)
And what about this part of instructions:

Quote:

The filesystem is pre-set to that "/boot/Harmattan" is a link to "/mnt/2" which is mounted as /dev/mmcblk0p2
This sentence means to me that I must put kernel files in "/mnt/2" or
I got it all wrong.

Well, that just means that on the ubiboot FS you have symlink "/boot/Harmattan --> /mnt/2"
Note that also the target of the link is the "/mnt/2" of the ubiboot FS, not the "/mnt" of your Harmattan root FS.

When (still in ubiboot FS, running the menu...) you do "mount /dev/mmcblk0p2 -t ext4 /mnt/2", what happens is that your Harmattan root FS now appears on the "/mnt/2" of your ubiboot FS.
Now, remember you have the symlink there, the place that your kernels will appear can be resolved to: "/boot/Harmattan/boot/"
This is same as "/boot/" on your Harmattan root FS.

If you are still confused, either just take my word for it or grab a pencil and piece of paper and sketch it out for yourself... :D

caveman 2013-03-28 12:16

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I have been trying a dual boot configuration with harmattan and nemo on my N9 (1603).

I managed to have both systems booting and working, but could never achieve stability in harmattan. I tried the following kernels: bzImage that came with nemo installation (on boot-orig dir), openmode kernel, openmode kernel + l2fix.

The only kernel that allowed me to boot harmattan was the l2fix. However, the system had stability problems, with several reboots in sequence. On the other hand, nemo was rock-solid.

What kernels are you using for harmattan? Is it running stable?


All times are GMT. The time now is 23:04.

vBulletin® Version 3.8.8