Page 1 of 1

[SOLVED] Remove a drive image in a folder

Posted: Thu Apr 30, 2020 2:23 am
by jarp53
I was trying to copy the image of my hard drive into a usb , using Disk I click the hard drive and click Restore Image , the dialogue box came on asking me to name it , and then by mistake I copy to a folder : /media/jr/lmde4 , it was only the copy of / the size of 1 mb , and now it shows as a drive , even my xubuntu os sees it ; How do I remove it, couldn't do it with " fdisk " because is not a real hard drive , and < rm -r > don't work because it says is not a directory .

Re: Remove a drive image in a folder

Posted: Thu Apr 30, 2020 4:29 am
by gittiest personITW
Have you tried removing it under sudo?

Re: Remove a drive image in a folder

Posted: Thu Apr 30, 2020 12:27 pm
by jarp53
I knew this was a lot simpler than what I made it out to be ; when you restore a partition Disk would create partition where ever you tell it to do it , since I click enter before it was told where to place it , it created a separate partition on the hard drive , my problem was that it was so small and I deleted the content , it would not show in fdisk , but one close look in gparted and that solved my problem . thanks for your help.

Re: [SOLVED] Remove a drive image in a folder

Posted: Thu Apr 30, 2020 12:55 pm
by gittiest personITW
Nice one for posting back.