Copying whole hard disk.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Copying whole hard disk.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Copying whole hard disk.  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 12:14 AM


After some time spending on Debian, now it is
time for me to switch to it as my daily OS.
After all tweaks I have done (on a small Hdisk),
I like to have the whole system copied to another
HDisk which also contains windows.
Is this possible, how do I do that?

Thanks,

Edmund





[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
ray


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 12:14 AM

On Tue, 04 Sep 2007 22:12:18 +0200, Edmund wrote:

>
> After some time spending on Debian, now it is
> time for me to switch to it as my daily OS.
> After all tweaks I have done (on a small Hdisk),
> I like to have the whole system copied to another
> HDisk which also contains windows.
> Is this possible, how do I do that?
>
> Thanks,
>
> Edmund

I assume that you mean to move it to the same disk which ms occupies and
run it from there. You will have to:

1) resize partitions on your main drive to make room. Easiest to do this
with gparted from a Live CD.

2) set up the partitions on the main drive - again, gparted from a Live CD.

3) copy your partitions (except swap) to the new drive. You can do this
from a Live CD assuming both drives are available at the same time. You
can also do this using partimage from a Live CD if you only have one drive
at a time in the system provided you have an external drive - like an
external USB hard drive or USB flash drive. You would use partimage to
backup and then to restore to the new drive. If both drives are available
you can use dd or rsync - and probably some other tools.

4) you will have to install grub (or some other boot loader) to the MBR
and have it point to the new partition - or use the ms loader - I'm not
familiar with that.

5) change the entry points in /etc/fstab to point to the new locations.






[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Roby


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 12:14 PM

ray wrote:

> On Tue, 04 Sep 2007 22:12:18 +0200, Edmund wrote:
> 
>
> I assume that you mean to move it to the same disk which ms occupies and
> run it from there. You will have to:
>
> 1) resize partitions on your main drive to make room. Easiest to do this
> with gparted from a Live CD.
>
> 2) set up the partitions on the main drive - again, gparted from a Live
> CD.
>
> 3) copy your partitions (except swap) to the new drive. You can do this
> from a Live CD assuming both drives are available at the same time. You
> can also do this using partimage from a Live CD if you only have one drive
> at a time in the system provided you have an external drive - like an
> external USB hard drive or USB flash drive. You would use partimage to
> backup and then to restore to the new drive. If both drives are available
> you can use dd or rsync - and probably some other tools.
>
> 4) you will have to install grub (or some other boot loader) to the MBR
> and have it point to the new partition - or use the ms loader - I'm not
> familiar with that.
>
> 5) change the entry points in /etc/fstab to point to the new locations.

Partimage restore requires source and destination partitions be the same
size.  Use tar if the destination partition is larger.





