Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, this is astrophysicist. It has been a long time since I posted a message, but I haven't had a problem until now. This is major!!!! I need to fix ...
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Location
    New Jersey
    Posts
    27

    HELP!! DEBIAN SYSTEM CRASHED!! NEED TO SAVE DATA!

    Hello, this is astrophysicist. It has been a long time since I posted a message, but I haven't had a problem until now. This is major!!!! I need to fix this ASAP!!! Here is my scenario:

    I needed to reinstall windows, but in doing so, my grub bootloader was bypassed by windows startup. I needed to get the grub bootloader back so I put my debian install cd in hops to just install the grub bootlaoder. I was unsuccessful in getting it to install, however I got Knoppix LiveCD and used it to install the grub bootlaoder. Now when I select debian kernel 2.6 to load (that is the only linux I have), I get an error at the end of the loading saying the xserver cannot be started. The setup is incorect.

    It says it is missing /usr/x11R6/lib/modules/extensions/libGLcore
    It says it failed to initalize core devices.
    Also my eth0 isn't configtured. dhcpcd isn't a command in my system, but dhcpclient is. However I get an error after entering the command dhcpclient saying that the address family is not compatible with the protocol???

    All I really want to do is save my email message from mozilla-thunderbird and then I will reinstall debian (reformat it). I really need to retrieve these message though.
    Maybe I need to somehow configure eth0?
    Any ideas!!

    Thanks.

    - Astrophysicist

  2. #2
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    One quick way would be to use Knoppix (or any other live CD) and copy the email files to another partition, or perhaps a usb stick. Or to another computer, if one is connected. This is, of course, if there's not too much stuff.
    Stumbling around the 'net:
    www.cloudyuseful.com

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    If your Debian filesystem is ext2 or ext3, and you have Windows 2000, XP or NT, you can use the instructions http://uranus.it.swin.edu.au/~jn/linux/ext2ifs.htm to move your files to the Windows partition from Windows. Then, after you reinstall Debian, mount the Windows partion, and copy the files back.

  4. #4
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    To put yet another twist on the suggestions already made, you can also boot with knoppix and then scp the files to another (sshd) machine on your network.

    I have a very low-end, inexpensive SuSE box sitting around for this purpose.

  5. #5
    fpd
    fpd is offline
    Just Joined!
    Join Date
    Feb 2005
    Posts
    11
    All the mail is located in:

    $HOME/Mail/

    So, I use this command to make a tarball of my /Mail directory:

    tar -cvf $HOME/mymail.tar $HOME/Mail/

    Then I gzip the tarball:

    gzip mytarball.tar

    Then I move the resulting file to my USB thumb drive:

    mv mytarball.tar.gz /mnt/sda1/

    With a LiveCD, you could tranfer the gztar'd file via email or network or write it to CD.

    Gunzip and Untar (tar -xvf) the file in another $HOME directory (the untar will create the /Mail directory). Open Kmail, or any Unix mail reader, and you will have all your email and directories.

    p.s. I have no post secondary education certificates whatsoever. Doesn't that make ME look good?!

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Location
    3rd stone
    Posts
    4
    [quote="fpd"]

    tar -cvf $HOME/mymail.tar $HOME/Mail/

    Then I gzip the tarball:

    gzip mytarball.tar



    Gunzip and Untar (tar -xvf) the file in another $HOME directory (the untar will create the /Mail directory).


    shortcut to gzipping tar file use the z option
    or use j for bzipped files

    tar zcvf whatever.tar.gz whatever
    tar zxvf whatever.tar.gz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •