LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-25-2004, 06:21 AM   #1
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
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.
 
Old 11-25-2004, 06:45 AM   #2
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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.
 
Old 11-25-2004, 06:49 AM   #3
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
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
 
Old 11-26-2004, 05:44 AM   #4
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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?
 
Old 11-26-2004, 08:45 AM   #5
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
there should be a space betwee hdd and /mnt

"mount /dev/hdd /mnt/window"
 
Old 11-26-2004, 09:21 AM   #6
siyeclover
Member
 
Registered: Jan 2003
Location: RaMetal
Distribution: Solaris,FC2,FreeBSD
Posts: 41

Rep: Reputation: 15
um, run this command and post its result:

fdisk -l



siyeclover
 
Old 11-26-2004, 10:01 AM   #7
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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

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.



 
Old 11-26-2004, 10:25 AM   #8
siyeclover
Member
 
Registered: Jan 2003
Location: RaMetal
Distribution: Solaris,FC2,FreeBSD
Posts: 41

Rep: Reputation: 15
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

Last edited by siyeclover; 11-26-2004 at 10:38 AM.
 
Old 11-26-2004, 10:26 AM   #9
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 11-26-2004, 11:53 AM   #10
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
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
 
Old 11-26-2004, 11:55 AM   #11
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
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.
 
Old 11-26-2004, 01:57 PM   #12
Dharma_bum07
LQ Newbie
 
Registered: Oct 2004
Posts: 9

Original Poster
Rep: Reputation: 0
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


 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bidirectional data transfer ssg14j Linux - Networking 1 10-24-2005 07:59 AM
Using RescueCD to Transfer Data... BS Hall Linux - Newbie 2 07-18-2005 03:26 PM
Help!! loss of data transfer cabinetcrafter Mandriva 0 05-15-2004 10:42 PM
No data transfer ! shaahul Linux - Hardware 3 09-16-2003 02:08 AM
Data Transfer Woes Evilone Linux - Networking 5 07-11-2003 07:01 AM


All times are GMT -5. The time now is 03:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration