Adding new virtual disk to Parrotsec VM

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I've been at this for a couple of days now and it's killing me. I have Parrotsec OS running in a VM and I have used the entire 40 GB disk partition /dev/sda1 and can no longer get updates.
I've since added another virtual disk and then attempted to format it and add to the primary boot partition /dev/sda1. From other posts I've read to this point, I likely went about this the wrong way, but sometimes free information coupled with limited knowledge doesn't lead to the wisest decisions or the best outcome (apologize in advance).
As shown in the screenshot below, I've added the disk and then attempted to make a logical drive /dev/sdb1 in order to add the disk space to /dev/sda1 ultimately creating a 60 GB /dev/sda1 drive.

Yes, I do understand I could create a new VM adding the needed space during the install process avoiding the trouble of creating and adding the new disk space, but then I could miss an opportunity to learn something new.
Any help would be greatly appreciated and thank you for looking into this with me!
partition parrotsec
add a comment |Â
up vote
0
down vote
favorite
I've been at this for a couple of days now and it's killing me. I have Parrotsec OS running in a VM and I have used the entire 40 GB disk partition /dev/sda1 and can no longer get updates.
I've since added another virtual disk and then attempted to format it and add to the primary boot partition /dev/sda1. From other posts I've read to this point, I likely went about this the wrong way, but sometimes free information coupled with limited knowledge doesn't lead to the wisest decisions or the best outcome (apologize in advance).
As shown in the screenshot below, I've added the disk and then attempted to make a logical drive /dev/sdb1 in order to add the disk space to /dev/sda1 ultimately creating a 60 GB /dev/sda1 drive.

Yes, I do understand I could create a new VM adding the needed space during the install process avoiding the trouble of creating and adding the new disk space, but then I could miss an opportunity to learn something new.
Any help would be greatly appreciated and thank you for looking into this with me!
partition parrotsec
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've been at this for a couple of days now and it's killing me. I have Parrotsec OS running in a VM and I have used the entire 40 GB disk partition /dev/sda1 and can no longer get updates.
I've since added another virtual disk and then attempted to format it and add to the primary boot partition /dev/sda1. From other posts I've read to this point, I likely went about this the wrong way, but sometimes free information coupled with limited knowledge doesn't lead to the wisest decisions or the best outcome (apologize in advance).
As shown in the screenshot below, I've added the disk and then attempted to make a logical drive /dev/sdb1 in order to add the disk space to /dev/sda1 ultimately creating a 60 GB /dev/sda1 drive.

Yes, I do understand I could create a new VM adding the needed space during the install process avoiding the trouble of creating and adding the new disk space, but then I could miss an opportunity to learn something new.
Any help would be greatly appreciated and thank you for looking into this with me!
partition parrotsec
I've been at this for a couple of days now and it's killing me. I have Parrotsec OS running in a VM and I have used the entire 40 GB disk partition /dev/sda1 and can no longer get updates.
I've since added another virtual disk and then attempted to format it and add to the primary boot partition /dev/sda1. From other posts I've read to this point, I likely went about this the wrong way, but sometimes free information coupled with limited knowledge doesn't lead to the wisest decisions or the best outcome (apologize in advance).
As shown in the screenshot below, I've added the disk and then attempted to make a logical drive /dev/sdb1 in order to add the disk space to /dev/sda1 ultimately creating a 60 GB /dev/sda1 drive.

Yes, I do understand I could create a new VM adding the needed space during the install process avoiding the trouble of creating and adding the new disk space, but then I could miss an opportunity to learn something new.
Any help would be greatly appreciated and thank you for looking into this with me!
partition parrotsec
asked May 4 at 6:09
ares
1
1
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10
add a comment |Â
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441708%2fadding-new-virtual-disk-to-parrotsec-vm%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You cannot add disk space from one drive to another. But what you can do is create logical volumes which span multiple drives using LVM. You can also enlarge the virtual disk to gain additional space, but because the space would be added to the end of the disk you'd have to delete your swap partition and the extended partition containing it, resize sda1 and the filesystem in it, and then re-create your swap partition.
â Emmanuel Rosa
May 5 at 1:10