LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-08-2005, 02:30 PM   #1
ultrashawn
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
mount windows hard drive without partitioning


Hello everyone here is my situation. I currently have a comp running winxp with 2 hard drives (one 120GB and one 250GB.) The 120 is currently on the verge of dying (very loud screeching, taking 10 min to boot into) and this is the one windows boots off of. What I would like to do is copy both of these hard drives to a 160 GB hard drive I have running suse9.2 on another computer (I only have a total of 150 GB used between the 2 harddrives) I have read the article http://www.linuxquestions.org/questi...icle&artid=430 however when I add one of the harddrives to my SUSE system it recognizes but wants to partition it before I can use it. Is it possible to do this (dump both onto the 160?) I will be checking back on it regularly but any help is greatly appreciated.
 
Old 04-09-2005, 07:19 AM   #2
tommeke
LQ Newbie
 
Registered: Apr 2005
Location: Belgium
Distribution: Debian
Posts: 18

Rep: Reputation: 0
Does your SUSE distro have any partition-resize-and-copy tool? I suppose it has. I'd definately use it if it's there.

For manual labour:

Be root

type 'mount' to see which partitions are mounted (and thus can be u(n)mounted).

To see the names of the partitions on /dev/hda: type 'fdisk /dev/hda' and type p at the prompt.

man mount: read all about mounting. You'll need the name and partition number like (dev/hdc2).
And you need a directroy to mount it on, for example
cd /mnt
mkdir mountforhdc2
(I like very descriptive names when things are risky)

then, mount it!

mount -t ntfs /dev/hdc2 /mnt/mountforhdc2

when copying, you could use cp -rp /mnt/[from/]* /mnt/[to/]
-r to copy underlying directories
-p to preserve the time stamps of the files

Caveat: IFAIK you cannot install windows on a disk that already has linux patitions on it. So install Win on a blank disk, then add linux.

Last edited by tommeke; 04-09-2005 at 07:21 AM.
 
  


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
Why can't I mount my Windows hard drive from Linux? axess_denied Linux - Hardware 23 10-23-2006 11:53 PM
Mount Windows Hard drive in Linux burtongeek Linux - Newbie 26 03-28-2005 08:28 AM
Partitioning Second Hard Drive snutz411 Linux - Newbie 1 03-23-2004 11:20 PM
Partitioning an all Windows hard drive GoDiddly Linux - Newbie 8 11-30-2003 03:40 PM
how do i mount my windows partitions and secondary hard drive in RH9 kasperl Linux - Newbie 5 10-22-2003 05:26 AM


All times are GMT -5. The time now is 10:57 AM.

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