Menu

#20 Multiboot does not run on Ubuntu 14.10

v1.0_(example)
closed
nobody
None
1
2015-04-10
2015-01-31
No

When running Multiboot as root user in Ubuntu 14.10 I get the following message and multiboot does not start:

sudo multibootusb
Cleaning old multibootusb directory.
Extracting syslinux to multibootusb directory.
7.2.0
7.2.0
/usr/bin/sudo
Could not find a label
Could not find a label
Could not find a label for device /dev/sdb1
Getting drive info from dbus...
Traceback (most recent call last):
File "/usr/bin/multibootusb", line 816, in <module>
window = AppGui()
File "/usr/bin/multibootusb", line 247, in init
self.onComboChange()
File "/usr/bin/multibootusb", line 273, in onComboChange
usb_details = self.get_usb_details()
File "/usr/bin/multibootusb", line 383, in get_usb_details
device_obj = bus.get_object("org.freedesktop.UDisks", "/org/freedesktop/UDisks/devices" + selected_usb_part)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in init
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files</module>

Related

Bugs: #20

Discussion

  • sundar_ima

    sundar_ima - 2015-02-03

    What happens when you run without sudo? Did your USB drive has name/ label?

     
    • Simon Werner

      Simon Werner - 2015-02-03

      When I run without sudo it would ask for root password and then do the same.

      The USB is mounted here: /media/myusername/B2EC-BB81/ (I don't know what
      you mean by "name/ label")

      I don't have Ubuntu 14.10 installed anymore, but now have Ubuntu 14.04. It
      runs now, but I have further problems.

      When I click "Refresh" I get the following issues (but it still works):
      Traceback (most recent call last):
      File "/usr/bin/multibootusb", line 258, in onRefereshClick
      self.onComboChange()
      File "/usr/bin/multibootusb", line 273, in onComboChange
      usb_details = self.get_usb_details()
      File "/usr/bin/multibootusb", line 383, in get_usb_details
      device_obj = bus.get_object("org.freedesktop.UDisks",
      "/org/freedesktop/UDisks/devices" + selected_usb_part)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
      get_object
      follow_name_owner_changes=follow_name_owner_changes)
      File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
      init
      self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
      activate_name_owner
      self.start_service_by_name(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
      start_service_by_name
      'su', (bus_name, flags)))
      File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
      call_blocking
      message, timeout)
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
      The name org.freedesktop.UDisks was not provided by any .service files
      RRIP: rrip_offset 0

      When I click "Create" I get the following issue (and it fails to create the
      bootable USB):
      Traceback (most recent call last):
      File "/usr/bin/multibootusb", line 302, in onCreateClick
      self.create_mbusb()
      File "/usr/bin/multibootusb", line 600, in create_mbusb
      inintial_usb_size = int(psutil.disk_usage(usb_mount)[1])
      File "/usr/lib/python2.7/dist-packages/psutil/init.py", line 1441, in
      disk_usage
      return _psplatform.get_disk_usage(path)
      File "/usr/lib/python2.7/dist-packages/psutil/_psposix.py", line 113, in
      get_disk_usage
      st = os.statvfs(path)
      OSError: [Errno 2] No such file or directory: ''

      Cheers,
      Simon

      On 3 February 2015 at 20:29, sundar_ima multibootusb@users.sf.net wrote:

      What happens when you run without sudo? Did your USB drive has name/ label?

      Status: open
      Group: v1.0_(example)
      Created: Sat Jan 31, 2015 08:19 PM UTC by Simon Werner
      Last Updated: Sat Jan 31, 2015 08:19 PM UTC
      Owner: nobody

      When running Multiboot as root user in Ubuntu 14.10 I get the following
      message and multiboot does not start:

      sudo multibootusb
      Cleaning old multibootusb directory.
      Extracting syslinux to multibootusb directory.
      7.2.0
      7.2.0
      /usr/bin/sudo
      Could not find a label
      Could not find a label
      Could not find a label for device /dev/sdb1
      Getting drive info from dbus...
      Traceback (most recent call last):
      File "/usr/bin/multibootusb", line 816, in <module>
      window = AppGui()
      File "/usr/bin/multibootusb", line 247, in init
      self.onComboChange()
      File "/usr/bin/multibootusb", line 273, in onComboChange
      usb_details = self.get_usb_details()
      File "/usr/bin/multibootusb", line 383, in get_usb_details
      device_obj = bus.get_object("org.freedesktop.UDisks",
      "/org/freedesktop/UDisks/devices" + selected_usb_part)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
      get_object
      follow_name_owner_changes=follow_name_owner_changes)
      File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
      init
      self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
      activate_name_owner
      self.start_service_by_name(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
      start_service_by_name
      'su', (bus_name, flags)))
      File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
      call_blocking
      message, timeout)
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
      The name org.freedesktop.UDisks was not provided by any .service files</module>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/multibootusb/bugs/20/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #20

  • sundar_ima

    sundar_ima - 2015-02-03

    By looking at the mount point, it seems like the problem of usb label as it is mounted with uuid. I am already working on for this issue and will release a new version soon. Meanwhile, you can provide some name to usb disk (using gparted tool) and try again. You feedback is appreciated.

     
    • Simon Werner

      Simon Werner - 2015-02-05

      Thanks naming the partition worked. Have to say, once I got this working,
      it was the simplest to use USB boot loader available for Linux.

      Cheers,
      Simon

      On 4 February 2015 at 05:01, sundar_ima multibootusb@users.sf.net wrote:

      By looking at the mount point, it seems like the problem of usb label as
      it is mounted with uuid. I am already working on for this issue and will
      release a new version soon. Meanwhile, you can provide some name to usb
      disk (using gparted tool) and try again. You feedback is appreciated.


      Status: open
      Group: v1.0_(example)
      Created: Sat Jan 31, 2015 08:19 PM UTC by Simon Werner
      Last Updated: Tue Feb 03, 2015 07:29 AM UTC
      Owner: nobody

      When running Multiboot as root user in Ubuntu 14.10 I get the following
      message and multiboot does not start:

      sudo multibootusb
      Cleaning old multibootusb directory.
      Extracting syslinux to multibootusb directory.
      7.2.0
      7.2.0
      /usr/bin/sudo
      Could not find a label
      Could not find a label
      Could not find a label for device /dev/sdb1
      Getting drive info from dbus...
      Traceback (most recent call last):
      File "/usr/bin/multibootusb", line 816, in <module>
      window = AppGui()
      File "/usr/bin/multibootusb", line 247, in init
      self.onComboChange()
      File "/usr/bin/multibootusb", line 273, in onComboChange
      usb_details = self.get_usb_details()
      File "/usr/bin/multibootusb", line 383, in get_usb_details
      device_obj = bus.get_object("org.freedesktop.UDisks",
      "/org/freedesktop/UDisks/devices" + selected_usb_part)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
      get_object
      follow_name_owner_changes=follow_name_owner_changes)
      File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
      init
      self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
      activate_name_owner
      self.start_service_by_name(bus_name)
      File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
      start_service_by_name
      'su', (bus_name, flags)))
      File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
      call_blocking
      message, timeout)
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
      The name org.freedesktop.UDisks was not provided by any .service files</module>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/multibootusb/bugs/20/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #20

  • sundar_ima

    sundar_ima - 2015-02-10
    • status: open --> closed
     
  • Alexander Karlstad

    Hi,

    I am still having issues with getting the program to start in 14.10. The memory stick in question has a label and isn't mounted by it's UUID either.

    When running from a terminal, I get the following output:

    Using PyUdev for detecting USB drives...
    Using PyUdev for detecting USB details...
    Name of the USB partition is LINUX
    Device mounted.
    syslinux.cfg does not exist for list update.
    Device ststus is /media/alexander/LINUX
    Cleaning old multibootusb directory.
    Extracting syslinux to multibootusb directory...
    Extracting syslinux modules to multibootusb directory...
    /usr/multibootusb/tools/syslinux/syslinux_modules.zip
    Copying persistence data to multibootusb directory.
    Traceback (most recent call last):
      File "/usr/bin/multibootusb", line 348, in <module>
        window = AppGui()
      File "/usr/bin/multibootusb", line 91, in __init__
        gen_fun.prepare_mbusb_dir()
      File "/usr/lib/python2.7/dist-packages/scripts/gen_fun.py", line 145, in prepare_mbusb_dir
        for path, subdirs, files in os.walk(resource_path(os.path.join(home, "tools", "syslinux", "bin"))):
      File "/usr/lib/python2.7/os.py", line 278, in walk
        names = listdir(top)
    TypeError: coercing to Unicode: need string or buffer, NoneType found
    

    I've tried both version 7.4.X and 7.3.X without success so far.

     
  • Alexander Karlstad

    I think I found the problem. In my home folder, I only have .multibootusb/syslinux/bin and not .multibootusb/tools/syslinux/bin. So by altering lines 194 and 197 in /usr/lib/python2.7/dist-packages/scripts/gen_fun.py I was able to get it working.

    The syslinux zip-files in /usr/multibootusb/* doesn't seem to have this "tools" folder either.

    -194: for path, subdirs, files in os.walk(resource_path(os.path.join(home, "tools", "syslinux", "bin"))):
    +194: for path, subdirs, files in os.walk(resource_path(os.path.join(home, "syslinux", "bin"))):
    
    -197: os.system('chmod ' + '+x ' + resource_path(os.path.join(home, "tools", "syslinux", "bin", name)))
    +197: os.system('chmod ' + '+x ' + resource_path(os.path.join(home, "syslinux", "bin", name)))
    
     
  • sundar_ima

    sundar_ima - 2015-04-10

    Sorry for the delay. I could not reproduce this bug. I have released the latest version 7.5.0 and tested in live environment (Ubuntu 14.10). I found no bug as mentioned by you when testing under live environment. Therefore, this bug will remain closed.

     

Log in to post a comment.