how to delete files an folder of gparted live usb ?
by andrewysk from LinuxQuestions.org on (#5KXDS)
This could be a stupid question to ask, but i have to ask, because i don't know how to solve it.
I have a gparted live usbstick.
I do not need this gparted usb anymore, wanted to use it for a quick data transfer.
I tried pasted in some files into this usbstick, but there is not enough space, hence i want to remove some files and folders in this usbstick to cater enough space for me to paste in some files, but don't want to waste time dd the whole usb.
This is how the partition is mounted:
Code: $ cat /proc/mounts | grep sdc1
/dev/sdc1 /home/user1/testmount iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048 0 0When i rm the "GParted-Live-Version" folder:
Code:$ rm -r GParted-Live-Version
rm: cannot remove 'GParted-Live-Version': Read-only file systemSince it said it was mounted as Read only file system, i want to remount it as read-write.
Code:$ sudo mount -o remount,rw /dev/sdc1 testmount
mount: /home/user1/testmount: cannot remount /dev/sdc1 read-write, is write-protected.But it does not allow, said it is write protected.
How can i delete some file or folder on this gparted live usb ?
What you will do if just want to free some space on the usbstick to do some data transfer ?
I don't want to waste time to go through reformat the usb using dd which takes time. i just want to do a quick data transfer using the usb stick.
Thanks.


I have a gparted live usbstick.
I do not need this gparted usb anymore, wanted to use it for a quick data transfer.
I tried pasted in some files into this usbstick, but there is not enough space, hence i want to remove some files and folders in this usbstick to cater enough space for me to paste in some files, but don't want to waste time dd the whole usb.
This is how the partition is mounted:
Code: $ cat /proc/mounts | grep sdc1
/dev/sdc1 /home/user1/testmount iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048 0 0When i rm the "GParted-Live-Version" folder:
Code:$ rm -r GParted-Live-Version
rm: cannot remove 'GParted-Live-Version': Read-only file systemSince it said it was mounted as Read only file system, i want to remount it as read-write.
Code:$ sudo mount -o remount,rw /dev/sdc1 testmount
mount: /home/user1/testmount: cannot remount /dev/sdc1 read-write, is write-protected.But it does not allow, said it is write protected.
How can i delete some file or folder on this gparted live usb ?
What you will do if just want to free some space on the usbstick to do some data transfer ?
I don't want to waste time to go through reformat the usb using dd which takes time. i just want to do a quick data transfer using the usb stick.
Thanks.