hard-drive or grub error, please help

Asked by Jayesh

i restarted my pc as usual then after grub menu i entered UBUNTU then after loading
and before coming log in screen the screen went blank and following message appeared

ubuntu jayesh-desktop tty1

jayesh-desktop login: * stopping server ntpd (cursor blinks below d if i hit enter )

ubuntu 9.10 jayesh-desktop login: (typing my user name here and hit enter )
password (typing my password here)

/etc/update-motd.d/90-updates-available:52:cannot create /var/lib update-notifier/updates available :read only file system

runparts: /etc/upate-motd.d/90-updates-available exited with return code 2 Linux jayesh-desktop.2.6.31-19-generic ~56ubuntu SMP THU JAN 28 01:26:53UTC 10 i66

to access official ubuntu documentation please vist
http://help.ubuntu.com

the programs included with the ubuntu system are free; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright

ubuntu comes with absolutely no warranty to the extent by applicable law

jayesh@jayeshdesktop:

i have very important data please help me what to do please help

how to get back desktop screen

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Trygve Vea (trygve-vea-gmail) said :
#1

I'm answering this question by making assumptions - as there is very little that can help me diagnose your problem - but here goes;

It seems that your harddrive has been mounted as read-only. This may be because there's a problem with your harddrive.

I suggest you try to perform a filesystem check.
Try to log in as yourself, then run;

 mount

It will list your mounted block devices and their mount points.
One or more of the block devices should start with "/dev/". For each of these, you can run:

 fsck blockdevice
(e.g. fsck /dev/sda1, if that's the name)

That may solve your problem.

I will however, urge you to boot your system with a live CD, connect an external harddrive or similar, and salvage your files - because there is a risk of the harddrive being unstable at this time - and that your files will be lost if you don't do this very soon.

I hope this helps.

Regards, Trygve

Revision history for this message
Tom (tom6) said :
#2

Hi :)

Do you have an Ubuntu Cd that you can use as a LiveCd?
https://help.ubuntu.com/community/LiveCD

Good luck with this
Regards from
Tom :)

Revision history for this message
Jayesh (motwani-jayesh) said :
#3

yes i tried that option logged onto with jayesh

jayesh@jayesh-desktop:~$ mount
/dev/sda1 on type ext3(rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs(rw,noexec,nosuid,nodev)
udev on/dev type (tmpfs(re,mode=0075)
none on /dev/pts type devpts(rw,noexec,nousid,gid=5,mode=0620)
none on /dev/shm type tmps9rw,nosusid,nodev)
none on /dev/run type tmps(rw,nosusid,mode=0755)
none on /var/lock type tmpfs(rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs(rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt-miscype
binfmt_miscr,noexec,nosuid,nodev)

jayesh@jayesh-desktop:~$fsck /dev/sda1(hit enter)
fsck from util-linux-ng 2.16
e2fsck 1.41.9(22-AUG-2009)
fsck.ext3:permission denied while trying to open /dev/sda1
you must have r/w access to the file system or be root

(i became root)
jayesh@jayesh-desktop:~$ sudo su
root@root
bash: cannot create tempfile for here_document read only file system

i had installed pysdm long ago but configured /dev/sda1 drive
i used live cd went to /dev/sda1
searched for pysdm
and deleted pysdm
again the same problem
just tell me how to change r/w options permanent

Revision history for this message
Jayesh (motwani-jayesh) said :
#4

please help me i tried the above steps but cant log onto my desktop

Revision history for this message
Tom (tom6) said :
#5

Hi :)

I think the situation has reached Data Recovery scenario time
https://help.ubuntu.com/community/DataRecovery

I hope this link helps!
Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#6

Hi :)

Have you been able to test the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta1
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask Jayesh for more information if necessary.

To post a message you must log in.