Maschine von USB Stick in Virtualbox installieren

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
Alooha
Posts: 61
Joined: 27. Dec 2009, 21:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: MX Linux

Maschine von USB Stick in Virtualbox installieren

Post by Alooha »

Hallo,

Wie kriege ich VB dazu, erst mal einen USB Stick zu erkennen, und eine Maschine vom Stick zu installieren?

Ich habe irgendwo gelesen, dazu müssten die Guest Additions installiert sein, aber die werden, wenn ich mich nicht irre, in der Maschine, die aber erst installiert werden soll, installiert, und nicht in VB selbst!?
Oder liege ich da falsch?

Mit freundlichen Grüßen
Alooha
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by scottgus1 »

Guest Additions are not needed for booting from USB.

Virtualbox's legacy BIOS does not support booting from USB.

Virtualbox's EFI BIOS does support booting from USB, but I personally don't know how to do it.

There are web-searchable tutorials to use the USB stick under Raw Disk Access and legacy BIOS to fake Virtualbox into thinking the USB stick is a real virtual hard drive, then the VM will boot from it. But Raw Disk Access is an experts-only feature, and we don't show folks how to do it, since the process can destroy their data if done wrong.

The safest and easiest solution: download the ISO instead of using the USB stick.
Alooha
Posts: 61
Joined: 27. Dec 2009, 21:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: MX Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by Alooha »

The Iso is on the USB stick and I tried to install the machine from that iso. So it is not a matter of booting from the USB stick.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by scottgus1 »

That's good. You can simply point the VM's CD drive at the ISO file, and the VM will boot from it if it's a bootable ISO.
Alooha
Posts: 61
Joined: 27. Dec 2009, 21:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: MX Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by Alooha »

Ok, but that's not possible because the USB stick is not reecognized!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by scottgus1 »

Alooha wrote:The Iso is on the USB stick
I took this to mean that when you put the USB stick in the host and open its folder window, then you see an ISO file which can be mounted in a virtual CD drive.

If you really mean that the ISO has been converted to a bootable USB and you see the bootable installer files in the USB's folder, instead of an actual "filename.iso" file, then you have a bootable USB stick, not an ISO. The methods above at viewtopic.php?f=5&t=106326#p519596 are required.
Alooha
Posts: 61
Joined: 27. Dec 2009, 21:13
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: MX Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by Alooha »

The .iso is on the stick as downloaded, the stick is not bootable.
If I copy it to the hard disk, it has to be copied to a common folder?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Maschine von USB Stick in Virtualbox installieren

Post by scottgus1 »

You could copy the iso to any folder that the logged-on account has read access to.
Alooha wrote:the USB stick is not reecognized!
Does this mean that the USB stick does not appear on the host computer?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Maschine von USB Stick in Virtualbox installieren

Post by mpack »

Is the OP perhaps grabbing ownership of the USB stick for the VM? That would be double trouble.

If yes: you don't assign ownership of a host drive just because it contains an ISO file. It is the host that needs access to the ISO, not the VM. The VM will see the contents as a virtual CD drive.
Post Reply