FMEM and DD segmentation fault


New Member
Apr 23, 2019
Hi all,

I am trying to acquire a live memory dump from an Ubuntu system. This is what I do:

1. Download fmem tool
2. Compile it with make and run ./sh
3. A /dev/fmem is created

I know this is a special file and I have to specify the size for dd. However, I either end up with a small file or I get a Segmentation Fault error:

The RAM is 2GB size. My commands are:

dd if=/dev/fmem of=./dumpfile.raw count=400
It works but the file is not complete

dd if=/dev/fmem of=./dumpfile.raw bs=1MB count=2000

dd if=/dev/fmem of=./dumpfile.raw count=500
Error: Segmentation fault

The version of fmem is 1.5

On top of that, if I download version 1.6 and run 'make', it gives me compilation errors :(

Any clue?

Thanks in advance!

About us

  • Our community began in 2004. Since this time, we have grown to have over 29,000+ members within the DFIR & Cyber Security community.

    We are happy to announce that this forum is now under new ownership with the goal to once again become the main Digital Forensics Forum on the internet for DFIR, OSINT and Cyber Security.

    If you can think of ways to help us improve, please let us know.

    We pride ourselves on offering unbiased, critical discussion among people of all different backgrounds.

    We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu