Hi, there .
I have a dd img of a CentOS server. I want to mount the image and extract the files for analysis. I have tried am getting errors in CentOS 7 Gnome. Does anyone know a way to do this? I get a loop error... Any other way to see easily an XFS file system.
CentOS img file of server I need to mount to extract filesystem
Re: CentOS img file of server I need to mount to extract filesystem
You'll need to use an offset if you're mounting a single partition from a disk image. What does fdisk -l /path/to/image.img say?
Re: CentOS img file of server I need to mount to extract filesystem
If the disk image has a partition table on it then you need to first use losetup to make that accessible and then kpartx to add mappings for the partitions on /dev/loopX and then you can mount /dev/loopXp1 etc.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke