Danke für die Rückmeldung.
Dann will ich mal alle Schritte aufführen, die ich gemacht habe:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 | sudo parted -l
Modell: ATA Samsung SSD 870 (scsi)
Festplatte /dev/sda: 2000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt
Disk-Flags:
Nummer Anfang Ende Größe Dateisystem Name Flags
1 1049kB 99,6MB 98,6MB fat32 boot, esp
2 99,6MB 2147MB 2048MB ext4
3 2147MB 10,3GB 8193MB linux-swap(v1) swap
4 10,3GB 420GB 410GB ext4
5 420GB 849GB 429GB ext4
6 849GB 2000GB 1151GB ntfs Basic data partition msftdata
Modell: ATA Samsung SSD 870 (scsi)
Festplatte /dev/sdb: 1000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags:
Nummer Anfang Ende Größe Typ Dateisystem Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 120GB 120GB primary ntfs
3 120GB 246GB 126GB primary ntfs
|
Aushängen der Partitionen:
dragon@Dragon:~$ sudo umount /dev/sdb1
dragon@Dragon:~$ sudo umount /dev/sdb2
dragon@Dragon:~$ install-mbr --force ~/VirtualBox\ VMs/Win7RAW/Win7RAW.mbr
dragon@Dragon:~$ sudo fdisk -l /dev/sdb
Festplatte /dev/sdb: 931,51 GiB, 1000204886016 Bytes, 1953525168 Sektoren
Festplattenmodell: Samsung SSD 870
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x89110698
Gerät Boot Anfang Ende Sektoren Größe Kn Typ
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 234438655 234231808 111,7G 7 HPFS/NTFS/exFAT
/dev/sdb3 234438656 480204799 245766144 117,2G 7 HPFS/NTFS/exFAT
dragon@Dragon:~$ echo 0x89110698 | sed -e 's/0x\(..\)\(..\)\(..\)\(..\)/0x\4\3\2\1/' | xxd -r | dd of=~/VirtualBox\ VMs/Win7RAW/Win7RAW.mbr bs=1 seek=440 conv=notrunc
4+0 Datensätze ein
4+0 Datensätze aus
4 Bytes kopiert, 6,7833e-05 s, 59,0 kB/s
Ja genau wie du geschrieben hast, kommt hier eine Fehlermeldung
dragon@Dragon:~$ VBoxManage createmedium disk --filename ~/VirtualBox\ VMs/Win7RAW/Win7RAW.vmdk --format=VMDK --variant RawDisk --property RawDrive=/dev/sdb --property Partitions=1,2
0%...VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/home/dragon/VirtualBox VMs/Win7RAW/Win7RAW.vmdk'.
VBoxManage: error: VMDK: Image path: '/home/dragon/VirtualBox VMs/Win7RAW/Win7RAW.vmdk'. Failed to open the raw drive '/dev/sdb' for reading (VERR_ACCESS_DENIED) (VERR_ACCESS_DENIED).
VBoxManage: error: VMDK: could not create raw descriptor for '/home/dragon/VirtualBox VMs/Win7RAW/Win7RAW.vmdk' (VERR_ACCESS_DENIED)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 634 of file VBoxManageDisk.cpp
Ich will Win7 welches auf Platte dev/sdb2 liegt einbinden und zusätzlich muss ich ja noch dev/sdb1 einbinden wegen dem EFI-System