LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Data Transfer (https://www.linuxquestions.org/questions/linux-newbie-8/data-transfer-259130/)

Dharma_bum07 11-25-2004 07:21 AM

Data Transfer
 
I need to transfer 57 gigs of FAT32 data from an old hard drive (hdd) to my new 200 gig Seagate Barracuda (hdc). I created the following partitions on the Seagate:
1) / (ReiserFS) (20 gigs)
2) Linux Swap (200 mgs)
3) /mnt/windows (FAT32) (60 gigs)
4) /winme2 (FAT32) (80 gigs)

In the Mandrake control center i can see the 57 gigs on the old drive (hdd). I need to transfer the data to the new drive (hdc). I was thinking of putting it in /mnt/windows. I'm pretty sure i'll need to do this in the shell, but i have no idea which commands i need to use & how to implement them. I'm famliar with how Windows works, but as far as Linux goes, i'm a newbie. I live on an island where tech support is very limited at best. If any one could help walk me through this, i would be eternally greatful. Thanks for your time. :)

0pal_t0ad 11-25-2004 07:45 AM

as long as another disk hasn't already been mounted to /mnt/windows u can do it there.
the command you want is 'mount /dev/hd** /mnt/windows' just replace hd** with hdd1 or whatever the the number for ur hdd is.

0pal_t0ad 11-25-2004 07:49 AM

1) / (ReiserFS) (20 gigs) will be hdc1
2) Linux Swap (200 mgs) hdc2
3) /mnt/windows (FAT32) (60 gigs) hdc3
4) /winme2 (FAT32) (80 gigs) hdc4

Dharma_bum07 11-26-2004 06:44 AM

Ok, now when i mount dev/hdd/mnt/windows it tells me:
mount: can't find dev/hdd/mnt/windows in /etc/fstab or /etc/mtab
In the countrol center i can see it. Any suggestions?:)

drisay 11-26-2004 09:45 AM

there should be a space betwee hdd and /mnt

"mount /dev/hdd /mnt/window"

siyeclover 11-26-2004 10:21 AM

um, run this command and post its result:

fdisk -l



siyeclover

Dharma_bum07 11-26-2004 11:01 AM

Uh...

No need to poke fun, i just dont understand much about Linux, but I do know that fdisk will erase my drive.

I put the space in there like so:
mount /dev/hdd /hdd/windows & then it tells me:

mount: /dev/hdd already mounted or /hdd/windows busy
mount: according to mtab, /dev/hdd1 is already mounted on /hdd/windows

I'm tryin' to transfer data from the old hard drive (hdd1) to the new one (with 4 partitions). I'd like to move the data to the 3rd partition which is (hdc3). So wouldn't i type it like so:
mount /dev/hdd1 /hdc3/mnt/windows :confused:

When i do that it tells me mount point hdc3/mnt/windows does not exist.
Is it telling me that hdc3 does not exist? That doesn't make sense...
arrgghh... I'd just like to move the data to my new drive & place it in a folder on my desktop.



:newbie:

siyeclover 11-26-2004 11:25 AM

fdisk -l will list the partition tables for all drive ,not erase your drive.
man fdisk ,plz.

I just want to know your partiton tables and tell you how to mount it.
It's a pity that you think I poke fun at you.


siyeclover

Dharma_bum07 11-26-2004 11:26 AM

I just noticed that my bootloader (GRUB) only recognizes the 1st partition on the drive (hdc1) which is ReiserFS. it does not see the other FAT32 partions: hdc3 (/mnt/windows) & hdc4 (/winme2). So, in my control panel, i can clearly see all the partitions, however GRUB does not see all of them. This can't be good:(

drisay 11-26-2004 12:53 PM

fdisk -l will list your partition table as noted... he wasn't trying to poke fun

if /mnt/windows is already mounted then you can simply copy files over from the /mnt/windows directory to the mount point you want using something similar to

cp /mnt/windows/file_to_be_copied /directory/to/copy/your/files/.

you'll probably want to copy them to /home/your_user_name/. or something of the sorts.

you can also startup a file manager like midnight commander by typing mc... that will give you a more gui interface to do what you got to do

drisay 11-26-2004 12:55 PM

also... as siyeclover pointed out for fdisk... man is a good utility to get used to using (ie. man any_command_here). it gives you a detailed usage of any linux command available on your system. good practice to read this the first time you are using a utility as some commands are not very forgiving if you mess something up with them.

Dharma_bum07 11-26-2004 02:57 PM

Ok...

Device Boot Start End blocks Id System

/dev/hdc1 1 2549 20474811 83 Linux
/dev/hdc2 2550 2574 200812+ 5 Extended
/dev/hdc3 2575 10222 61432560 b W95 FAT32
/dev/hdc4 10223 20420 81915435 b W95 FAT32
/dev/hdc5 2550 2574 200781 82 Linux swap

disk /dev/hdd: 61.4 gigabytes 614928384000 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders 16065 * 512 = 8225280 bytes
/dev/hdd1 1 7476 60050938 c W95 FAT (LBA)

Ok, i have made some progress on this. The partition on my old hard drive is labled /hdd/windows. When i open /hdd/windows in Konqueror it tells me: "Access denied to /hdd/windows" If i could gain access to the drive, then i could copy files, correct? Thanks for all your patience & help, & i apologize about the fdisk thing:)


:newbie:


All times are GMT -5. The time now is 06:01 PM.