USB stick in read only mode after using it to install Ubuntu
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.
USB stick in read only mode after using it to install Ubuntu
I used my usb to install ubuntu on my netbook and now it says it's read only. Checked all over for a switch, even pulled the plastic case off but I can't find one and I'm getting more and more annoyed with it. Any help appreciated
Shouldn't there be a partition on the drive (or maybe even more than one?) in which case you should be trying to mount something like "sda1" or "sda2" rather than just "sda"? Using sudo as necessary, what partitions do you see on the drive using the command fdisk -l ? (Note: that's a lowercase "L")
Sasha
Last edited by GrapefruiTgirl; 06-08-2010 at 03:18 PM.
Reason: lowercase L
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1874 15052873+ 83 Linux
/dev/sda2 1875 1962 706860 5 Extended
/dev/sda5 1875 1962 706828+ 82 Linux swap / Solaris
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdb1 ? 274784 529564 979374166 66 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(734, 123, 14) logical=(274783, 70, 21)
Partition 1 has different physical/logical endings:
phys=(120, 143, 6) logical=(529563, 65, 22)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 448668 961719 1972168331 7 HPFS/NTFS
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(187, 180, 14) logical=(448667, 16, 52)
Partition 2 has different physical/logical endings:
phys=(784, 0, 13) logical=(403059, 76, 1)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 426615 680707 976730017 7d Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(252, 59, 46) logical=(426614, 84, 39)
Partition 3 has different physical/logical endings:
phys=(139, 118, 4) logical=(122048, 22, 28)
Partition 3 does not end on cylinder boundary.
/dev/sdb4 ? 543622 544705 4161550 6f Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(370, 101, 50) logical=(543621, 57, 11)
Partition 4 has different physical/logical endings:
phys=(10, 114, 13) logical=(544704, 8, 44)
Partition 4 does not end on cylinder boundary.
Jefro's post #5 looks like it's worth another look.
Meanwhile, from your fdisk output, we can see two disks -- sda and sdb. If sda is the USB stick, then I'd wager you should be trying to (re)mount /dev/sda1 which is the Linux filesystem. I'd also wager that it's called "sda" because it's being identified/labeled before the sdb drive -- which means that there's a decent chance (again) that post #5 may help. If the USB stick were not inserted during machine boot, then I'd figure the second drive (sdb) would actually be shown as sda, which I suspect it is because it appears to be the one with the Windows on it.
Remove USB stick; reboot Linux from the HDD where you installed it (should then be sda I believe), and log in; now, connect the USB stick (which will become sdb I believe) and proceed trying to mount /dev/sdb1 as read-write.
tried fsck but it keeps leaving the file system unchanged I guess because it's in read only.
P.S. - to use fsck, a filesystem (a partition) should be UNmounted or perhaps mounted read-only (I can't recall off top of head if read-only will work -- check the fsck man-page on that if you wish.)
The message saying "filesystem unchanged" most likely means there was nothing to do, i.e. nothing wrong.
Meanwhile, from your fdisk output, we can see two disks -- sda and sdb. If sda is the USB stick,
It's a netbook so the sda is the file system. The memory stick defentily on sdb.
I used the memory stick to install ubuntu. The installer turned the stick into a bootable stick, booted the netbook with the stick in and installed the distro. Now this distro is installed I want to use the stick as normal.
Quote:
Originally Posted by GrapefruiTgirl
The message saying "filesystem unchanged" most likely means there was nothing to do, i.e. nothing wrong.
The fsck says there is problems on the stick and gives me options to fix them put then exits with the message file system left unchanged.
I will have a try with Gparted tonight.
Cheers for all the help people appreciate all the replies.
I had the same issue once
tried removing .Trash several times
succeeded after deleting the 8-GB pen drive partition and formatting it in ntfs
and again formatted in fat32 and it worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.