S.O.S.... S.O.S.... S.O.S....
I've reinstalled OpenOffice 1.0 as user "mauede". I chose as directory for OpenOffice "/home/mauede" . The installation started but it stopped soon signalling it caould not find "jave Runtime" . I looked for "java" by "rpm -ql java". I got a long list of modules. The system answer to "which java" was "/usr/lib/jave/bin/java". Having figured aout "java" is installed I decided to quit OpenOffice installation and restart it providing the right path to "java". When I aborted OpenOffice installation it asked me if I wanted the whole directory to be deleted. As i prefer to restart from scratch I answered "yes" and immediately figured out it was deleting my user directory where I do have all my project "/home'mauede". Panicing I pushed the Reset" button on the computer tower. This action cauesed rebooting but ... it actually does not reboot... I can see on the screen that "fsck" failed and the system invokes a repair by running "fsck" manually. I tried and it suggested running "e2fsck". Unluckily this command expects some options and a device name. I do not know what to do ... How can I retrieve my s/w and my own user ??? I'm so desperate ..... Thank you , Maura
fsck needs to be run on each filesystem in turn. e2fsck -p /dev/hda1 e2fsck -p /dev/hda2 e2fsck -p /dev/hda3 e2fsck -p /dev/hda4 e2fsck -p /dev/hda5 if your system has only 1 hard drive. if it has more that 1 drive then the /dev/hda1 will probably be /dev/hdc1, c2, c3 and so on. The -p means "fix things automatically", so you shoukd be able to boot afterwards. About your user data in /home/maude/, all is not totally lost, though really I would recommend you get a friend with another linux PC to help you out, as it would help if you dont touch at all the hard drive you are wanting to recover - basically unplugging it and putting it into another machine would be a much safer start. I guess you're in windows or something at the moment, go read this: http://recover.sourceforge.net/linux/recover/ Im afraid ive never used it, so I dont know how good it is, but if you still havent run either an fsck or mounted that filesystem since rebooting, you do have a reasonable chance. Ewan On Thu, 2002-05-23 at 19:07, Maura Edelweiss Monville wrote:
I've reinstalled OpenOffice 1.0 as user "mauede". I chose as directory for OpenOffice "/home/mauede" . The installation started but it stopped soon signalling it caould not find "jave Runtime" . I looked for "java" by "rpm -ql java". I got a long list of modules. The system answer to "which java" was "/usr/lib/jave/bin/java". Having figured aout "java" is installed I decided to quit OpenOffice installation and restart it providing the right path to "java". When I aborted OpenOffice installation it asked me if I wanted the whole directory to be deleted. As i prefer to restart from scratch I answered "yes" and immediately figured out it was deleting my user directory where I do have all my project "/home'mauede". Panicing I pushed the Reset" button on the computer tower. This action cauesed rebooting but ... it actually does not reboot... I can see on the screen that "fsck" failed and the system invokes a repair by running "fsck" manually. I tried and it suggested running "e2fsck". Unluckily this command expects some options and a device name. I do not know what to do ... How can I retrieve my s/w and my own user ??? I'm so desperate .....
Thank you , Maura
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
I believe that you need to just run fsck /dev/hda if you have linux on the first IDE channel set as master. The /dev/hda parameter tells fsck what disk to do the check on. Good luck! Marshall Heartley A+,Network+ "Nothing is impossible, We just do not have all the anwsers to make the impossible possible." On Thu, 2002-05-23 at 14:07, Maura Edelweiss Monville wrote:
I've reinstalled OpenOffice 1.0 as user "mauede". I chose as directory for OpenOffice "/home/mauede" . The installation started but it stopped soon signalling it caould not find "jave Runtime" . I looked for "java" by "rpm -ql java". I got a long list of modules. The system answer to "which java" was "/usr/lib/jave/bin/java". Having figured aout "java" is installed I decided to quit OpenOffice installation and restart it providing the right path to "java". When I aborted OpenOffice installation it asked me if I wanted the whole directory to be deleted. As i prefer to restart from scratch I answered "yes" and immediately figured out it was deleting my user directory where I do have all my project "/home'mauede". Panicing I pushed the Reset" button on the computer tower. This action cauesed rebooting but ... it actually does not reboot... I can see on the screen that "fsck" failed and the system invokes a repair by running "fsck" manually. I tried and it suggested running "e2fsck". Unluckily this command expects some options and a device name. I do not know what to do ... How can I retrieve my s/w and my own user ??? I'm so desperate .....
Thank you , Maura
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
Oops! I forgot that you will need the partition number that you want checked also! So the command should be fsck /dev/hda(number of the partition that you want checked) ex fsck /dev/hda3 Marshall Heartley A+,Network+ "Nothing is impossible, We just do not have all the anwsers to make the impossible possible." On Thu, 2002-05-23 at 15:36, Marshall Heartley wrote:
I believe that you need to just run fsck /dev/hda if you have linux on the first IDE channel set as master. The /dev/hda parameter tells fsck what disk to do the check on.
Good luck!
Marshall Heartley A+,Network+
"Nothing is impossible, We just do not have all the anwsers to make the impossible possible."
On Thu, 2002-05-23 at 14:07, Maura Edelweiss Monville wrote:
I've reinstalled OpenOffice 1.0 as user "mauede". I chose as directory for OpenOffice "/home/mauede" . The installation started but it stopped soon signalling it caould not find "jave Runtime" . I looked for "java" by "rpm -ql java". I got a long list of modules. The system answer to "which java" was "/usr/lib/jave/bin/java". Having figured aout "java" is installed I decided to quit OpenOffice installation and restart it providing the right path to "java". When I aborted OpenOffice installation it asked me if I wanted the whole directory to be deleted. As i prefer to restart from scratch I answered "yes" and immediately figured out it was deleting my user directory where I do have all my project "/home'mauede". Panicing I pushed the Reset" button on the computer tower. This action cauesed rebooting but ... it actually does not reboot... I can see on the screen that "fsck" failed and the system invokes a repair by running "fsck" manually. I tried and it suggested running "e2fsck". Unluckily this command expects some options and a device name. I do not know what to do ... How can I retrieve my s/w and my own user ??? I'm so desperate .....
Thank you , Maura
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
On Thursday 23 May 2002 02:36 pm, Marshall Heartley wrote:
I believe that you need to just run fsck /dev/hda if you have linux on the first IDE channel set as master. The /dev/hda parameter tells fsck what disk to do the check on.
Actually, you need to specify the file system (read: partition), not just disk to check. So, assuming that it's on the first partition of the first IDE hard disk, you'd do: e2fsck /dev/hda1 The 'a' specifies which IDE disk (a=1, b=2, ...), and the '1' specifies the partition #. I know that it's (usually) possible to recover files that have been deleted, and I belieive that there's a whole HOWTO on the subject. Check out http://www.tldp.org/HOWTO/Filesystems-HOWTO-6.html#ss6.20 . Again: Best of luck. You might need it! -Nick
Several people have already responded. Just a couple of opinions: When you go into single user mode, you can tell what file systems are supposed to be mounted on what partitions. If you run fsck on the root partition, it is very important that it be mounted read only. SuSE normally leaves it in read only mode when you start up, but you can check in single user mode by trying to create a file. On other file systems, make sure they are unmounted. I prefer using fsck (coming from a classic Unix environment) rather than e2fsck et. al., but it is simply a wrapper which will select the correct one. so, assuming your file system is /dev/hda5: fsck -fsy /dev/hda5 The -f means force The -s means single thread (only relevant if you specify multiple) The -y means answer yes to all questions. If you don't specify you will be prompted for each fix. If you specify -n, then it will not fix anything. This is useful to get a handle on how many problems. On 23 May 2002 at 13:07, Maura Edelweiss Monville wrote:
I've reinstalled OpenOffice 1.0 as user "mauede". I chose as directory for OpenOffice "/home/mauede" . The installation started but it stopped soon signalling it caould not find "jave Runtime" . I looked for "java" by "rpm -ql java". I got a long list of modules. The system answer to "which java" was "/usr/lib/jave/bin/java". Having figured aout "java" is installed I decided to quit OpenOffice installation and restart it providing the right path to "java". When I aborted OpenOffice installation it asked me if I wanted the whole directory to be deleted. As i prefer to restart from scratch I answered "yes" and immediately figured out it was deleting my user directory where I do have all my project "/home'mauede". Panicing I pushed the Reset" button on the computer tower. This action cauesed rebooting but ... it actually does not reboot... I can see on the screen that "fsck" failed and the system invokes a repair by running "fsck" manually. I tried and it suggested running "e2fsck". Unluckily this command expects some options and a device name. I do not know what to do ... How can I retrieve my s/w and my own user ??? I'm so desperate .....
Thank you , Maura
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Jerry Feldman Enterprise Systems Group Hewlett-Packard Company 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752 508-467-4315 http://www.testdrive.compaq.com/linux/
participants (5)
-
Ewan Leith
-
Jerry Feldman
-
Marshall Heartley
-
Maura Edelweiss Monville
-
Nick LeRoy