devsda

All posts tagged devsda by Linux Bash
  • Posted on
    Featured Image
    The article discusses how to work safely with raw disk devices like `/dev/sda` in Linux. It emphasizes the importance of using commands such as `lsblk` and `fdisk -l` to correctly identify devices, ensuring that no mounted filesystems are involved before writing. It also provides a script that includes several safety checks and requires root access, which uses `dd` for data writing and offers progress status. The guide is aimed at preventing data corruption and loss by advocating for strict verification and backup procedures.