LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Computer reboots when reading partition!! (https://www.linuxquestions.org/questions/linux-general-1/computer-reboots-when-reading-partition-166271/)

mmarshall 04-04-2004 10:00 PM

Computer reboots when reading partition!!
 
Here is my problem:

I have always had my /home mounted on a partition separate from the rest of my linux installation. This has come in handy the couple of times that I have reinstalled SUSE Linux. (I seem to like messing with stuff that I know nothing about.) I always just mounted that partition as home when I reinstalled, and could have everything back the way it was with little effort.

Unfortunately, the last time that I reinstalled, my home partition seemed to have been damaged. It mounts OK, but whenever I try to read a file from it, my computer suddenly restarts! Any clue why it does that?

I do make backups of all of my important data, so I suppose that if I cannot solve this problem I am not totally lost. I just do not feel like re-downloading all of the stuff that I had downloaded, and setting all of my user preferences all over again.

Thanks for any help,

Matthew Marshall

aesahaettr 04-05-2004 03:18 AM

Hmmm. Try this: get to a console, login as root, 'umount /home', and 'fsck /dev/hda2' (or whatever the device for /home is). If that doesnt fix the problemo, try 'mount -o remount,ro /home' . That should at least make the filesystem accesible to transfer stuff off.

mmarshall 04-05-2004 08:40 AM

Thanks. I eventually did 'fsck --rebuild-tree /dev/hda4', and it seems that I only lost 14 files in to process.

Thanks again for the help!

Matthew Marshall


All times are GMT -5. The time now is 09:55 PM.