Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Introducing ubiboot N9 (multiboot OS loader)

    Reply
    Page 89 of 140 | Prev | 79   87     88   89   90     91   99 | Next | Last
    juiceme | # 881 | 2013-12-04, 15:41 | Report

    Originally Posted by mcbook View Post
    You don't...

    This is a feature if ubiboot!

    Why would you want to start with USB connected if not for maintenance mode?
    Actually, there is a way to do it
    Just start the menuscript manually when you are in telnet/ssh session;

    This command will launch the menu and when selection is done, reboot automatically to the selected OS: "/boot/menu/select_and_boot_os.sh"

    This command will launch the menu and load up the kernel, but not boot device (so you can tweak the scripts, launch it again, etc...) : "/boot/menu/select_os_animated.sh"

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to juiceme For This Useful Post:
    michaelmhk, script.ninja

     
    mcbook | # 882 | 2013-12-04, 15:45 | Report

    Oh, well...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    script.ninja | # 883 | 2013-12-04, 15:55 | Report

    Originally Posted by juiceme View Post
    Originally Posted by mcbook View Post
    You don't...

    This is a feature if ubiboot!

    Why would you want to start with USB connected if not for maintenance mode?
    Actually, there is a way to do it
    Just start the menuscript manually when you are in telnet/ssh session;

    This command will launch the menu and when selection is done, reboot automatically to the selected OS: "/boot/menu/select_and_boot_os.sh"

    This command will launch the menu and load up the kernel, but not boot device (so you can tweak the scripts, launch it again, etc...) : "/boot/menu/select_os_animated.sh"
    ...This may be exactly what I was looking for...

    Because to answer mcbook: In my case, I'm trying to recover fro a flat battery, and I keep getting the ubiboot menu instead of the computer recognizing there's something to flash.

    Based on one of the things I read about it somewhere, I think I'd be having an easier time with this if I'd ever actually gotten anything besides Harmattan configured correctly before I stopped playing with it last...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    peterleinchen | # 884 | 2013-12-04, 16:12 | Report

    But this sounds more like a (flashing) driver problem. You are on Windows, right?
    I have one laptop where I need to plug it in several times. And also to the extent that the N9 was not detected also. Plugging it in to another works always.
    So what are you using?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 885 | 2013-12-04, 16:34 | Report

    Originally Posted by script.ninja View Post
    I'm trying to recover fro a flat battery, and I keep getting the ubiboot menu instead of the computer recognizing there's something to flash.
    If the device is in power-OFF state and you connect it to computer, before it wakes up NOLO will check for flasher connection, and if it exists then flasher gets priority. If this does not happen there are 2 possibilities:

    1.) Your flasher is not getting access to the USB port
    2.) Your device is not in real power-off mode

    For problem 1, you need to fix your PC
    For problem 2, you might want to try to press and hold the N9 power button for about 30 seconds or until flasher notices that the device is connected when you plug it in.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mcbook | # 886 | 2013-12-04, 16:36 | Report

    Have you tried to run flasher -i and then connect and just let it charge for a while...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaelmhk | # 887 | 2013-12-04, 16:55 | Report

    Originally Posted by juiceme View Post
    Actually, there is a way to do it
    Just start the menuscript manually when you are in telnet/ssh session;

    This command will launch the menu and when selection is done, reboot automatically to the selected OS: "/boot/menu/select_and_boot_os.sh"

    This command will launch the menu and load up the kernel, but not boot device (so you can tweak the scripts, launch it again, etc...) : "/boot/menu/select_os_animated.sh"
    After I select harmattan/nemo, the screen show:
    Boot OS/kernel selection failed!
    Please run a maintenance boot
    Code:
    / # /boot/menu/select_and_boot_os.sh 
    /boot/menu/select_and_boot_os.sh: line 84: try_to_mount: not found
    /boot/menu/select_and_boot_os.sh: line 84: can't create /mnt/1//boot/ubiboot.log: nonexistent directory
    /boot/menu/select_and_boot_os.sh: line 84: can't create /mnt/1//boot/ubiboot.log: nonexistent directory
    /boot/menu/select_and_boot_os.sh: line 84: can't create /mnt/1//boot/ubiboot.dmesg: nonexistent directory
    /boot/menu/select_and_boot_os.sh: line 84: can't create /mnt/1//boot/ubiboot.dmesg: nonexistent directory
    /boot/menu/select_and_boot_os.sh: line 84: can't create /mnt/1//boot/ubiboot.dmesg: nonexistent directory
    umount: can't umount /mnt/1: Invalid argument
    boot fine when run the sh again and disconnect the usb.
    I have not mount any partition or umount them all.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 888 | 2013-12-04, 18:46 | Report

    Originally Posted by michaelmhk View Post
    boot fine when run the sh again and disconnect the usb.
    I have not mount any partition or umount them all.
    I forgot to say that

    The scripts assume that all your partitions are mounted under /mnt/1, /mnt/2, /mnt/3, ... etc
    When init calls the script, partitions are mounted so. When you are in maintanance console, your partitions are exported via USB, and thus not mounted.

    Before calling the scripts, you need to fo the following;
    echo "" > /sys/devices/platform/musb_hdrc/gadget/lun0/file
    mount /dev/mmcblk0p1 /mnt/1
    mount /dev/mmcblk0p2 /mnt/2
    mount /dev/mmcblk0p3 /mnt/3
    mount /dev/mmcblk0p4 /mnt/4
    # (and also the rest of partitions, if you have more...)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to juiceme For This Useful Post:
    michaelmhk

     
    Garp | # 889 | 2013-12-04, 21:08 | Report

    Hi, up running with Ubiboot at last
    Gparted made it, creating Alt_os for Nemo

    Thanks for all the help received at this place:

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Garp For This Useful Post:
    juiceme, peterleinchen

     
    taixzo | # 890 | 2013-12-05, 05:04 | Report

    Originally Posted by juiceme View Post
    @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.
    Thanks! It turned out I forgot to flash the new kernel. I flashed it and now I can boot again.

    Edit: But I can only boot Harmattan. If I try to boot Android, Nemo or Firefox OS, the screen just goes black and stays that way.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by taixzo; 2013-12-05 at 05:13.
    The Following User Says Thank You to taixzo For This Useful Post:
    juiceme

     
    Page 89 of 140 | Prev | 79   87     88   89   90     91   99 | Next | Last
vBulletin® Version 3.8.8
Normal Logout