LinuxQuestions.org
Register a domain and help support LQ
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 12-02-2010, 12:29 PM   #16
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

This is the drive that I want to copy to 1Tb sata hdd

PHP Code:
root@debian69firebird:/home/edward# fdisk -l /dev/sda

Disk /dev/sda40.0 GB40020664320 bytes
255 heads
63 sectors/track4865 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Sector size 
(logical/physical): 512 bytes 512 bytes
I
/O size (minimum/optimal): 512 bytes 512 bytes
Disk identifier
0x000d5181

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          43      340992   83  Linux
Partition 1 does not end on cylinder boundary
.
/
dev/sda2              43        4866    38738945    5  Extended
/dev/sda5              43        1137     8787968   83  Linux
/dev/sda6            1137        1502     2928640   83  Linux
/dev/sda7            1502        1943     3545088   82  Linux swap Solaris
/dev/sda8            1944        1992      389120   83  Linux
/dev/sda9            1992        4866    23084032   83  Linux 
 
Old 12-02-2010, 12:31 PM   #17
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Totally a "CloneZilla" job.

Just do a disk to disk clone... Or if you wish, make a full-disk ISO then restore it to the new disk.

http://clonezilla.org/
 
Old 12-02-2010, 12:34 PM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
This drive was actually installed 1st but was unplugged.
It was added yesterday using os-prober and update-grub.

PHP Code:
root@debian69firebird:/home/edward# fdisk -l /dev/sdb

Disk /dev/sdb1000.2 GB1000204886016 bytes
255 heads
63 sectors/track121601 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Sector size 
(logical/physical): 512 bytes 512 bytes
I
/O size (minimum/optimal): 512 bytes 512 bytes
Disk identifier
0x84ec1a97

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary
.
/
dev/sdb2              13       25509   204797618+   7  HPFS/NTFS 
 
Old 12-02-2010, 12:37 PM   #19
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Totally a "CloneZilla" job.

Just do a disk to disk clone... Or if you wish, make a full-disk ISO then restore it to the new disk.
Will it work adding to sdb?
 
Old 12-02-2010, 12:41 PM   #20
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Quote:
Originally Posted by EDDY1 View Post
Will it work adding to sdb?
If you were to Clone SDA(old) to SDB(new) you would lose all the information on SDB(new) first.

It would "Clone" sda to sdb -- meaning everything would be the same. Such as partition sizes. So, essentially, you would be using 40G of your new 1TB drive.

Then, you could either move and stretch your partitions using "gparted" or create a new partition, using the rest of the space.

Savvy?
 
Old 12-02-2010, 12:52 PM   #21
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Another thing the drive known as sdb has it's own mbr now it's seen as sdb where if I was to reboot remove sda and reboot it would boot.
If that makes any difference.
 
Old 12-02-2010, 12:55 PM   #22
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Do I see it right, that you have Windows 7 on the new drive? Do you want to keep that? Then don't clone the whole drive. In this case I think it would be simpler to craete the partitions like you want to have them and then work with cp/rsync.
 
Old 12-02-2010, 01:17 PM   #23
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I have about 750 unallocated space on this drive. Also another 1Tb sata hd.

My ultimate goal is to get my Debian machine going and also try out the Vm's, if the loss of 2 partitions affects that I can use my spare 1Tb drive.
 
  


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
How to install Linux on second Hard Drive (hd1) (sdb) Please help! P@trick99 Linux - Newbie 5 07-19-2008 02:45 AM
FC6 drive/partitions reconfig question sda sdb swap CaptainInsane Fedora 6 02-02-2007 04:00 PM
cannot find sda or sdb for mounting pen drive in RH9 sakal_woman Linux - Hardware 3 11-20-2006 10:41 PM
zip drive alternately mounts on /sda and /sdb timsch75 Linux - Hardware 6 09-26-2004 11:00 AM
Cannot Install Bootloader, XP on hda, Linux on sdb (USB MASS STORAGE DRIVE) neo5064 Linux - Newbie 3 12-29-2003 05:57 PM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration