Page 1 of 1

Unable to find USB

Posted: 16 Sep 2014, 16:11
by gylla001
Hi there,

I have to run copy2ram in order for me to have see the USB that I have Porteus installed on. I want to edit modules and learn more about navigating but I am unsure to normally mount my USB unless I am in copy2ram mode.

Do I always need to be in copy2ram mode in order to view and edit files on the USB?

Thanks,
Gene

Re: Unable to find USB

Posted: 16 Sep 2014, 20:01
by fanthom
hi Hene,

please run 'psinfo' command -> upload generated report to pastebin.com -> link here

thanks

Re: Unable to find USB

Posted: 17 Sep 2014, 02:12
by gylla001

Re: Unable to find USB

Posted: 17 Sep 2014, 02:56
by fanthom
you have generated the report when copy2ram was used while i need one when the system is run without this cheatcode so i can find what's causing the issue (if there is any).

please recreate failing state and generate the report then.

thanks

Re: Unable to find USB

Posted: 17 Sep 2014, 05:36
by donald
Hi Gene...in normal boot try this
If the usb-flash isn't visible in the File Manager,
navigate into the /mnt Folder and look in the folder with the same name
as your usb drive.(e.g.sdb1)
Try each of them, or open a terminal su to root and type fdisk -l
to find out the correct name.
hope this helped, otherwise do what fanthom said.

Re: Unable to find USB

Posted: 18 Sep 2014, 23:54
by gylla001
Here is the failed state psinfo ---> http://pastebin.com/faEQm79Q

When I run porteus in graphics mode, it seems like a change that I made on the system screwed with it because all the thumbnails are missing, the background is wonky, and even the buttons on the mate desktop are missing. When I go to computer and select the usb disk, the computer replies that it is unable to mount the disk.

Whatever the case, I navigated to the root folder in the command prompt and was able to access the USB. Thanks Donald.

I would like to delete all the changes that were saved onto graphics mode, is that possible by emptying the entire changes folder on /porteus/changes?

Once that is done, I would like to edit the porteus.cfg file. How would I do that? The file itself is read-only even when I am root.

Thanks!

Gene

Re: Unable to find USB

Posted: 19 Sep 2014, 01:50
by brokenman
Your logs show that the device is successfully mounted and no sign of it being unmounted. Perhaps something in your changes has caused your problem.
I have to run copy2ram in order for me to have see the USB that I have Porteus installed on.
Are you referring to seeing it in the file manager? If so then (in this version) only devices that are mounted after you login will show in the file manager shortcut area. All drives should still be accessible under the /mnt/directory.
I would like to delete all the changes that were saved onto graphics mode, is that possible by emptying the entire changes folder on /porteus/changes?
Yes. Remove everything in this folder and also your changes modules at portues/modules/changesXXX.xzm and you will be back to a vanilla install. If you are going to be playing with modules and replacing anything in the base folder then you should definitely boot into copy2ram mode.

The porteus.cfg file should be writable by root at any time. If not then from a root terminal type:

Code: Select all

chown root:root /mnt/sdb1/boot/syslinux/porteus.cfg
chmod 644 /mnt/sdb1/boot/syslinux/porteus.cfg
See how you go after removing changes and editing your porteus.cfg file and report back.

Re: Unable to find USB

Posted: 23 Sep 2014, 14:52
by gylla001
brokenman,

I used gksudo nautilus on another machine to navigate and delete all the files in the /porteus/changes folder and I kept the modules that I wanted.

What I want to do now is point all the changes that I make in copy2ram mode in to /porteus/changes, but I am unsure how to exactly point that. When I navigate to /mnt/sdg1 the folder is empty, and I find all the documents in /media/<nameofmyUSB>

If I add the line, changes=/media/Preserve/porteus/changes, will that in effect save my sessions automatically after each use? Or should I point the pile to /mnt/sdg1/porteus/changes?

Basically, I just want to autosave each session in copy2ram mode.

Thanks for the input,

Gene

Re: Unable to find USB

Posted: 24 Sep 2014, 09:06
by fanthom
I just want to autosave each session in copy2ram mode.
it's enough to add 'changes=' cheatcode to the copy2ram entry in porteus.cfg. please read our documentation how to do this.

Re: Unable to find USB

Posted: 27 Sep 2014, 15:38
by gylla001
My question was, and still sort of is, where is my USB on my system so I can point to it in the cheatcode? Perhaps a little bit of insight into the procedure of mounting drives would aid me in solving this..

Re: Unable to find USB

Posted: 27 Sep 2014, 16:20
by francois
@gylla:
Do I always need to be in copy2ram mode in order to view and edit files on the USB?
You do not need to boot with copy to ram to see the files on the usb, you only have to use the file manager.

Do you have porteus installed on the usb key? Which desktop are you using: kde, xfce, ... ?

If you boot with porteus installed on a usb key, the files should be on /mnt/sdb1 or sdbx. If you do not find it, with terminal you can find the usb partition names by using:
fdisk -l

Please give us this output.