• oozynozh@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 hours ago
    1. boot something like Hirenz via USB
    2. mount the device Windows MBR maps as C:
    3. extract the rarball onto the mount point
    4. reboot
    5. learn not to dumbass, dumbass
    • smeenz@lemmy.nz
      link
      fedilink
      English
      arrow-up
      2
      ·
      47 minutes ago

      Does winrar store ntfs attributes and security settings? If not, then simply uncompressing the files to their original location may not result in a working OS, especially if the registry wasn’t backed up because winrar couldn’t access it

    • iocase@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 hour ago

      I think what’s funniest to me is he was very close to recreating a real windows feature. You actually can “compress files to save space” under options, and apply it to all child files and folders. This is not the way to do it though lmao

      • smeenz@lemmy.nz
        link
        fedilink
        English
        arrow-up
        3
        ·
        46 minutes ago

        Of course any disk space you save by doing that is exchanged for performance and time.

  • ThePuy@feddit.nl
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    I know I’m stating the obvious but I need to say it. It’s so funny to me that even if he succeeded in what he wants to do (unpack from the BIOS?) He’d have the space taken only when the computer was booted, so effectively he’d be unable to use all the freed space.

    • infiniteCAD@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      no clue why u would he the person. but beyond that, the person could mean extract in ram (which equally stupid and most likely not viable but eh)

    • carpelbridgesyndrome@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      1
      ·
      edit-2
      11 hours ago

      These two would beg to differ:

      C:\Windows\EFI\bootmgr.efi

      C:\Windows\System32\ntoskrnl.exe

      The first is generally copied to the EFI partition but the second isn’t. The second one contains all Windows Executive services so good luck booting without it. The windows folder also contains explorer, which is need if you want a graphical desktop, and most drivers.

      • EatMyPixelDust@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Who said anything about being without them? It was only stated the windows folder was added to a RAR archive. Compressing files into an archive doesn’t remove them, it just creates compressed copies.

  • atomicbocks@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    ·
    21 hours ago

    This was something I actually used to do with my one gigabyte hard drive in my Windows 95 machine. Though turning on drive compression through Windows would cause the machine to be soooo fucking sloooooow.

    • infiniteCAD@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      i think u mean using the built-in compression. this mf using external software to create an out of boot file windows.rar and deleting the original. which can never work

    • Everyday0764@lemmy.zip
      link
      fedilink
      English
      arrow-up
      9
      ·
      14 hours ago

      there are some filesysstems that do exactly this, I use btrfs with compression enabled for example.

    • gandalf_der_12te@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      17
      ·
      17 hours ago

      yeah but it doesn’t make much sense

      what’s actually taking up disk space are images and video, and those are already compressed. you cannot compress already compressed data again, it just won’t reduce the filesize. so there’s no point compressing everything, because where it matters, it doesn’t do anything, and where it doesn’t matter, it makes things slow and adds complexity, which is an additional failure point.

    • Scarlet0952@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      39
      ·
      24 hours ago

      Some filesystems (like btrfs and ZFS) support comression on the filesystem level, where each block is compressed with some algorithm automatically, completely transparently to applications.

      Most modern CPUs are fast enough at the light levels of compression that is used, that usually its also faster, because you read less data, and the read + decompress time is often lower than how long it would have taken to just read more data; though of course that depends on what data exactly, but overal its often faster (though usually its not by a very significant amount) for most average uses.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      17 hours ago

      In short, yes. Windows has a checkbox in the settings somewhere (I think the partition manager? I can’t remember now) to enable compression on a given partition, so you can in effect enable filesystem compression on the C: drive. Through the command line you can also compress individual directories with different compression algorithms and I had incredible luck compressing game files with LZX compression with some games compressing down by 3 or 4 times (these were notably games with 100s of gigabytes of user-generated assets. More normal games only saw around a 20-40% reduction in storage space usage, which isn’t bad at all)

      Outside of Windows there’s popular filesystems like zfs and btrfs which support filesystem compression and general encourage it by default because the speed of (de-)compression after reading from disk is almost always faster than just reading the uncompressed data from the disk directly

    • Wirlocke@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      I know the opposite can be done because I did it just recently.

      I have a nearing 10 year old set up from when it still made sense to have a 200gb SSD with a 2tb HDD for games. This hard drive is absolutely struggling with these massive games like Baldur’s Gate 3 and Cyberpunk (and Baldur’s Gate 3 has the annoying habit of not waiting for assets to finish loading before playing a cutscene).

      I used this thing called bcache to take a 100gb partition of my SSD to automatically cache the most frequented files from the HDD. Even though Baldur’s Gate 3 is 120gbs (which I don’t think it needs to be, I think it’s poorly optimized) it was still enough to mostly get rid of any loading issues.

      To make this relevant to your question, you could get a massive cheap but slow hard drive or even an external drive and use something like bcache to get the performance of your internal SSD.