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)

Garp 2013-12-04 07:59

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

Originally Posted by juiceme (Post 1392409)
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 :)

OK I see, Thanks for your help:): But above ? was to @coderus #865:)

peterleinchen 2013-12-04 08:45

Re: Introducing ubiboot N9 (multiboot OS loader)
 
So many postings, and nothing to add... ;)

@garp
I have also no idea why your p2 shows empty, but as juiceme already said it is no problem at all (and could be easily fixed with sfdisk).
I have this back to back in suspicion. Could you give us in detail and exactly the steps you made?

Garp 2013-12-04 10:35

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

Originally Posted by peterleinchen (Post 1392429)
So many postings, and nothing to add... ;)

@garp
I have also no idea why your p2 shows empty, but as juiceme already said it is no problem at all (and could be easily fixed with sfdisk).
I have this back to back in suspicion. Could you give us in detail and exactly the steps you made?

Thanks, maybe it was no problem but now I'm caught again after run
sudo flasher -k usr/share/moslo/zImage-moslo -n usr/share/moslo/initrd-moslo -l -b
FATAL: Re-partitioning failed! You might be in trouble!
Try to repair in Gparted and by fdisk!
Do you know how to mount the partitions again?

coderus 2013-12-04 10:53

dont use moslo. do repartition manually with GParted.

michaelmhk 2013-12-04 11:06

Re: Introducing ubiboot N9 (multiboot OS loader)
 
fyi: https://wiki.merproject.org/wiki/Nem..._in_trouble.21
Just noticed ubiboot repair/maintanance mode can used with gparted, but gparted said limit of 4 primary partitions (MBR ?) How to create more partition?
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  1504543  1504528  48144896    c  W95 FAT32 (LBA)
/dev/mmcblk0p2    1760512  1891583  131072    4194304  83  Linux
/dev/mmcblk0p3    1891584  1957119  65536    2097152  83  Linux
/dev/mmcblk0p4    1632512  1760511  128000    4096000  83  Linux

Disk /dev/dm-0: 0 cylinders, 0 heads, 0 sectors/track

already reserved space for new partition

juiceme 2013-12-04 11:22

Re: Introducing ubiboot N9 (multiboot OS loader)
 
You need to delete one primary partition and create a new extended partition in its place. Then, create the rest of the partitions inside it.

peterleinchen 2013-12-04 12:00

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Here is my partition layout (to be seen as example):
Code:

~ $ /sbin/sfdisk  -l /dev/mmcblk0

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  1236223  1236208  39558656    c  W95 FAT32 (LBA)
/dev/mmcblk0p2    1760512  1891583  131072    4194304  83  Linux
/dev/mmcblk0p3    1891584  1957119  65536    2097152  83  Linux
/dev/mmcblk0p4    1367296  1760511  393216  12582912  85  Linux extended
/dev/mmcblk0p5    1367296+ 1498367  131072-  4194303+  83  Linux
/dev/mmcblk0p6    1498368+ 1629439  131072-  4194303+  83  Linux
/dev/mmcblk0p7    1629440+ 1760511  131072-  4194303+  83  Linux
~ $ /sbin/sfdisk  -d /dev/mmcblk0
# partition table of /dev/mmcblk0
unit: sectors

/dev/mmcblk0p1 : start=    1024, size= 79117312, Id= c
/dev/mmcblk0p2 : start=112672768, size=  8388608, Id=83
/dev/mmcblk0p3 : start=121061376, size=  4194304, Id=83
/dev/mmcblk0p4 : start= 87506944, size= 25165824, Id=85
/dev/mmcblk0p5 : start= 87506945, size=  8388607, Id=83
/dev/mmcblk0p6 : start= 95895553, size=  8388607, Id=83
/dev/mmcblk0p7 : start=104284161, size=  8388607, Id=83

NB: p1 is shrunk by 16GB, p4 is just a container (extended) for p5/p6/p7, also note that I left a 4GB spare between p1 and p4
Done manually on device.

michaelmhk 2013-12-04 12:22

Re: Introducing ubiboot N9 (multiboot OS loader)
 
How to load boot menu or specific OS when connect to computer via telent?
I always connect and disconnect the usb now:(

mcbook 2013-12-04 13:52

You don't...

This is a feature if ubiboot!

Why would you want to start with USB connected if not for maintenance mode?

Garp 2013-12-04 15:28

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

Originally Posted by michaelmhk (Post 1392510)
How to load boot menu or specific OS when connect to computer via telent?
I always connect and disconnect the usb now:(

Run this in Ubuntu terminal: sudo flasher -k zImage_2.6.32.54-ubiboot-02_301013 -l -b


All times are GMT. The time now is 21:51.

vBulletin® Version 3.8.8