Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Review Suggested Edit

You can't approve or reject suggested edits because you haven't yet earned the Edit Posts ability.

Approved.
This suggested edit was approved and applied to the post 3 months ago by ArtOfCode‭.

47 / 255
  • Run program on the disk when using an OS from a USB stick
  • Run programs of normal OS from a live USB
I am experiencing hardware or software problems that I cannot explain, or find a solution for. As part of the troubleshooting process, I have now arrived at running an older version of the OS from a USB stick, and attempting to run the failing applications in this environment. However, I am not sure how to actually run the applications that are stored on the disk. 

I always run these from the GUI launcher, so I located the ".desktop" file for one of them, opened it in _Text Editor_, and found a line starting with "Exec=". I then copied this command, and pasted it into the Terminal. For instance, with Steam:
```
>> /usr/games/steam steam://open/games
bash: /usr/games/steam: No such file or directory
```
That fails because the path goes to the USB, not the disk, so I located the mounting folder for the disk, and prefixed the path with that:
```
>> /media/pop-os/<\some-uuid\>/usr/games/steam
  %  Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
  0      0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: repo.steampowered.com
```
Aha, that fails. Not sure why, so I try another application:
```
>> /media/pop-os/<\some-uuid\>/usr/bin/winetricks --gui
winetricks GUI enabled, using Zenity 3.42.1
------------------------------------------------------
warning: wineserver not found!
------------------------------------------------------
```

So, how do I actually run programs stored on the disk, when the OS is on the USB stick?

Suggested 4 months ago by matthewsnyder‭