PDA

View Full Version : [ubuntu] All Folders Are Locked. What can I do?



agp27
January 3rd, 2010, 05:54 AM
Im kinda new to ubuntu and need help

alright so i was downloading pictures from facebook and everything was fine until i went to download one and i got a message that said i did not have permission to write in this folder. so i exited out of every thing and opened a folder and all of the folders inside of it had a lock on it so i went through some other folders and found out ever folder was locked. And i didnt have permission to them.

agp27
January 3rd, 2010, 05:59 AM
So i restarted my computer and when it was booting i got the message /dev/sda1 contains a file system with errors, check forced. then it say other stuff. and then it says Buffer i/o error on device sda1, logical block. and the message just keeps popping up. and i cant get out of the boot.

Anuovis
January 3rd, 2010, 06:00 AM
There are some folders that you do not have writing permissions by default and there are others where you do. Where were you trying to save the pictures?

Your Home folder is the best place to download them, you should be able to do that.

Anuovis
January 3rd, 2010, 06:02 AM
Now it does not boot even if you wait a bit?

microbious
January 3rd, 2010, 06:04 AM
can u guys tell me what the H is sda1 ?

perlluver
January 3rd, 2010, 06:05 AM
can u guys tell me what the H is sda1 ?

That would be your hard drive, partition 1.

agp27
January 3rd, 2010, 06:07 AM
i was downloading them in my home/desktop and the picture before downloaded fine then i went to get another one and i got the message. i went to my home folder and all the icons had a lock on it including my desktop. i even tried creating a new folder on my desktop but i couldnt the message just appeared again..

agp27
January 3rd, 2010, 06:10 AM
when i restart i get stuck in the black screen with all the text and thats where the other messdges appear.

Sef
January 3rd, 2010, 07:10 AM
1) How old is your computer?

2) Have you a live cd? If so, then use it to back up all your files to another storage unit, e.g., external hard drive, cd, flash drive, etc.

agp27
January 3rd, 2010, 07:23 AM
I got it iN 2006. and no. how much does it cost and how does it work?

Sef
January 3rd, 2010, 07:35 AM
how much does it cost and how does it work?

A live cd costs nothing. It is legal to download it.

1) Is there another computer you can download it on?

2) How did you install it?

3) What version of Ubuntu do you have?

4) What are your system specs?

agp27
January 3rd, 2010, 07:38 AM
ya i have another computer. it was actually my moms ex husbands and she gave it to me. and its a linux.

Methuselah
January 3rd, 2010, 07:39 AM
When you restarted the compuer did you just turn it off or did you restart by choosing restart on the desktop?
It is a really, really, really, did I say really, bad idea to simply turn it off.
Please keep that in mind.

Anyway, your hard drive does seem questionable.
If you installed Ubuntu your self, the LiveCD is likely the disk you used so you should have it.

Sef is suggesting that you insert it and select 'try ubuntu without change to your computer'.
Put in a USB stick or something then back up your data from the hard drive that you want to keep (mostly in your home folder).

Then maybe you can try re-installing after checkinh HDD health.
Here is some info on how to check hard drive health from a Live CD.
http://www.techerator.com/2009/05/howto-check-your-drive-health-with-a-linux-livecd/

agp27
January 3rd, 2010, 07:49 AM
I got it already installed.. and i dont know how to back the stuff up. i cant get out of booting after the check, buffer i/o error on device sda1 pops up with some other stuff and it pops up about 10 times. then the screen goes black and when i hit a key a a bunch mose stuff comes up like do fcsk mannually and then ht say login incorrect push control-d to reboot. but it doesnt do anything... and i turned it off then on...

nikhilbhardwaj
January 3rd, 2010, 07:50 AM
hi,
the indications are that your hard disk is failing
but it may not necessarily be the case
i've a pc that i got in 2003 and my old hard disk behaved similarly

i tried various different partition schemes and here's one that worked for me
/dev/sdb is the disk(40 gb)
/dev/sdb1 1.5 GB SWAP
/dev/sdb2 10 GB / Partition
/dev/sdb5 remaining space /home

so in my case the initial sectors were going bad
i've assigned them to swap
my pc never uses swap
so now its working perfectly

this may not work for you exactly
you may need to tweak it depending on your own settings

best of luck

