Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Refracta2USB doesnt see /dev/sdb1

Ask your questions here.

Refracta2USB doesnt see /dev/sdb1

Postby Migilenik » Tue Aug 26, 2014 2:58 pm

Hey i have problem using refracta2usb on Debian Jessie amd64.

I installed packages live-boot live-config zenity fuseiso pmount hwinfo and refracta2usb from your web repository.
It starts normally, but then fails with this error:
Image

System does see that partition, i even successfully ran
Code: Select all
hans@Intrepid:~$ sudo mkfs.vfat /dev/sdb1
mkfs.fat 3.0.26 (2014-03-07)
hans@Intrepid:~$ sudo blkid
/dev/sdb1: UUID="F227-2A5F" TYPE="vfat"
hans@Intrepid:~$


Any idea what is wrong? Thanks.
Migilenik
 
Posts: 11
Joined: Tue Aug 26, 2014 2:54 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby fsmithred » Tue Aug 26, 2014 9:39 pm

Check the error log. It's in a hidden directory in your home: ~/.refracta2usb/refracta2usb.log
What shows up with 'fdisk -l' and 'blkid -c /dev/null'?

If the answer isn't obvious in the error log, run it in debug mode:
Code: Select all
refracta2usb -d
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby Migilenik » Wed Aug 27, 2014 8:11 am

Hi, i feel stupid, i even could see the problem in terminal.

It looks like problem with zenity package. I will try alternative which dpkg offered to it.

So the log:
Code: Select all
** (zenity:10770): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


The same message shows up in the debug mode.
Migilenik
 
Posts: 11
Joined: Tue Aug 26, 2014 2:54 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby fsmithred » Wed Aug 27, 2014 10:30 am

I'm not sure that's the right error message. Look for 'fdisk -l' in the debug log.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby Migilenik » Wed Aug 27, 2014 10:41 am

It says that /dev/sdb1 is not connected.

But fdisk -l and even blkid do see /dev/sdb1.

When i mount it, refracta2usb fails because "its mounted".
Migilenik
 
Posts: 11
Joined: Tue Aug 26, 2014 2:54 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby fsmithred » Wed Aug 27, 2014 6:14 pm

Could you post the debug log, so I can see the whole thing? It might be too big to post here, but you can put it on http://paste.debian.net/ and post the link here.

It is correct that the script should fail if the usb is mounted. If it gets mounted and then unmounted, you might need to unplug it and then plug it in again. If your desktop automatically mounts drives that you plug in, you'll have to disable that feature first.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby Migilenik » Thu Aug 28, 2014 8:13 pm

There it is. It doesnt say much.
http://paste.debian.net/118078/

The last line is "device /dev/sdb1 is not connected" in czech.

It wasnt mounted.
Migilenik
 
Posts: 11
Joined: Tue Aug 26, 2014 2:54 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby fsmithred » Fri Aug 29, 2014 12:43 am

That looks like the output from the terminal where you started the script. I need to see the error log when you run it in debug mode. (~/.refracta2usb/refracta2usb.log) It will show every command that the script executes, and maybe I can see where it goes wrong.

The error message you're getting (device /dev/sdb1 is not connected) is not coming from refracta2usb, it's coming from one of the commands used in the script.
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby Migilenik » Fri Aug 29, 2014 11:56 am

There is not directory ~/.refracta2usb/.

hans@Intrepid:~$ ls -a | grep refracta
refracta2usb.log

Content of this log is the same like the terminal output i posted last time.
Migilenik
 
Posts: 11
Joined: Tue Aug 26, 2014 2:54 pm

Re: Refracta2USB doesnt see /dev/sdb1

Postby fsmithred » Sat Aug 30, 2014 12:17 pm

What version of refracta2usb are you using??? If it's 0.9.6, your error log should be in /home/hans/.refracta2usb/, and if you're using 0.9.1, there is no error log. When you run it in debug mode, there should be a lot more in the error log, and the lines should start with + or ++.

And are you using zenity, or did you install yad? If using yad, which version is it?

With the usb stick plugged in and not mounted, run the following command as unprivileged user (not root)
Code: Select all
/usr/sbin/hwinfo --usb --short|grep "/dev/sd"
What does it show?
User avatar
fsmithred
 
Posts: 1987
Joined: Wed Mar 09, 2011 9:13 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred