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 »
Q&A

Post History

50%
+0 −0
Q&A 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 ...

1 answer  ·  posted 4mo ago by Andreas witnessed the end of the world today‭  ·  edited 3mo ago by matthewsnyder‭

Question PopOS
#2: Post edited by user avatar matthewsnyder‭ · 2024-08-16T05:21:26Z (3 months ago)
Clarify vs. installing to disk when in live USB
  • 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?
#1: Initial revision by user avatar Andreas witnessed the end of the world today‭ · 2024-07-18T21:46:35Z (4 months ago)
Run program on the disk when using an OS from a USB stick
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?