Unable to find USB

Post here if you are a new Porteus member and you're looking for some help.
gylla001
White ninja
White ninja
Posts: 5
Joined: 13 Sep 2014, 17:38
Distribution: 3.0
Location: Miami

Unable to find USB

Post#1 by gylla001 » 16 Sep 2014, 16:11

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Unable to find USB

Post#2 by fanthom » 16 Sep 2014, 20:01

hi Hene,

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

thanks
Please add [Solved] to your thread title if the solution was found.

gylla001
White ninja
White ninja
Posts: 5
Joined: 13 Sep 2014, 17:38
Distribution: 3.0
Location: Miami

Re: Unable to find USB

Post#3 by gylla001 » 17 Sep 2014, 02:12


User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Unable to find USB

Post#4 by fanthom » 17 Sep 2014, 02:56

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
Please add [Solved] to your thread title if the solution was found.

donald
Full of knowledge
Full of knowledge
Posts: 2067
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Unable to find USB

Post#5 by donald » 17 Sep 2014, 05:36

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.

gylla001
White ninja
White ninja
Posts: 5
Joined: 13 Sep 2014, 17:38
Distribution: 3.0
Location: Miami

Re: Unable to find USB

Post#6 by gylla001 » 18 Sep 2014, 23:54

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Unable to find USB

Post#7 by brokenman » 19 Sep 2014, 01:50

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

gylla001
White ninja
White ninja
Posts: 5
Joined: 13 Sep 2014, 17:38
Distribution: 3.0
Location: Miami

Re: Unable to find USB

Post#8 by gylla001 » 23 Sep 2014, 14:52

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Unable to find USB

Post#9 by fanthom » 24 Sep 2014, 09:06

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.
Please add [Solved] to your thread title if the solution was found.

gylla001
White ninja
White ninja
Posts: 5
Joined: 13 Sep 2014, 17:38
Distribution: 3.0
Location: Miami

Re: Unable to find USB

Post#10 by gylla001 » 27 Sep 2014, 15:38

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..

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Unable to find USB

Post#11 by francois » 27 Sep 2014, 16:20

@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.
Prendre son temps, profiter de celui qui passe.

Post Reply