Questions tagged [raw-disk]

In computing, the term raw disk is used to refer to hard disk access at a raw, binary level, beneath the file system level.

10 questions
8
votes
1 answer

Booting raw-disk windows 10 vm in virtualbox boots to grub shell

I have a dual-boot setup with Windows 10 and Kubuntu 18. Following instructions found from here and there I managed to get the Windows to run as guest in Kubuntu host as a VM using VirtualBox. sudo usermod -a -G disk $USER VBoxManage…
3
votes
1 answer

Filesystem VS Raw disk benchmarking in C

I am doing some benchmarking (on OS X) to see how the use of file system influences the bandwidth etc. I am using concurrency with the hope to create fragmentation in the FS. However, it looks like using the FS is more efficient than raw disk…
user1553136
  • 328
  • 5
  • 17
1
vote
1 answer

Linux Get physical location from file and write contents

I want to get the physical location of linux file, /root/f.txt and write(overwrite) some contents of file File is /root/f.txt lsblk command output: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0…
nilesh.b
  • 486
  • 3
  • 9
1
vote
0 answers

Writing directly to disk using PhysicalDrive0

I'm trying to write directly to an offset on a disk (I'm running it inside a virtual machine, but nontheless) using the following code: int main() { OVERLAPPED overlapped; char DataBuffer[] = "AAAAAAA"; HANDLE dHandle =…
t0m9er
  • 143
  • 2
  • 11
1
vote
1 answer

How to read plain data sectors (Mode1) from a CD on OS X

I am trying to read the plain 2048 byte sized data sectors from a data CD on OS X. But when I open a device such as "/dev/disk8", I get sectors of 2352 in size, with a 16 byte header before each sector's actual Mode1 data. Even with the BSD tools…
Thomas Tempelmann
  • 11,045
  • 8
  • 74
  • 149
1
vote
0 answers

VirtualBox RawDisk error : VERR ACCESS DENIED

I'd like to boot VirtualBox to the external hard drive I have that runs Windows 8 To Go, as the computer running virtual box is one that I can't boot to the drive during certain hours, but I'd still like to be able to interact with the OS on that…
schizoid04
  • 888
  • 1
  • 11
  • 27
1
vote
2 answers

Correcting VirtualBox raw disk VMDK file after resizing a partition

I have a Windows 8.1 installation on second partition of my second HDD (/dev/sdb2 in Ubuntu) created using the command VBoxManage internalcommands createrawvmdk -filename sdb2.vmdk -rawdisk /dev/sdb -partitions 2 Everything worked just fine -…
Kyselejsyreček
  • 459
  • 1
  • 3
  • 16
1
vote
2 answers

Windows, opening a raw disk

I'm trying to read bytes from a raw disk. (Windows 7, VS 2010.) I get a value of -1 for hDisk (which I assume is an error). How can I get the real data? #include "stdafx.h" #include #include #include #include…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
0
votes
1 answer

Write raw disk bytes in Python

I am looking for a way to write raw bytes into a disk image using Python. For example, I have an list containing several characters and I need to write all those characters in different parts of my disk. In my Python script I need to do something…
fborges22
  • 313
  • 3
  • 14
0
votes
0 answers

Adding the RDMs across SCSI controllers for MSCS VMs via PowerCLI

I’m trying to refer below link for importing the csv and using the data to attach the RDM in MSCS environment. [Distributing RDMs across SCSI controllers when adding hard disks via PowerCLI I have got the all useful information to export the csv…
HanLin
  • 1
  • 2