K
K
Kseesha2022-04-03 12:37:58
linux
Kseesha, 2022-04-03 12:37:58

How can virtualbox show a different disk partition?

Friends, hello!
I split the disk into pieces to put Linux next to Windows. While dancing with a tambourine - Windows flew off, and I scored.
Linux lives on ~55GB. This, in principle, did not bother me, but I needed Windows for study (vinformy).
I wanted to put it on a virtual machine, but it does not see the leftover memory.
I made a new partition in gparted, then I tried to poke it in the terminal with mount.
Still nothing happened.

For God's sake, tell me what to do. What should I do? (

spoiler
Винду ставить не хочу, некроноут так хорошо на линуксе пашет, я прям нарадоваться не могу

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
hint000, 2022-04-03
@hint000

If Linux normally sees that part of the disk that you want to "show" to virtual Windows, then you can share the folder via Samba and then open it in Windows as a network share, including mapping it as a network drive.

A
AVKor, 2022-04-03
@AVKor

Give all disk space to Linux. When creating a VM in VB, the disk is dynamic virtual by default.

D
Drno, 2022-04-03
@Drno

Burn a flash drive with liveCD gparted
Boot from it, increase the Linux partition to the entire disk.
Apply and reboot
If after rebooting the system does not see the whole place, do the command
sudo resize2fs /dev/sda1 in the terminal (where sda1 is your disk)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question