Displaying 12 results from an estimated 12 matches for "adrelanos".
2013 Nov 22
3
Read MBR and store in a file?
...d the MBR of an image and to store it inside a file?
(If you want to know what I really want to do:
Creating a report on all contents of an vm image. [1] [2] Create the
image on two different machines, compare them and see, that there are
no important differences besides temporary files.)
Cheers,
adrelanos
[1] https://github.com/Whonix/Whonix/issues/113
[2] https://github.com/Whonix/Whonix/blob/master/release/analyze_image
2013 Nov 22
5
Auditing a vm image - virt-diff - was: Read MBR and store in a file?
...else?
If these have been compared, the compared image should be as safe to use
as the original one?
(I could imagine that there can be extra data outside filesystem, maybe
in regions outside the partition table, but those data shouldn't get
executed after starting the image in a VM.)
Cheers,
adrelanos
2013 Nov 22
0
Re: Auditing a vm image - virt-diff - was: Read MBR and store in a file?
...ta question: I think you got the
essential non-file-system data. I can imagine data fragments from
past/shrunken file systems, or hidden-data regions that fall outside what's
recorded in the partition table. My imagination runs dry there, though.
--Alex
On Fri, Nov 22, 2013 at 12:56 PM, adrelanos <adrelanos@riseup.net> wrote:
> Thank you all for your suggestions!
>
> Richard W.M. Jones:
> > I keep meaning to write a comprehensive "virt-diff" tool. I needed it
> > myself just yesterday.
>
> Most interesting. I guess there are two reasons for creat...
2016 Jul 07
2
[Bug 1078] New: please provide a firewall scripts drop-in folder
...r
Product: iptables
Version: unspecified
Hardware: other
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: unknown
Assignee: netfilter-buglog at lists.netfilter.org
Reporter: adrelanos at riseup.net
### feature request
Please provide a firewall scripts drop-in folder.
I.e. please provide a folder such as
`/usr/share/netfilter-persistent/plugins.d` where one can drop arbitrary
scripts which will be executed early enough during the boot process in lexical
order when the netfilte...
2012 Aug 24
1
Does libvirt abstract each and any vm specific command?
...MNAME" --natdnspassdomain1 off
I haven't found any mention of synthcpu, GetHostTimeDisabled, etc. on
libvirt.org.
Does libvirt abstract each any any vm specific command? Or only the most
common ones? So, if I say, I really need the commands listed above, I
can't use libvirt?
Cheers,
adrelanos
2013 Nov 22
0
Re: Read MBR and store in a file?
On Fri, Nov 22, 2013 at 01:58:24PM +0000, adrelanos wrote:
> Hi!
>
> Is it possible to read the MBR of an image and to store it inside a file?
Yes, easily :-)
guestfish --ro -a disk.img run : pread-device /dev/sda 512 0 > mbr
This will work for any format of disk. Of course for a raw format
disk this is just a slower way of readin...
2013 Dec 04
1
dump VBR of a VM image's partition
Hi,
can you tell me please, how to dump the volume boot record of a VM
image's partition?
Cheers,
adrelanos
2013 Dec 14
1
Convert bootable raw hdd image to bootable iso?
Hi,
is it possible to convert a bootable raw hdd image including grub
(originally created with grml-debootstrap) to a bootable iso somehow?
Cheers,
adrelanos
2013 Nov 22
1
Re: Read MBR and store in a file?
what about just using dd?
dd if=disk.img of=mbr bs=512b count=1
On Fri, 2013-11-22 at 16:24 +0000, Richard W.M. Jones wrote:
> On Fri, Nov 22, 2013 at 01:58:24PM +0000, adrelanos wrote:
> > Hi!
> >
> > Is it possible to read the MBR of an image and to store it inside a file?
>
> Yes, easily :-)
>
> guestfish --ro -a disk.img run : pread-device /dev/sda 512 0 > mbr
>
> This will work for any format of disk. Of course for a raw fo...
2013 Nov 25
1
Re: Auditing a vm image - virt-diff - was: Read MBR and store in a file?
On Fri, 2013-11-22 at 20:14 +0000, Richard W.M. Jones wrote:
> On Fri, Nov 22, 2013 at 05:56:00PM +0000, adrelanos wrote:
> > Thank you all for your suggestions!
> >
> > Richard W.M. Jones:
> > > I keep meaning to write a comprehensive "virt-diff" tool. I needed it
> > > myself just yesterday.
> >
> > Most interesting. I guess there are two reasons fo...
2013 Nov 22
0
Re: Auditing a vm image - virt-diff - was: Read MBR and store in a file?
On Fri, Nov 22, 2013 at 05:56:00PM +0000, adrelanos wrote:
> Thank you all for your suggestions!
>
> Richard W.M. Jones:
> > I keep meaning to write a comprehensive "virt-diff" tool. I needed it
> > myself just yesterday.
>
> Most interesting. I guess there are two reasons for creating such a
> tool: just c...
2014 Feb 06
3
Possible to speed up guestmount?
Hi,
Apparently,
guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1
"/path/to/mountfolder"
is much slower than
kpartx -av "/path/to/raw_file"
mount /dev/mapper/loop0p1 /path/to/mountfolder
(Doing lots of read/write inside the image.)
I thought guestmount "only" scripts the above. Seems I was wrong on that.
I am currently using