LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   recovering data (https://www.linuxquestions.org/questions/linux-general-1/recovering-data-242060/)

pirozzi 10-13-2004 05:14 AM

recovering data
 
i have a two disk pc. in the first one i've installed fc1 that work fine. in the second hd i've an old installation of mandrake and i cannot boot from this disk. what i'd like to try is recover some data (at least my mail) from this hd and then use it to have more room for the system i currently use.
can i mount the second hd from fedora?
where i can find the mail?
thank you

Mara 10-13-2004 01:58 PM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

To mount your old Linux partition you need to know which one is it first. Do it using fdisk, this way
fdisk -l /dev/hdb
/dev/hdb means primary slave disk. If it's a different one, you need to change it in the command. The result will be a table with device name, size and filesystem (Linux partitions are shown as 'Linux'). Find your Mandrake partition on the list. Size may probably help. When you have it run
mkdir /mnt/mandrake
(to create a new directory)
mount /dev/hdbX /mnt/mandrake
Replace X with the right value from above.

Which mail program have you used? Their mail directory locations are different.

pirozzi 10-14-2004 08:08 AM

as far as i can understand the name given for my second disk is hdb with three partion (boot, root and home).
as far as i can remember the mail program was kmail.
tks

Mara 10-15-2004 06:37 AM

There may be different schemes and you'd need to use fdisk to make sure which partition is which (or just mount them one by one and check), but my guess is
/dev/hdb1 boot
/dev/hdb5 root
/dev/hdb6 home
Your mail is on your /home partition. KMail keeps it in .Mail directory (beginning with '.') in your home (/home/yourname/.Mail).

james.farrow 10-15-2004 09:12 AM

I'm not suer if this is correct, but you can still boot mandrake if you edit the /boot/grub/grub.conf on fc1 and add the appropiate lines to it. Then you can save any data you want to the fc1 directories directly from mandrake. Just a thought.

pirozzi 11-30-2004 02:08 AM

i have to amend my last post. my 2nd hd is hdc and its tree partitions are boot, root and swap (not home as i said). so i assume that my mail should be in the root partition in .Mail folder.
is it so?
tks


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