Adding new virtual disk to Parrotsec VM

The name of the pictureThe name of the pictureThe name of the pictureClash 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.



d



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!







share|improve this question



















  • 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














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.



d



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!







share|improve this question



















  • 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












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.



d



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!







share|improve this question











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.



d



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!









share|improve this question










share|improve this question




share|improve this question









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
















  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)