• 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: July 7th, 2023

help-circle









  • /dev/sda is the whole raw disk - you typically don’t want to directly interact with /dev/sda, unless you are partitioning or overwriting it. There are a few layers between that device and the files:

    • raw disk - /dev/sda
    • disk partition - /dev/sda1
    • luks container - when unlocked, mapped to /dev/mapper/{name}
    • ext4 filesystem inside the luks container, mounted somewhere like /mnt, /media, etc

    You’ll need to find where that ext4 filesystem is mounted, and run the chown command on that. You can run lsblkand see a tree of the above hierarchy, with the ext4 filesystem’s mountpount shown in the right-hand column.


  • mlfh@lemmy.mltoMemes@lemmy.mlcatharsis
    link
    fedilink
    arrow-up
    43
    arrow-down
    5
    ·
    2 months ago

    Nikita Khrushchev, in his own memoir, stating clearly that the USSR could not have won the war on its own:

    I would like to express my candid opinion about Stalin’s views on whether the Red Army and the Soviet Union could have coped with Nazi Germany and survived the war without aid from the United States and Britain. First, I would like to tell about some remarks Stalin made and repeated several times when we were “discussing freely” among ourselves. He stated bluntly that if the United States had not helped us, we would not have won the war. If we had had to fight Nazi Germany one on one, we could not have stood up against Germany’s pressure, and we would have lost the war. No one ever discussed this subject officially, and I don’t think Stalin left any written evidence of his opinion, but I will state here that several times in conversations with me he noted that these were the actual circumstances. He never made a special point of holding a conversation on the subject, but when we were engaged in some kind of relaxed conversation, going over international questions of the past and present, and when we would return to the subject of the path we had traveled during the war, that is what he said. When I listened to his remarks, I was fully in agreement with him, and today I am even more so.

    -Khrushchev, Nikita Sergeevich; Khrushchev, Serge (2004). Memoirs of Nikita Khrushchev: Commissar, 1918–1945. Penn State Press. pp. 638–639.







  • Sorry, all of the linux stuff is just specific to my own preferences/environment - if you’re more familiar with windows it would be best to just use that for testing. Presumably it will come with windows installed?

    If so, put some programs on a normal usb storage device and then install/run them from there.

    As for the rest:

    1. When you first turn the laptop on, at the red Lenovo splash screen, press Enter repeatedly to get into the boot menu. Once there, it’ll give you a list of options with associated keys to access them - go to “BIOS Setup - F10” (or something similar, not sure of the specifics on the X1C 6th gen). If it prompts you for a password to enter that, it’s locked.

    2. To test all the ports, plug your usb stick with the apps on it into each of the usb ports and make sure it shows up in explorer; try the same with an sd card if you have one; plug in to a wired ethernet connection and make sure you have internet access through it (disable wifi at the same time to make sure); plug headphones into the jack and make sure they work; plug into an hdmi display if you have one.

    3. To check battery health, run Command Prompt with administrator privileges, then run powercfg /batteryreport to generate a battery health report

    Good luck!


  • Personally I’d do the following:

    • boot into the bios config menu to make sure it’s unlocked (if it’s locked and they don’t have the password that’d be a dealbreaker for me)
    • boot into a live linux environment from usb and test both batteries, keyboard, trackpoint/trackpad, speakers, microphone, wifi, and all external ports (T480 has 2 usb-c, 2 usb-a, ethernet, hdmi, headset, and sd - make sure batteries charge well from both usb-c ports)
    • to check the storage health, install nvme-cli if not installed, run nvme smart-log /dev/nvme0 and check the “percentage_used” value: if it’s near 100% it might die and need replacement soon
    • to check that the vents, airflow, and cooling hardware are in good shape, install stress if not installed, run stress -c 7 to load up 7 of the 8 available cpu threads, make sure the fan spins up good and strong, and watch /sys/class/thermal/thermal_zone0/temp to make sure the cpu temperature stays under ~90-95 degrees

    On my own time later, I’d run memtest86+ overnight from bootable usb to check the memory, then install tlp and run tlp recalibrate with the laptop on the charger to recalibrate the batteries

    Edit: enjoy the new laptop! I hope it works great for you