Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have looked through the forums and have seen this issue however none of the fixes are helping me. What happened is I created an ISO image on USB yesterday for Chakra, somehow it messed up my entire computer. It wiped out my Bodhi OS. I had to run gparted to fix itt. Anyways, I am trying to delete the files on this usb and I get the error
chakra: Error removing file: Read-only file system
EFI: Error removing file: Read-only file system
isolinux: Error removing file: Read-only file system
Here is outputs from my terminal when i tried doing some of the suggestions on the forum:
Quote:
lucifer@lucifer-Satellite-C655:~$ umount /dev/sdba1
umount: /dev/sdba1 is not mounted (according to mtab)
lucifer@lucifer-Satellite-C655:~$ umount /dev/sdba2
umount: /dev/sdba2 is not mounted (according to mtab)
lucifer@lucifer-Satellite-C655:~$ sudo mount -t vfat //dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137
[sudo] password for lucifer:
mount: /dev/sdb1 already mounted or /media/external busy
mount: according to mtab, /dev/sdb1 is mounted on /media/lucifer/CHAKRA_2016-02-25
lucifer@lucifer-Satellite-C655:~$ umount /media/lucifer/CHAKRA_2016-02-25
lucifer@lucifer-Satellite-C655:~$ sudo mount -t vfat //dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137
mount: /dev/sdb1 already mounted or /media/external busy
mount: according to mtab, /dev/sdb1 is mounted on /media/lucifer/CHAKRA_2016-02-25
lucifer@lucifer-Satellite-C655:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lucifer)
/dev/sdb1 on /media/lucifer/CHAKRA_2016-02-25 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)
I am frustrated dealing two days of this Perhaps ill forever be an idiot when it comes to Linux
lucifer@lucifer-Satellite-C655:~$ umount /dev/sbd1
umount: /dev/sbd1 is not mounted (according to mtab)
lucifer@lucifer-Satellite-C655:~$ umount /dev/sdb2
umount: /dev/sdb2 is not mounted (according to mtab)
lucifer@lucifer-Satellite-C655:~$ umount /dev/sda1
umount: only root can unmount UUID=4b6be06f-879e-4f48-ae1a-1088e8f34a93 from /
lucifer@lucifer-Satellite-C655:~$ sudo su
[sudo] password for lucifer:
root@lucifer-Satellite-C655:/home/lucifer# umount /dev/sda1
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
root@lucifer-Satellite-C655:/home/lucifer# umount /dev/sda2
umount: /dev/sda2: not mounted
root@lucifer-Satellite-C655:/home/lucifer# umount /media/lucifer/CHAKRA_2016-02-25
root@lucifer-Satellite-C655:/home/lucifer# umount /dev/sdb1
umount: /dev/sdb1: not mounted
not sure if my USB just got screwed yesterday
You unmounted it twice. Of course the second try will fail. Either way would suffice.
ISO9660 is inherently a read-only filesystem. The only way to make changes is to extract all the files, then rebuild it with just the files you want to keep..
Gotcha, but i want to clear them all so I can write another ISO on it
Simply create or copy another ISO file on/to /dev/sdb1, just as you did originally. It will overwrite whatever is currently in that partition.
Note that if you're trying to create a bootable USB drive with that ISO, you should probably be putting it on /dev/sdb, not /dev/sdb1. ISOs need to be on the device, not in a partition, in order to boot.
I tried it, got error that it needs me to mount usb. Tried mounting no luck. I am just going to give up and just stay on my current OS. I have burnt myself out troubleshooting linux the past month.
I tried it, got error that it needs me to mount usb.
If you could be a lot more specific about what the "it" was that you tried, you could get better help. Otherwise, only someone looking over your shoulder can help you.
I have burnt myself out troubleshooting linux the past month.
I mean this as constructive and helpful, but while you may have tried a few random things, you have not actually done any troubleshooting, at least in this thread.
As rknichols says, you need to be much more precise in the actions you are taking, the conclusions that result and the information you share with those trying to help.
I know how it feels to reach burnout on a problem, too. Usually taking a break and making a fresh start later is the best way out of it - worth a try.
Based on reading this thread, a single complete set of parameters (i.e. the precise device names and state of the system) should produce a single set of actions which, if implemented precisely, will produce the desired end - the new state. So far I think neither of those has been attained.
Hi Rnichols and astrogeek, I appreciate your feedback and do find it constructive.
I ran mount in terminal
lucifer@lucifer-Satellite-C655:/media/lucifer$ mount CHAKRA_2016-02-25
mount: according to mtab, /dev/sdb1 is already mounted on /media/lucifer/CHAKRA_2016-02-25
mount failed
However when I use Unetbootin it tells me I must mount an USB first.
Nevermind still unable to overwrite the files. It keeps on saying I have to mount the USB ugh.... I have no idea what im doing wrong
I did command blkid and got output showing chakra on sdb1 and sdb2 not sure why. Ill keep researching.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.