Hello,
I've been using a dual boot Ubuntu / win 7 for about 1 year. It has gone well but today most of my work is done with linux but the reports have to be in .docx format (Libreoffice does not fit as wanted). Till now I reboot my laptop to switch OS which is not that convenient.
Today I tried the method from
And it resulted to a permission issue.
Does anyone can help me ?
Thanks
Frd_gan
Run Windows from real HD partition with VirualBax
Re: Run Windows from real HD partition with VirualBax
under Fedora 27 I do:
1. sudo fdisk -l /dev/sdb
...
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 30724095 30517248 14,6G 7 HPFS/NTFS/exFAT
...
sdb1 is the boot partition and sdb2 the system partition from Window 7
2. sudo VBoxManage internalcommands createrawvmdk -filename ./Win7_RAW.vmdk -rawdisk /dev/sdb -partitions 1,2 -relative
3. sudo chown <username>.<groupname> Win7_RAW.vmdk
4. usermod -a -G disk <username>
5. logoff/-on to be in the new group
don't know if step 4 and 5 are really necessary
6. create a VM with the disk Win7_RAW.vmdk
7. install guest additions
8. config. shares, etc. ...
1. sudo fdisk -l /dev/sdb
...
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 30724095 30517248 14,6G 7 HPFS/NTFS/exFAT
...
sdb1 is the boot partition and sdb2 the system partition from Window 7
2. sudo VBoxManage internalcommands createrawvmdk -filename ./Win7_RAW.vmdk -rawdisk /dev/sdb -partitions 1,2 -relative
3. sudo chown <username>.<groupname> Win7_RAW.vmdk
4. usermod -a -G disk <username>
5. logoff/-on to be in the new group
don't know if step 4 and 5 are really necessary
6. create a VM with the disk Win7_RAW.vmdk
7. install guest additions
8. config. shares, etc. ...
Re: Run Windows from real HD partition with VirualBax
Thank sixpack13.
I tried your method and it results with the same error
" Permission problem accessing the file for the medium '/home/default/VM/My_Win7_RAW.vmdk' (VERR_ACCESS_DENIED). "
Any ideas ?
Thank you for your help
frd_gan
I tried your method and it results with the same error
" Permission problem accessing the file for the medium '/home/default/VM/My_Win7_RAW.vmdk' (VERR_ACCESS_DENIED). "
Any ideas ?
Thank you for your help
frd_gan
Re: Run Windows from real HD partition with VirualBax
Hello,
Now it works. I had to do the same with the second file created.
But now I experience a grub issue. I am working on it
Thanks
Frd_gan
Now it works. I had to do the same with the second file created.
But now I experience a grub issue. I am working on it
Thanks
Frd_gan
Re: Run Windows from real HD partition with VirualBax
okay 3. should read:
sudo chown -R <username>.<groupname> Win7_RAW.vmdk
why a grub problem ?
didn't you start Window 7 under Ubuntu ?
Hint 1:
my Windows 7 was installed with cables to sda pulled (only one single disk for Windows was in my box. Microsoft wants always to occupy the first disk)
Hint 2:
be aware installing driver, e.g. USB3, into Windows running under Vbox, they could cause boot (BSD) failure.
sudo chown -R <username>.<groupname> Win7_RAW.vmdk
why a grub problem ?
didn't you start Window 7 under Ubuntu ?
Hint 1:
my Windows 7 was installed with cables to sda pulled (only one single disk for Windows was in my box. Microsoft wants always to occupy the first disk)
Hint 2:
be aware installing driver, e.g. USB3, into Windows running under Vbox, they could cause boot (BSD) failure.
Re: Run Windows from real HD partition with VirualBax
I did all how you said but after launching the VM it says
error: unknown filesystem
Entering rescue mode...
grub rescue>
Is it something to do with the fact that my windows partition is originally uses for a duak boot with grub ?
Thank you
frd_gan
error: unknown filesystem
Entering rescue mode...
grub rescue>
Is it something to do with the fact that my windows partition is originally uses for a duak boot with grub ?
Thank you
frd_gan
Re: Run Windows from real HD partition with VirualBax
it seems you got a computer with only one single disk.
My one has two disk, one for linux (/dev/sda) and one for windows (/dev/sdb).
unfortunately I have not advice for your problem.
My one has two disk, one for linux (/dev/sda) and one for windows (/dev/sdb).
unfortunately I have not advice for your problem.