similar to: Read MBR and store in a file?

Displaying 20 results from an estimated 10000 matches similar to: "Read MBR and store in a file?"

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
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 reading the first 512 bytes from the raw file. Since
2013 Nov 22
5
Auditing a vm image - virt-diff - was: Read MBR and store in a file?
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 compare the images (show the diff) and/or check for malicious additions in the other image. Did you consider implementing the former or both? Do
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
2013 Nov 22
0
Re: Auditing a vm image - virt-diff - was: Read MBR and store in a file?
Hi all, Piping in here as someone who has worked on file system and Registry differencing for a few years now. Taking diffs of a storage system is not a straightforward task. Hopefully, this message saves you some re-implementation heartache. In the forensics world, there is a tool called Fiwalk, which enumerates the contents of a file system and its metadata (with some basic data summaries,
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 compare the images (show the diff) and/or check
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
2015 Apr 10
4
how can I tell what's on the MBR of /dev/sda?
Subject says it. I would like to find out if I have anything written on the MBR of a disk in my system /dev/sda, or any other device. If there is something there, is it readable, or recognizable to humans? thanks, -chuck
2016 Mar 11
2
Re: [virt-tools-list] [libvirt] Usability Enhancement: Import/Export VMs GUI
On 2016-03-10 15:43, Cole Robinson wrote: > On 03/10/2016 02:29 AM, Martin Kletzander wrote: >> On Fri, Mar 04, 2016 at 04:23:18PM +0000, bancfc@openmailbox.org >> wrote: >>> The single most important usability feature missed by our less >>> technical >>> users who migrate from VirtualBox is a one click import/export of >>> VMs >>>
2019 Dec 17
2
chainloading syslinux problem
Hi! I have bootable (USB flash) disk, that _appears_ to be using syslinux. (the word syslinux is in the PBR, in the hexdump). How can I chainload it? The payload seems to be a file that I tried load with COMBOOT, COM32 etc, but nothing works (they report that the file is not in proper format, wrong magic number or simply crash). How to proceed? is there a 100% way to confirm that it is really
2016 Jul 07
2
[Bug 1078] New: please provide a firewall scripts drop-in folder
https://bugzilla.netfilter.org/show_bug.cgi?id=1078 Bug ID: 1078 Summary: please provide a firewall scripts drop-in folder Product: iptables Version: unspecified Hardware: other OS: All Status: NEW Severity: enhancement Priority: P5 Component: unknown Assignee:
2017 Mar 21
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi, i have uploaded a little gz compressed tarball http://scdbackup.webframe.org/block_seq.tgz containing -rwxr-xr-x thomas/thomas 4552 2017-03-21 09:23 block_seq -rw-r--r-- thomas/thomas 315 2017-03-21 09:22 block_seq.c To be unpacked in a suitable directory by tar xvzf block_seq.tgz The binary "block_seq" was compiled on Debian Jessie. If it does not run, do cc -o
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
2012 Aug 24
1
Does libvirt abstract each and any vm specific command?
Hello, my project still uses VBoxManage but I am inclined to switch to libvirt, if possible, because I like the concept. Some rather unusual commands are used by my project... VBoxManage modifyvm "$VMNAME" --synthcpu on VBoxManage setextradata "$VMNAME" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1" VBoxManage modifyvm "$VMNAME"
2019 Dec 17
1
chainloading syslinux problem
On Tue, 17 Dec 2019 at 23:19, Gregory Lee Bartholomew < gregory.lee.bartholomew at gmail.com> wrote: > On Tue, 2019-12-17 at 22:46 +0100, David Bala?ic via Syslinux wrote: > > Hi! > > I have bootable (USB flash) disk, that _appears_ to be using syslinux. > > (the word syslinux is in the PBR, in the hexdump). > > How can I chainload it? The payload seems to be a
2020 Feb 10
2
Re: [RFC] lib: allow to specify physical/logical block size for disks
пн, 10 лют. 2020 о 13:43 Richard W.M. Jones <rjones@redhat.com> пише: > > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > From: Nikolay Ivanets <stenavin@gmail.com> > > > > I faced with situation where libguestfs cannot recognize partitions on a > > disk image which was partitioned on a system with "4K native" sector > >
2020 Feb 10
2
Re: [RFC] lib: allow to specify physical/logical block size for disks
Am 10.02.2020 um 12:43 hat Richard W.M. Jones geschrieben: > On Sat, Feb 08, 2020 at 01:25:28AM +0200, Mykola Ivanets wrote: > > From: Nikolay Ivanets <stenavin@gmail.com> > > > > I faced with situation where libguestfs cannot recognize partitions on a > > disk image which was partitioned on a system with "4K native" sector > > size support. >
2014 May 09
3
[PATCH 1/2] tests/syslinux: factorize search for mbr.bin
--- tests/syslinux/test-syslinux.pl | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tests/syslinux/test-syslinux.pl b/tests/syslinux/test-syslinux.pl index d86c095..8a227d4 100755 --- a/tests/syslinux/test-syslinux.pl +++ b/tests/syslinux/test-syslinux.pl @@ -29,13 +29,20 @@ my $bootloader = $ENV{BOOTLOADER} || "syslinux"; my $disk =
2004 Oct 10
4
grub in the mbr
hi, i ve grub in the mbr of my usb stick and now i am not longer able to use the syslinux bootmanager. i tried to delete grub from mbr with: dd if=/dev/null of=/dev/sda bs=512 count=1 but nothing changed grub is still in the mbr hope somebody can help me thx so long
2009 Mar 30
3
[PATCH 0/3] v2: mbr: Ctrl-key press forces load from first hard disk
Version 2 of these patches includes optimisations suggested by H Peter Alvin to save bytes: * Use memory-mapped I/O register to read keyboard shift flags * Don't reload DX from memory; move immediate byte to register Tested using mbr.bin. TJ (3): mbr: Ctrl-key press forces load from first hard disk gptmbr: Ctrl-key press forces load from first hard disk isohdpfx: Ctrl-key press