nikhilbhardwaj
January 3rd, 2010, 07:52 AM
I got it already installed.. and i dont know how to back the stuff up. i cant get out of booting after the check, buffer i/o error on device sda1 pops up with some other stuff and it pops up about 10 times. then the screen goes black and when i hit a key a a bunch mose stuff comes up like do fcsk mannually and then ht say login incorrect push control-d to reboot. but it doesnt do anything... and i turned it off then on...

start your computer with the live cd
you'll probably have to reinstall your os

Methuselah
January 3rd, 2010, 07:55 AM
I got it already installed.. and i dont know how to back the stuff up. i cant get out of booting after the check, buffer i/o error on device sda1 pops up with some other stuff and it pops up about 10 times. then the screen goes black and when i hit a key a a bunch mose stuff comes up like do fcsk mannually and then ht say login incorrect push control-d to reboot. but it doesnt do anything... and i turned it off then on...

Apparently the hard drive is not going to boot.
You can use the liveCD to boot instead of your hard drive.
Once in the Live environment you may be able to perform diagnostics on the hard drive as well as rescue your data.

agp27
January 3rd, 2010, 07:58 AM
after i download it on my windows computer what do i do with it. and where can i download it?

Anuovis
January 3rd, 2010, 03:57 PM
The live CD people are speaking here about is simply your Ubuntu Install CD. That is, if you are using 9.10. Some time ago you had to use 2 CDs, one for installation, another one for booting into live session. Now they are together.
Just insert your installation CD and pick "Try Ubuntu without any changes to the system", it will load the OS from the CD.

