Archive for the ‘Debian’ Category.
13th October 2015, 08:15 pm
As I am working on a project which required me to extract a script from an image file which was backup using dd tool.
It is possible to mount the image file on a linux server.
1) you need to scan the image file and see partition
[root@c10 sax]# kpartx -v IPC-2Sep2015.img
loop0p1 : 0 409600 /dev/loop0 2048
loop0p2 : 0 1024000 /dev/loop0 411648
loop0p3 : 0 123621376 /dev/loop0 1435648 |
[root@c10 sax]# kpartx -v IPC-2Sep2015.img
loop0p1 : 0 409600 /dev/loop0 2048
loop0p2 : 0 1024000 /dev/loop0 411648
loop0p3 : 0 123621376 /dev/loop0 1435648
2) add the partitionto the system
[root@c10 sax]# kpartx -a -v IPC-2Sep2015.img
add map loop0p1 (253:3): 0 409600 linear /dev/loop0 2048
add map loop0p2 (253:4): 0 1024000 linear /dev/loop0 411648
add map loop0p3 (253:5): 0 123621376 linear /dev/loop0 1435648 |
[root@c10 sax]# kpartx -a -v IPC-2Sep2015.img
add map loop0p1 (253:3): 0 409600 linear /dev/loop0 2048
add map loop0p2 (253:4): 0 1024000 linear /dev/loop0 411648
add map loop0p3 (253:5): 0 123621376 linear /dev/loop0 1435648
Continue reading ‘Mounting LVM Parition inside an image file’ »
Category:
CentOS,
Debian |
Comments Off on Mounting LVM Parition inside an image file
23rd March 2008, 03:26 am
Tabbed program are popular nowadays as it can save you alot of space if you are running alot of smiliar program and don’t want to waste valuable space in your taskbar.
Recently, I have found a program that has helped me alot as I am always running more than 5 SSH sessions. Check this out.
http://puttycm.free.fr/
Hope this helps someone out there as well 😉
11th January 2008, 01:21 am
Well, today marked the day that I finally have the time to learn Debian, there is alot of things for me to learn now as the platform are current quite different from CentOS 🙂
To find debian version.
cat /etc/debian_version
To install packages
Continue reading ‘Here i come Debian’ »
Category:
Debian |
Comments Off on Here i come Debian