Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Joe Jackman

Member
  • Content Count

    171
  • Joined

  • Last visited

Posts posted by Joe Jackman


  1. 16 hours ago, Moonzy said:

    if you mean a UPS, then what you should look at is the output capacity and uptime for your intended use

    you can also get line-interactive ones where they filter the input voltage to produce a cleaner output

    you can also get ones that can help you shut down/hibernate your PC automatically in the case of power outage, so you can be away and your work wont be lost

     

    though I recommend against a ceiling fan or any non-crucial things to be added to the UPS

    UPS' power dont last for a very long time, unless you buy a high capacity unit (which will cost a lot not only in purchasing cost, but also maintenance as you'll need to swap the batteries every couple years)

    so minimizing the things you plug in would save a lot of costs.

     

    It's generally recommended to only power the minimal of things that is critical on the UPS, like a Desktop PC + monitor, and maybe networking equipment if you need it running during power outage

    and Others, "IPS is Interruptible Power Supply. It has the same components as the UPS except that its Inverter will only turn on when the AC main power is out thus there is interruption during the switching of power from AC to Inverter. While the UPS is continuously running and supplying power to the load by its inverter which is powered by batteries. Only the battery charger stops when the main AC power is out." https://www.quora.com/What-are-those-differences-between-UPS-IPS-and-AVR

    But Ik how this sounds to run ceiling fans taking 250w(or more)  total (4 fans- they are like as old as me-16-20 years), Lights of  100W (total) LED's 
    and the TV (buying a new one), but its actually a necessity. let me explain.

    My sister about 12 years old has autism and while the load shedding is not that bad but a second off electrify freaks her out and she has a habit of watching videos and TV running and we installed a satellite TV connection just for her.
    For my needs, i could use very low powered laptop (run linux on it) those netbooks that runs like 150w 512Mb of ram or something.  and a table fan (about 50W).

    So today i went out to check out my options.
    and others are locals who can put those stuff together.
    what should i do, and yes If my dad wants to run the house (not liking how i planning things to run things at min) then we could just get a generator and UPS for PC and Battery packs for the ISP converters and routers.  (i'll talk to him about this though and not really sure what he is going to side to).
    image.thumb.png.b319c1e8c009696098a2f96d320fef89.png

    so with that in mind, what do i do?
    900VA is like 330.29 USD amd second one well its more than this. 1USD=80Tk.

    image.png


  2. 15 minutes ago, throttlemeister said:

    Yes, anything that is mounted and not explicitly excluded with the --exclude= statement will be included in the tar archive, wether is on an internal disk, external disk, or network. If it is mounted, accessible on the filesystem, it will include it. This can be good, or bad so pay attention to what you need and what you do not need. :)

    i guess so, Honestly the only thing that holding me from nuking windows is valorant and LoL, and a renaming tool called Bulk rename Utility. so idk if this will even be needed but nothing wrng with gaining abit of knowledge.


  3. On 8/19/2020 at 4:28 PM, throttlemeister said:

    Actually, you can (I think).

     

    On your Linux system:

    
    $ sudo su -
    # cd /
    #  tar -cpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys /

     

    Then copy the backup.tar.gz to your windows system. Now, here's the thing I am not entirely sure. I know for a fact you can import this file into a docker container and run it. I also know for a fact you can export a docker container and sideload it as a distribution into WSL2. So my assumption is you can import this directly into WSL2 as well.

     

    gunzip the file so you end up with the file backup.tar (you can also omit the z flag in the tar command above, but you will end up with a huge file to move around)

     

    Then open a CMD window and issue:

    wsl --import "<Your_Distro_Name>" "<Location_to_store_your_Distro>" "PATH/TO/<archive.tar>" --version 2

     

    This _should_ work. If it doesn't, the quick solution would be to import the tar.gz into a new Docker container, en then export it from Docker so you can then import the resulting file into WSL2.

     

    Hope this helps. I have no tested this, but I have used Docker exports to create and sideload my own Slackware distribution for WSL2 that is not available otherwise.

     

     

    slack.png

    also this should back up the home dir right?

     tar -cpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys /

    so my home partition in the exHDD is not a problem here.


  4. On 9/3/2020 at 3:12 PM, throttlemeister said:

    I can actually now confirm above procedure works, as I found it interesting enough to try and test my hypophysis. :)

     

    What I did:

    1) installed Deepin Linux distribution from ISO in a virtual machine. I used Hyper-V, but it can be any or it can be installed on the physical machine.

    2) after installation and initial configuration, dumped the entire system into a tar file like above. Due to the specifics of Deeping I had to include /run and /media in the excluded directories. Make sure you have enoug space to store the file on the location you are saving too. It can get quite big, depending on the size of your system.

    3) ran the WSL --import with the resulting tar file from the previous step

    4) fired up wsl with a fully configured and working version of Deepin Linux 

     

    Including the base install of the system, the whole process took less than 30 minutes to complete. So whether you want a Linux distribution that's not available in the MS Store, you have a VM you want to run in WSL instead or even a complete running system, this is a very quick and easy way to being able to run those inside WSL and not having to dual boot to access or use certain tools/files or have the overhead of a full-blown VM.

     

    Obviously the architecture needs to match. This before anyone tries to dump his Raspberry Pi install into a tar file and attempts to run it in WSL on an x86 PC. :P 

    Bro i am really sorry that i didnt check in LTTf , DUDE this is soo awesome. I really love Linux and main it actually and would prefer over windows anyday. I logged in today just to ask for a laptop under 350$ (linux friendly i mean) and i found another Gem in the Linux community. Love you man, will try this.


  5. 10 hours ago, Sauron said:

    https://www.serverwatch.com/server-tutorials/using-a-physical-hard-drive-with-a-virtualbox-vm.html

     

    If you already have a Linux installation you can literally just point VirtualBox to that hard drive and it will boot.

    my home is in extHDD and root in my SSD(and also windows).. "Warning: Do not attempt to mount or boot the partition that runs the host OS with a VM, as that can lead to severe data corruption. And no matter which drive or partition you want to mount, it's always a good idea to back up any existing data on it before continuing." is it saying i shouldnt mount windows while running windows or u cant mount partition that has another OS on the same drive but on a different partition.

     


  6. 2 minutes ago, vlads_ said:

    It's not advanced, it's just: there are system files (which you can only touch as root) and user files. And chown basically transforms system files into user files. Which solves your problems but it may not necessarily be a good idea... Imagine if any program could modify system32 in Windows :).

    if u can see the other posts, you will get where i am coming from. i have no idea how it happened and now ended up reinstalling the OS though deleting the volume.


  7. 26 minutes ago, vlads_ said:

    A normal Linux installation has a root account (similar to the administrator in Windows) and a number of user accounts. In modern Linux system you can act as root (equivalent to "Run as Administrator..." in Windows) via the sudo command. In this case 

    
    sudo <File Manager Program>

    you can also chown to your unprivileged user account, but I wouldn't recommend it, as it can cause problems.

     

    Your file manager program may have a way to become root without you having to open the command line (or it may not).

     

    Unfortunately, as I don't use PopOS, I can't tell you if it does or what the File Manager Program is called for you to be able to use it like I showed you. Hopefully someone who does can help.

    Yes, thank you for the heads up. i think its best not to dwell on (not so) advance stuff so early.


  8. 17 minutes ago, vlads_ said:

    A normal Linux installation has a root account (similar to the administrator in Windows) and a number of user accounts. In modern Linux system you can act as root (equivalent to "Run as Administrator..." in Windows) via the sudo command. In this case 

    
    sudo <File Manager Program>

    you can also chown to your unprivileged user account, but I wouldn't recommend it, as it can cause problems.

     

    Your file manager program may have a way to become root without you having to open the command line (or it may not).

     

    Unfortunately, as I don't use PopOS, I can't tell you if it does or what the File Manager Program is called for you to be able to use it like I showed you. Hopefully someone who does can help.

    i believe its gnome files, it directs me there so i guess thats itimage.thumb.png.d58572b81bc874e26dd9cb4cee2b2c2c.png


  9. 6 minutes ago, svmlegacy said:

    Owner: root.

     

    If you need to change permissions, you can do so as root with chmod, or change the folder owner as root with chown.

    i need to edit the scripts there so ig i need to change the owner... now how to do it? very noob with linux

     


  10. I had a very corrupt Pen drive i wanted to delete volume and reformat but once i inserted (i just left it in while it was booting up) chrome doesn't open, Firefox says need to quit the running firefox to open.
    Cannot select processes in the gnome system monitor (like it ghosts back to file system, as if someone is constantly clicking file system), POP SHOP cannot look for anything. tried to reinstall by going recovery mode, first time it failed-restart then tried again. it worked but login back in gave me the same issues again(Even the extensions and apps are intact- i thought i needed to reinstall them, did it even do anything?). I have no idea what to do and i cannot do anything or write anything in the \home. NOT EVEN A FKING SCREENSHOT.
    HEEEEEEEEEEEEEEEELP


  11. UPDATE
    Fixed.....

    Just needed to change from full to half duplex, even my ISP have no clue but my connection shows its true package speed when i run at Half duplex now as the port itself is damaged (kinda) i believe it cannot push that many lanes(for full duplex) but windows somehow is able to carry it regardless (i made some changes in the adapter settings to give me stable ping). HOW THE FK I DIDN'T THINK OF THIS BEFORE.

    https://www.garron.me/en/linux/ubuntu-network-speed-duplex-lan.html as to how i did it (i am still a noob but this was fun)
    image.png

×