Skip to main content

All Questions

Tagged with
0 votes
1 answer
2k views

Searching for strings in a dd image, extracting data from it

I am trying to recover the contents of a text file that became corrupt following a power outage. The file size is still correct (14 MB), but the text in the lower half of it has been replaced by ...
MaxTexts's user avatar
30 votes
3 answers
159k views

GPT PMBR Size Mismatch will be corrected by w(rite)

Linux gives error "GPT PMBR size mismatch will be corrected by w(rite)." The error message is far from self-explanatory. Does this mean that Linux will (attempt to) resize the GPT partition ...
GeriatricJerry's user avatar
2 votes
1 answer
1k views

Reading a file using LBA addressing

Is it possible to read/execute files/programs using the LBA addressing rather than the file system location? For example can I execute /bin/sh using the LBA sector locations of it obtained using ...
systolicDrake's user avatar
0 votes
1 answer
6k views

How do I determine what is the best block size for a 960 PRO M.2?

I have a Samsung NVMe SSD 960 PRO M.2. I was in the process of installing Gentoo on it. gparted notified me that the physical block size, is different than what the kernel reports. I thought the ...
Herbert Smith's user avatar
0 votes
2 answers
1k views

Partition Hard disk with start sector 1

I have a new Hard Disk which I want to use for NAS drive. The requirement is that the partition as seen in fdisk should be as below. Device Boot Start End Blocks Id System /...
Samir Sogay's user avatar
0 votes
1 answer
5k views

Partitioning an SSD with sfdisk

I have been trying to partition this SSD (Samsung 840) nicely for a while now. I want to make sure the pages line up with the SSD pages to limit the amount of writes. I found this site which ...
hamstar's user avatar
  • 529
13 votes
2 answers
7k views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
Mike's user avatar
  • 1,059
8 votes
2 answers
7k views

NTFS; marking sectors bad using Linux

I have a massive ZFS array on my fileserver. Whenever a disk reports bad sectors to smartmon, I order a replacement, and I shelve the failing one. And by "shelving the failing one", I mean that I ...
DanielSmedegaardBuus's user avatar
5 votes
2 answers
1k views

4k Sectors: Which Drives Don't Lie About Having 512b Sectors and Correctly Report 4k Sectors?

I recently returned a Western Digital WD20EARS drive with 4k sectors (Western Digital refers to this as "advanced format"), because I found out that it lies and reports 512b sectors to the OS, and ...
Kaypro II's user avatar
  • 1,482