If you do not have this live-installation CD, you can download it from www.ubuntu.com (http://www.ubuntu.com) and burn it legally.

If you have any valuable data on your hard disk, you can back it up via this live session. Since your cd-rom drive will be occupied by the Ubuntu CD, you should use some external memory device that connects, for example, via USB. A simple USB memory stick should do the job if you do not have very much to save.

agp27
January 3rd, 2010, 04:18 PM
i didnt install it so i dont have the cd. and what kind of cd do i burn it to?

dmaxel
January 3rd, 2010, 04:26 PM
hi,
the indications are that your hard disk is failing
but it may not necessarily be the case
i've a pc that i got in 2003 and my old hard disk behaved similarly

i tried various different partition schemes and here's one that worked for me
/dev/sdb is the disk(40 gb)
/dev/sdb1 1.5 GB SWAP
/dev/sdb2 10 GB / Partition
/dev/sdb5 remaining space /home

so in my case the initial sectors were going bad
i've assigned them to swap
my pc never uses swap
so now its working perfectly

this may not work for you exactly
you may need to tweak it depending on your own settings

best of luck
Sorry, I know this is slightly off topic, but I'm having similar problems with my server, it having I/O buffer errors. How were you able to determine which sectors were going bad?

i didnt install it so i dont have the cd. and what kind of cd do i burn it to?
Any regular CD-R would work just fine. Just make sure that you download the right LiveCD and burn it using an ISO burning application.

Anuovis
January 3rd, 2010, 04:37 PM
Any regular CD-R would work just fine. Just make sure that you download the right LiveCD and burn it using an ISO burning application.

Yes, any CD-R and maybe even CD-RW will do. Better stick with the former, just in case...

You also have to make sure you do not burn the .iso file itself in the CD like in regular copy-paste procedure. The .iso file will have all the contents you need, so you have to open it inside the burner, find something like "burn ISO image", etc.

Back in the Windows times (not so long ago) I really liked this software:
http://www.cdburnerxp.se/

This is how you burn .iso:
http://cdburnerxp.se/help/Data/burn-iso

Btw, do you have anything of value inside that hard disk?

agp27
January 3rd, 2010, 06:37 PM
ya theres probably about 200 Gb that i would like to keep.. is there a way that i can take the hardive out and put it in my windows computer?

dmaxel
January 3rd, 2010, 06:56 PM
ya theres probably about 200 Gb that i would like to keep.. is there a way that i can take the hardive out and put it in my windows computer?Considering that Ubuntu uses ext3/ext4, and that Windows doesn't support Linux filesystems out of the box, it probably wouldn't work. There are programs/drivers out there for Windows that supposedly offer excellent read-only access to ext2/ext3 filesystems, but I've never tried any of them myself.

agp27
January 3rd, 2010, 07:16 PM
well, would it be able to read the folders and mp3's on it...

dmaxel
January 3rd, 2010, 07:19 PM
Well, with Windows itself, no. With that certain program/driver, probably. (Like I said, I've never tried it myself)

agp27
January 3rd, 2010, 07:34 PM
alright.

Anuovis
January 3rd, 2010, 08:20 PM
There are programs/drivers out there for Windows that supposedly offer excellent read-only access to ext2/ext3 filesystems, but I've never tried any of them myself.

There are drivers for ext2 and ext3 that provide you with a slow but good read/write access. I have been using these for some time on Windows XP. Now, I have no idea if these would work with ext4.

If you have so much data to save, your best bet would probably be a live session with an external hard disk drive. Hopefully, you have such a thing or a good friend that could lend you one. At least until you copy the documents to some safer place.

agp27
January 3rd, 2010, 08:29 PM
Whats an external hard drive? and will a memorex music cd-r work to put the live cd on?

Anuovis
January 3rd, 2010, 08:43 PM
Whats an external hard drive? and will a memorex music cd-r work to put the live cd on?

Any CD-R will do.

External HDD is what I would use in your case, because they have good storage and can be connected via USB without any hassle. Other devices with a lot of memory might be used as well.
Google it... (http://www.google.com/search?hl=en&source=hp&q=external+hard+disk+drive&btnG=Google+Search)

Maybe there are other ways to save your data, like connecting your PC to another machine and copying everything over there. In any case, you need to find those 200 GB somewhere.

If that data is not that important, you might just proceed by fixing your hard drive. Maybe you have backed it up somewhere, no?


(http://www.google.com/search?hl=en&source=hp&q=external+hard+disk+drive&btnG=Google+Search)

agp27
January 3rd, 2010, 08:46 PM
no. i dont have anything backed up..

agp27
January 3rd, 2010, 09:24 PM
im downloading ubuntu-9.10-desktop-i386.iso is that right?

teward
January 3rd, 2010, 09:34 PM
Sorry, I know this is slightly off topic, but I'm having similar problems with my server, it having I/O buffer errors. How were you able to determine which sectors were going bad?

Any regular CD-R would work just fine. Just make sure that you download the right LiveCD and burn it using an ISO burning application.

If you're getting I/O buffer errors, it means one of the drives on your computer/server is dying. this may have been resolved already, but I've had this issue with several computer devices, so its a good indication your devices are screwed over.

agp27
January 4th, 2010, 01:09 AM
I got it on a cd.. now what do i do?

Anuovis
January 4th, 2010, 01:18 AM
I got it on a cd.. now what do i do?

Read the posts. If you want to do the backup, find yourself a storage with 200 GB (or how much you need). Boot the system from the cd and copy all the data.

BTW, if you are really not that knowledgeable about the computers, you might be better of finding someone who could help you directly. These forums are very helpful and you could probably solve anything you want by just reading them. But if you feel it is too difficult to follow the advice people are giving here, at least do not do anything you can not understand. Because you might end up in the worst situation than you are now.

For the future, always have a backup of important things. Especially when you are doing something critical with your computer, like moving to the new OS.

agp27
January 4th, 2010, 01:23 AM
i think i can do it. but how do i boot. im at the page where it says try ubuntu without change, install ubuntu and other stuff

agp27
January 4th, 2010, 01:42 AM
i found it but its not letting me do anything cus i dont have permission to the folder. will it work if i open it in root nautilus?

Anuovis
January 4th, 2010, 03:24 AM
i found it but its not letting me do anything cus i dont have permission to the folder. will it work if i open it in root nautilus?

Which folder? Is it your Home?
Trying Nautilus as root would do no harm, just make sure you are not deleting something important.

agp27
January 4th, 2010, 03:36 AM
i did.. im getting it all transsferred... when im done transferring everything, what would happen if i installed the ubuntu 9.10?

Anuovis
January 4th, 2010, 05:37 AM
i did.. im getting it all transsferred... when im done transferring everything, what would happen if i installed the ubuntu 9.10?

Glad you at least saved your data.
I can not help you with the hard disk problem. If it is a hardware issue, a fresh installation would not help. It would be wise to check your disk anyway. But I do not know how to do this. Search web and these forums, maybe you will find the answer.

And don't give up on Ubuntu yet :)
Good luck.

agp27
January 4th, 2010, 06:12 AM
Ill try to keep using it.. i like the speed of it and how it looks. so ill keep using it until i get 1,000 dollars for a Mac...