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)

coderus 2013-03-20 16:06

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@TMavica i think there are no type mistakes in scrips and configs :D

TMavica 2013-03-20 16:32

Re: Introducing ubiboot N9 (multiboot OS loader)
 
leave it
I gave up, the device keep booting

coderus 2013-03-20 16:38

Re: Introducing ubiboot N9 (multiboot OS loader)
 
sure. no need in ubiboot, if you can't just install it, set up and use ;)

TMavica 2013-03-20 16:41

Re: Introducing ubiboot N9 (multiboot OS loader)
 
but I can sure all step is no wrong and no error..

rainisto 2013-03-20 16:43

Re: Introducing ubiboot N9 (multiboot OS loader)
 
attaching serial cable to console rx tx pins will ofcourse tell you whats wrong, but thats beyond that most people are willing to do.

rainisto 2013-03-20 20:07

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Just tested this with one of my N950's. but unfortunately that one had ecc memory errors even on mtd5, so no way to make a volume for it.

Would be great to see initramfs or mmcblk version someday.

explit 2013-03-20 22:12

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Cool Thing. After a mtd-5 update I'm able to boot NITDROID with zImage.pr13 and Harmattan with zImage.pr13 and standard openmode Kernel.
I copied both kernels inside /mnt/boot (Without Harmattan or Nemo Folders). and modiefied /etc/boot.conf to point to my kernels inside /boot. Is it a bad idea ?

Maybe anybody can give me a tip for Tripleboot (Harmattan, Nitdroid, Nemo) ?

Has anybody of you have a running tripleboot with the UBIBoot ?

THX guys...

TMavica 2013-03-20 22:38

Can you post out your boot.conf file?

explit 2013-03-20 22:45

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

# Original version is based on the MOSLO kernel & boot OS.
#
G_UBIBOOT_VERSION="0.2.0"

# Enable timeout for the main boot menu. If this is set to 0 then we will wait forever
# for user interaction in the menu... propably not a wise selection.
# If timeout is specified and reached, the default OS & kernel are booted.
#
G_MENU_TIMEOUT=1

# Exported partitions if USB is connected.
# Even if you set this to (none), you can export these manually when you telnet to the device.
# Exporting them all is handy for backup purposes as you can then tar off everything on a partition
# to external computer. Note that windows computers cannot normally mount ext2 partitions...
# This could be thought as a minor security breach, but then again, same thing can always be accomplished
# using flasher and maintanace boot so I do not see this as an additional high risk...
#
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 partition
#G_EXPORTED_PARTITONS="/dev/mmcblk0p3"    # this exports just the home partiton                           
#G_EXPORTED_PARTITONS="/dev/mmcblk0p4"    # this exports just the nemo partition                                         
#G_EXPORTED_PARTITONS=""                  # this turns off partition exporting                           

# Start DHCP server on the USB, to give address for a host for telnet access.                     
# If this is set to 0, you must ifconfig the interface yourself to access the device.             
#                                                                                                 
G_START_DHCP_SERVER=1                                                                             

# Enable telnet server on the device.
# If the USB is connected when the device boots, no menu will be shown and instead you may login
# to the device for maintanance purposes.
# This could be thought as a minor security breach, since no password is required.
# However, same thing can always be accomplished using flasher and maintanace boot so I do not see
# this as an additional high risk...
#
G_START_TELNET_SERVER=1

# Enable SSH server on the device.
# If the USB is connected when the device boots, no menu will be shown and instead you may login                         
# to the device for maintanance purposes.                                                                                 
# This is better than telnet as you need to use the harmattan root password to login to the device.
# Hey, of course you have changed the default password from "rootme" to something else? What, not? hmmm...
# Unfortunately this is not ready yet... I need to rebuild the SSH server to not ***** about missing PAM's...
# ... hence not enabled :)
#
G_START_SSH_SERVER=0

# Now follow the bootable OS'es and kernels on the device, this is the structure of the 2nd level menu.
# Due to screen resolution issues, the maximum length of the kernel label is 30 characters.                 
# Each OS has 6 slots for kernels, but all need not be defined. The G_<osname>_NUM parameter defines
# the number of kernel lines shown on the 2nd level menu.

# Init scripts for different OS'es. Make sure that you have these in place, or else booting will fail.
# Note that you have to escape the forward slashes here as this is a substituting expression in sedscript...
G_HARMATTAN_INITSCRIPT="\/sbin\/preinit_harmattan"
G_NITDROID_INITSCRIPT="\/sbin\/preinit_nitdroid"
G_NEMO_INITSCRIPT="\/sbin\/init"

# Nitdroid kernels
G_NITDROID_NUM=1
G_NITDROID_1_LABEL="E-yes PR 1.3 kernel"
G_NITDROID_1_FILE="/boot/zImage.pr13"
G_NITDROID_2_LABEL=""
G_NITDROID_2_FILE=""
G_NITDROID_3_LABEL=""                                                                                 
G_NITDROID_3_FILE=""                                                                                   
G_NITDROID_4_LABEL=""                                                                                 
G_NITDROID_4_FILE=""                                                                                   
G_NITDROID_5_LABEL=""                                                                                 
G_NITDROID_5_FILE=""                                                                                   
G_NITDROID_6_LABEL=""                                                                                 
G_NITDROID_6_FILE=""                                                                                   

# Harmattan kernels
G_HARMATTAN_NUM=2
G_HARMATTAN_1_LABEL="E-yes PR 1.3 kernel"
G_HARMATTAN_1_FILE="/boot/zImage.pr13"
G_HARMATTAN_2_LABEL="Plain OpenMode kernel"
G_HARMATTAN_2_FILE="/boot/zImage-2.6.32.54-dfl61-20121301"
G_HARMATTAN_3_LABEL=""
G_HARMATTAN_3_FILE=""
G_HARMATTAN_4_LABEL=""                                                                                 
G_HARMATTAN_4_FILE=""                                                                                 
# G_HARMATTAN_5_LABEL="2.6.32.54-dfl61-oma"
# G_HARMATTAN_5_FILE="/boot/Harmattan/boot/zImage-2.6.32.54-dfl61-oma"
# G_HARMATTAN_6_LABEL="2.6.32.54 Nemo backport"
# G_HARMATTAN_6_FILE="/boot/Harmattan/boot/zImage-2.6.32.54-juice_backport"


# Nemo kernels
G_NEMO_NUM=2
G_NEMO_1_LABEL="Latest 2.6.32"
G_NEMO_1_FILE="/boot/Nemo/boot/bzImage"
G_NEMO_2_LABEL="Unstable 3.5.3 SabreTSq"
G_NEMO_2_FILE="/boot/Nemo/altboot/vmlinuz-3.5.3-juice"
G_NEMO_3_LABEL=""
G_NEMO_3_FILE=""
G_NEMO_4_LABEL=""                                                                                     
G_NEMO_4_FILE=""                                                                                       
G_NEMO_5_LABEL=""                                                                                     
G_NEMO_5_FILE=""                                                                                       
G_NEMO_6_LABEL=""                                                                                     
G_NEMO_6_FILE=""                                                                                       

# Default boot kernel
# If timeout is reached before user interaction this is booted
G_DEFAULT_OS="Harmattan"
G_DEFAULT_KERNEL="/boot/zImage-2.6.32.54-dfl61-20121301"


juiceme 2013-03-21 08:37

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

Originally Posted by coderus (Post 1330228)
@juiceme instructions 3. ends with umount. 4. starts with configuring boot.conf. but partition was unmounted :)

Thanks, coderus :D
I will fix that in instructions...


All times are GMT. The time now is 07:14.

vBulletin® Version 3.8.8