[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Guy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 06:19 PM

Edmund wrote:
> After some time spending on Debian, now it is
> time for me to switch to it as my daily OS.
> After all tweaks I have done (on a small Hdisk),
> I like to have the whole system copied to another
> HDisk which also contains windows.
> Is this possible, how do I do that?
>
> Thanks,
>
> Edmund

When I see this and have access to the person's system, I do the thing
with them, so they learn, and it is easier to fix any issues
immediately.  Less frustration.  But, I also have support of a hug LUG.
We have monthly Installfests.

Linux Users Groups can be located in Google, or on
http://lugww.counter.li.org or at http://Linux.org and search that
website for LUGs.  worldwide listings show about 700 LUGs.

Another thought, and often done well, is to grab SuperGRUB and install
it,  http://freshmeat.net/projects/supergrub/
after first putting your Debian drive as the second device on your IDE.

Saves lots of effort, and problems.

Install the second drive with the computer turned off.
make sure jumpers are set on the drives for Master / Slave.

Boot with the SuperGrub, and install it per the directions.

Upon any boot, you should see the GRUB menu, and choose Windows or Linux
for that session!







[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Unruh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 06:19 PM

Edmund <nomail@hotmail.com> writes:


>After some time spending on Debian, now it is
>time for me to switch to it as my daily OS.
>After all tweaks I have done (on a small Hdisk),
>I like to have the whole system copied to another
>HDisk which also contains windows.
>Is this possible, how do I do that?

It is not clear what you are asking. Why copy it? Are the two disks on the
same computer? There is no need to copy it. Just make a partition on the
larger disk and mount that as some convenient place on your system ( /home,
or /local)
Please be clearer as to what it is that you want.


>Thanks,

>Edmund





[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
ray


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-05-07 06:19 PM

On Wed, 05 Sep 2007 07:33:12 -0400, Roby wrote:

> ray wrote:
> 
>
> Partimage restore requires source and destination partitions be the same
> size.  Use tar if the destination partition is larger.

Or, make it the same size and expand it later using gparted.






[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-07 12:15 AM

Guy wrote:

> Edmund wrote: 
>
> When I see this and have access to the person's system, I do the thing
> with them, so they learn, and it is easier to fix any issues
> immediately.  Less frustration.  But, I also have support of a hug LUG.
>  We have monthly Installfests.
>
>   Linux Users Groups can be located in Google, or on
> http://lugww.counter.li.org
> or at http://Linux.org and search that
> website for LUGs.  worldwide listings show about 700 LUGs.

I will look for that but  http://lugww.counter.li.org
doesn't exist and on linux.org I don't see any search
option.
>
> Another thought, and often done well, is to grab SuperGRUB and install
> it,  http://freshmeat.net/projects/supergrub/
> after first putting your Debian drive as the second device on your IDE.
>
> Saves lots of effort, and problems.
>
> Install the second drive with the computer turned off.
> make sure jumpers are set on the drives for Master / Slave.
>
> Boot with the SuperGrub, and install it per the directions.
>
> Upon any boot, you should see the GRUB menu, and choose Windows or Linux
> for that session!

I don't think I want that.

Edmund






[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-07 12:15 AM

ray wrote:

> On Tue, 04 Sep 2007 22:12:18 +0200, Edmund wrote:
> 
>
> I assume that you mean to move it to the same disk which ms occupies and
> run it from there. You will have to:
>
> 1) resize partitions on your main drive to make room. Easiest to do this
> with gparted from a Live CD.

Is this a non destructive partition manager, can I resize
a Hard Disk a Windows Disk and still use windows afterwards?
>
> 2) set up the partitions on the main drive - again, gparted from a Live
> CD.
>
> 3) copy your partitions (except swap) to the new drive. You can do this
> from a Live CD assuming both drives are available at the same time. You
> can also do this using partimage from a Live CD if you only have one drive
> at a time in the system provided you have an external drive - like an
> external USB hard drive or USB flash drive. You would use partimage to
> backup and then to restore to the new drive. If both drives are available
> you can use dd or rsync - and probably some other tools.
>
> 4) you will have to install grub (or some other boot loader) to the MBR
> and have it point to the new partition - or use the ms loader - I'm not
> familiar with that.
>
> 5) change the entry points in /etc/fstab to point to the new locations.

Thanks you.

Edmund






[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
ray


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-07 12:15 AM

On Fri, 07 Sep 2007 21:20:28 +0200, Edmund wrote:

> ray wrote:
> 
>
> Is this a non destructive partition manager, can I resize
> a Hard Disk a Windows Disk and still use windows afterwards?

Absolutely. It's always good, of course, to make backups before you start
- the power could go out partway through. It's good to defrag first.
 
>
> Thanks you.
>
> Edmund






[ Post a follow-up to this message ]



    Re: Copying whole hard disk.  
Kai-Martin Knaak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-06-07 06:13 PM

On Fri, 07 Sep 2007 21:16:38 +0200, Edmund wrote:
 
>
> I don't think I want that.

What do you want instead?

Note, you can set a default OS and a period of time after which the
system will boot into the default OS. You can even configure grub to boot
into the OS chosen last time.

---<(kaimartin)>---
--
Kai-Martin Knaak
http://lilalaser.de/blog





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register