USB Flash Drive Partitioning [closed] - partitioning

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 21 days ago.
Improve this question
I've searched Google for hours, but I can't find the answer anywhere.
I have an 8GB flash drive, and I want to install Chromium OS on it.
However, I would only need about 4GB of storage for Chromium OS. Allocating the other 4GB of space for Chromium OS seems like a waste to me.
I wanted to know if it was possible for me to partition the flash drive into two 4GB partitions, with one partition being the bootable Chromium OS and the other being a normal FAT32 file system.
If this is possible, can any of you kindly point me in the right direction as to how to accomplish this?
I run Ubuntu Linux 11.04 x86_64, but I can boot into my Windows 7 partition if needed.
Any help would be appreciated!
Thanks!

It is indeed possible to re-partition a flash drive. If you are already running Linux, you should be able to delete the existing partition table and create a new one using fdisk. I have done this on several occasions, although I have never tried it on a drive that large.
You can read more about partitioning with fdisk here. Remember that you have to run fdisk on the raw device (not on a partition), and that you must unmount any filesystems on the drive prior to re-partitioning it. For example, you would use fdisk /dev/sdb, not fdisk /dev/sdb1. Once you're created your partitions, you can create a filesystem using mkfs and then mount them with mount.
One warning, though. Windows will treat the flash drive as if it has a single partition (I believe it only sees the first one). Linux will see all partitions. I'm not sure how Chromium would handle this, but be aware that different OSes may not support it.

Related

