I would like to upgrade my main boot drive from LM to the latest version of LM. So I can continue working with the current boot drive until the new drive is ready, I'd like to create, configure, and populate the new drive with data all within VirtualBox. Then finally when the new boot drive is finished then use it to boot from bare-metal i.e. no longer inside a VM.
Since I had already started the process by creating the new boot bare-metal, I'd now like to create a new VM, boot the new VM with this new boot drive, configure and populate it, all before booting bare-metal again from the new drive.
(Of course, if successful, there's still the issue that moving from a VM to bare-metal requires LM to adjust for different drivers, etc. Since modern OSs can be pretty resilient in this respect, hopefully LM will boot into the new environment OK then request updates. Finally the graphics driver will be changed from nouveau to nVidia.)
I found a few related posts:
- Booting from internal drive: https://www.reddit.com/r/virtualbox/com ... h_windows/
Booting from USB: https://www.reddit.com/r/virtualbox/com ... usb_drive/
Booting from USB: https://www.howtogeek.com/187721/how-to ... irtualbox/
Code: Select all
VBoxManage internalcommands createrawvmdk -filename test.vdi -rawdisk /dev/sda
Code: Select all
VBoxManage createmedium disk --filename=test.vdi --variant RawDisk --property-file name=/dev/sda
Code: Select all
VBoxManage: error: Cannot open replacement value file '/dev/sda': VERR_ACCESS_DENIED
Can anyone shed light on how I should proceed from here, please?
System - Host
Linux Mint 20 Ulyana 64-bit
MATE 1.24.0
VirtualBox Version 7.0.14 r161095 (Qt5.12.8 )
System - Guest (intended) i.e. the new system
same hardware
Linux Mint 21.3 Virginia 64-bit
MATE