lurch (he/him)

he/him

  • 0 Posts
  • 524 Comments
Joined 2 years ago
cake
Cake day: October 4th, 2023

help-circle


  • dd just copies raw data. you can name it however you want. it’s not a specific format. but some file managers will react to the file extension. so if you name it .mpg they will try to launch a media player and .iso will make them think you want to burn it to a CD/DVD.

    What you may want to do is convert it to a Virtualbox Disk Image (.vdi) like so:

    VBoxManage convertfromraw <inputfile> <outputfile>.vdi --format= VDI
    #or
    VBoxManage internalcommands converthd -srcformat RAW -dstformat VDI <inputfile> <outputfile>.vdi
    #or
    VBoxManage convertdd <inputfile> <outputfile>.vdi --format VDI
    

    Also, on Linux there is a command literally called file and it will quickly probe files for what type they are. For raw disk images it will often say things like boot record or file system, because that’s what’s at the start.