Use Google Cloud Functions to ssh[keys] into VM [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Is it possible to use Google Cloud Functions to ssh into a on-prem vm?
specifically can I give the Cloud Functions a private key to use?
I am thinking of running a timer job that will get data from a vm not in GCP with a python script.
is it possible?
is there a reason i shouldn't do this?
I have not been able to test this because I don't have access to GCP yet and I have not been able to find any documentation that mentions this. I do realize Functions might not be able to do this which is why I am curious if anyone has tried this in the past.
From the best of my knowledge - it is possible. Your code in the cloud function - just an ordinary code. If you use python, for example, you can use 'requests' or 'paramico' or 'pysftp' or any other library. No (to be precise - very little) restrictions.
You can use a private key for that purpose. I would suggest to store the private key in the Secret Manager, so it is retrieved in the runtime (you need to write code for that retrieval).
Be aware, however, that the cloud function are restricted by maximum 2Gb of memory (shared between RAM and 'fake' local drive, so you can use '/tmp' directory as if you have a local drive); and restricted by 540 seconds (9 minutes) timeout. Thus you need to 'push' all you would like to do into those boundaries.
In addition, access to an external IP address might be whitelisted by the external party. You may need to use some additional network configuration so that all 'calls' from your function are originated from one dedicated IP address. That is possible as well.
For a timer - you may use a Cloud Scheduler, which can send a message into a Pub/Sub topic according to your cron timetable. The cloud function is to be on the other side of the Pub/Sub.

Is there a way to restore deleted chrome cache files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Suppose the cache files have been deleted by pressing shift+ctrl+delete on chrome. the files starting with f_* are removed and the data_* files data_0, data_1... are reduced. So we can not use chrome cache viewer because the files are away. I tried with commercial and free undelete softwares (easeus, recuva, puran, activeundelete) they find the deleted f_ and data_ files but when i recover them and use with nirsoft google chrome cace viewer, i see corrupted results. I need both the urls and the files in the cache before delete operation. Is there any other way? DNS cache is not an option, computer has been reset. google my activity will not help because it only contains the visited urls (history), but the external urls visitied by the first url.
#benchpresser : -"yes you still have an opportunity get your cache files back. i did this before"(As you said chance of getting the files currupted is more but still if you use power data recocvery its the best option to find files with small size..dont use easeUS in this case then..and still you having the chance of getting the uincode of files you lost you can have a try in that way too.)
Requirements
1.Data recovery tool (Power-data recovery, EaseUS Data Recovery etc)
2.OS:- Windows
Step 1. Select the disk storage location where you want to recover from Google Chrome cache files and click "Scan".
Step 2.Data Recovery will start a scan first. After the scan completes, a deep scan will automatically launch in order to find more files.
Step 3. Choose the file(s) you want to recover by file types from the scanning results. Click "Recover" button to recover the selected files. Here you should save all the recovered files on a different drive or memory card in case of data recovery failure.
i hope this will help
You can't restore cleared cache, history or cookies if DNS cache has been cleared. Unfortunately, I believe you are out of luck.

Reload Icecast2 config without stopping ongoing stream? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm currently working on making an Icecast2 server with multiple users. At some points, I will have to reload the configuration file, but I don't want to disrupt any currently ongoing streams. Is this possible?
Use that command:
/etc/init.d/icecast2 reload
This will not disrupt any currently ongoing streams.
But, in my experience, not all configuration changes will be applied, using that command. For example, I could succesfully update the <mount></mount> list (add new mount points), but in order to update some other settings, like <burst-size> I needed to restart the Icecast server completely using:
/etc/init.d/icecast2 restart
Icecast will reload its configuration on SIGHUP on all Unix/Linux systems. (For Windows reloading it will be possible starting with 2.5 through web interface)
Please note, that you should ensure that the configuration file is valid.
You might also want to have a look at URL authentication and default mountpoints in version 2.4.1
http://icecast.org/docs/icecast-2.4.1/auth.html#url
It allows you to offload many aspects to a back end system.
I know this is old but I've just discovered something that is a bit flawed with regards to reload config files...
/etc/init.d/icecast2 reload
...will indeed reload your config file without breaking the audio stream, and it will also update the mount points, but what it doesn't do is cut off anybody that was connected to a previously existing mount point still using an old password.
I have a situation where I'm generating a different icecast config file for each live dj.
/live is the mount point in the the config and this never changes, but the password does every time I reload the config file.
If a previous dj is connected using password1 on /live and then the new config is loaded changing the password of /live to password2, it won't automatically disconnect the previous dj still using password1.
The only way to do it is by...
/etc/init.d/icecast2 restart
... which as I'm sure you're all aware is horrible as it introduces a 1 -2 second break in the audio stream while it restarts.
I know this is an old thread, but the command "/etc/init.d/icecast2 restart" did not produce a break in the audio for me using icecast 2.4.4. Perhaps this was an improvement made since last year when this discussion was happening. Also, my server has a very light load (only me listening at the moment) so I'm sure your mileage may vary if you have to restart a heavily loaded server.

Will it matter VNC or RDC is used for remote desktop of full screen Chrome? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I haven been trying to understand the difference between VNC and RDP. My understanding is the VNC more or less just transmits a picture of the desktop. RDP however has more of a semantic understanding of what is happening on the desktop and transmits how to render certain types of windows, buttons, etc. (I don't know how relevant this is unless people are using Windows Presentation Foundation or something similar though...)
So it seems that RDP is a much more efficient protocol.
However, my primary use case will be for monitoring a desktop that has Chrome browser full screen. In this case, will RDP be doing the same thing as VNC would and transmitting the contents of the Chrome browser?
I think you are mostly right that RDP handles vector graphics, while vnc is mainly screen image based.
Another difference is RDP informs clients when changes occur, while VNC server waits for clients to request the screen updates. This also makes RDP more efficient.
However, as users want more and more of the same experience as the remote computer, RDP nowadays seldom send vector graphics, i.e., RDP pretty much also send screen image diffs. The reason RDP is still faster is because Microsoft has built-in drivers inside Windows to detect display changes while VNC uses workaround to do that, you can imagine Microsoft does much better job in this. So even both protocols send the same image, Microsoft is much more efficient. As a matter of fact, no Windows remoting software is as efficient as RDP (I know Citrix's ICA, let's put it under same RDP category).
If you plan to remotely use Chrome for videos, you mway feel disappointed by RDP, as it's slow unless you turn on RemoteFX, but it's only available from Windows 2008 servers (I am not sure if Windows 8 supports it, though).
So my suggestion, use RDP whenever possible.
I think you are getting confused by relating RDP and VNC with chrome. VNC (Virtual Network Computing) relates to various remote support tools like Ultra VNC, Real VNC, logmeinrescue, gosupportnow, GoToMyPC etc. and RDP means remote desktop access, remote desktop protocol, Microsoft remote desktop software etc. There are various meanings associated with RDP and VNC. It is a very detailed topic discussion of which requires lot of time.

Which open source, extensible, potentially easy to use issue-tracker? redmine, trac, bugzilla, mantis, RT? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Looking for an issue tracker for a medium-sized web application open project with a distributed team. We are planning to run this on our own server. It must be very easy for new users to submit new issues, and it must integrate well with other software.
Our major requirements, in descending order of importance:
open source
capable of very new-user-friendly bug submit
submitting new issue must be as easy as possible, with only a single screen to fill out (after registration), and few fields visible (e.g. just "summary" and "description" would be good)
Google Code is an example of the sort of interface we like; Bugzilla's Bugzilla instance (https://bugzilla.mozilla.org/enter_bug.cgi) is an example of the sort of new bug submit interface that we would NOT like
it's fine if the default submit interface is not new-user-friendly as long as this is easily modifiable using templates/skins. It would be great to have an "advanced view" for bug editing with additional fields (such as who the issue is assigned to), in addition to the simple view for new user bug submission
has API; or, supports other applications concurrently accessing its db backend (we want to query and modify the issues from other, separate software running on another server)
Other desirable criteria, in descending order of importance:
not frustrating in daily use
has a relatively large community
integrates well with hg (mercurial)
amenable to integration with external:
support desk/request tracking software
project management software
auth systems (and/or supports OpenID login)
modular; if we modify the issue tracker, we want to release those improvements as a module that is easy for others to install
amenable to having some sort of simple, easy-to-use issue importance voting system, e.g. stars on Google code; we intend create or modify such a component to plugin to our own external voting system
amenable to integration with SugarCRM
When I say "amenable to", I mean that we are willing to code an extension to the issue tracker ourselves if necessary, however, the issue tracker's architecture should be amenable to that sort of extension.
Issue trackers which also include support desk or project management features are a plus provided that we can choose to integrate external software instead of using the included stuff. We don't need another wiki (we already have one that we like).
According to Google searches (see the comments), the most popular open source issue trackers are trac, bugzilla, mantis, RT (and possibly Launchpad's). I've also included Redmine because I've never seen a recent comparison between any of these issue trackers and Redmine in which someone had something bad to say about Redmine, and on polls Redmine sometimes beats these others. Feel free to suggest others (bearing in mind that one of the criteria is "relatively large community").
There are undoubtedly multiple good issue trackers out there; many of those listed above claim to be extensible and integrable with other software. What would be most helpful would be direct comparisons between issue trackers by people who have used more than one.
How do these compare to each other on extensibility, integratability, and skinnability?
If you have used more than one of these, which of them would you recommend, and which others have you used?
Which of these are already integrated with a large number of auth systems/support desk systems/etc?
Comments explaining why a particular popular open-source issue tracker (especially one of those listed above) is NOT suitable for our situation are very welcome; this will save me time.
thanks!
Redmine. Been using for a while. Simply excellent.