* Re: transfering linux system to another hard drive
transfering linux system to another hard drive Cheryl Homiak
@ ` Janina Sajka
` Geoff Shang
` Gregory Nowak
` (2 subsequent siblings)
3 siblings, 1 reply; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: blinux-list; +Cc: speakup, debian-user
Cheryl:
You should not think in terms of transferring your linux. The linux
operating system itself should be reinstalled.
Your data and configuration files, on the other hand, should be
transferred. The best mechanism is likely some kind of temporary storage
device, and an upload to someplace willing to accept the size of files
involved is probably a second choice, though likely untennable at modem
speeds. But you're on cable, right?
You mention tar'ing your /home directory. This is good. It can, and should
be restored after the new drive is installed. You should also take your
/etc tree and any important items from /var, such as /var/spool/mail,
/var/log (if you like), and /var/ftp and /var/www, if these exist.
Lastly, you should take /usr/local.
On Tue, 4 Dec 2001, Cheryl Homiak
wrote:
> I apologize for the cross-post, but I'm trying to get info as soon as
> possible; even if somebody has just seen this on one of these lists and
> can steer me toward the correct archive it would be appreciated.
> My hard drive with linux is failing; I have just obtained a 20gig drive
> which will have both my dos and linux on it. All drives--my dying linux
> drive, my old and tiny dos drive, and my new drive--are all connected to
> the computer. I will have to partition the hard drive, but it is being
> recognized correctly in the bios and linux. Eventually, the dying drive
> (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> will become hda. I want to know if there is a way to transfer my linux
> from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> need to partition the hard drive and the partitioning will probably be
> somewhat different from the old drive due to the difference in size.
> Sorry for the info repeat to those on blinux.
> I know I saw a discussion of just this problem somewhere recently but
> haven't been able to locate it.
> Also, can I make my partition that will hold dos with linux since I have
> no data already onthe hard drive to protect?
> thanks.
> Cheryl
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>
--
Janina Sajka, Director
Technology Research and Development
Governmental Relations Group
American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
Will electronic books surpass print books? Read our white paper,
Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther
King Jr's inspiring "I Have A Dream" speech at
http://www.afb.org/mlkweb.asp
Learn how to make accessible software at
http://www.afb.org/accessapp.asp
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Janina Sajka
@ ` Geoff Shang
0 siblings, 0 replies; 20+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
On Tue, 4 Dec 2001, Janina Sajka wrote:
> You should not think in terms of transferring your linux. The linux
> operating system itself should be reinstalled.
Why? This is not windows. Since it's only being moved to a new drive not
a new machine, I don't see any hassles. Of cource, if you're going to have
multiple partitions, be aware of this (i.e. partition your drive first and
mount all of them under your mountpoint when copying, etc).
Geoff.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: transfering linux system to another hard drive
transfering linux system to another hard drive Cheryl Homiak
` Janina Sajka
@ ` Gregory Nowak
` Cheryl Homiak
` Thomas Ward
` transfering " Geoff Shang
3 siblings, 1 reply; 20+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Format your new drive, and create the ext2 or whatever Linux fs you want.
Next, mount your new drive to /mnt or whatever mount point you want.
Then make the following directories.
mkdir /mnt/proc
mkdir /mnt/mnt
Then cd to the / (main directory), and get a list of all dirs in that directory.
Then copy over all of thoes directories from the list to your new drive.
However, do not copy lost+found, proc, and mnt directories.
For example, assuming you mounted your new drive on /mnt, and you want to copy your var
directory to your new drive, you'd do,
cp -a /var/ /mnt/
I would not recommend using mv, because programs still running on your system would need the moved dirs.
Don't forget to update /mnt/etc/fstab.
Then, prepare a loadlin disk to boot your new drive.
I recommend loadlin, because this is the easiest way.
Once you booted your new drive, look over /etc/lilo.conf to make sure it is ok,
then run
lilo
to install it to the new drive, and reboot. You should be all set.
Someone please correct me if I missed something here.
Hth.
Greg
On Tue, Dec 04, 2001 at 08:29:31AM -0600, Cheryl Homiak wrote:
> I apologize for the cross-post, but I'm trying to get info as soon as
> possible; even if somebody has just seen this on one of these lists and
> can steer me toward the correct archive it would be appreciated.
> My hard drive with linux is failing; I have just obtained a 20gig drive
> which will have both my dos and linux on it. All drives--my dying linux
> drive, my old and tiny dos drive, and my new drive--are all connected to
> the computer. I will have to partition the hard drive, but it is being
> recognized correctly in the bios and linux. Eventually, the dying drive
> (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> will become hda. I want to know if there is a way to transfer my linux
> from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> need to partition the hard drive and the partitioning will probably be
> somewhat different from the old drive due to the difference in size.
> Sorry for the info repeat to those on blinux.
> I know I saw a discussion of just this problem somewhere recently but
> haven't been able to locate it.
> Also, can I make my partition that will hold dos with linux since I have
> no data already onthe hard drive to protect?
> thanks.
> Cheryl
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Gregory Nowak
@ ` Cheryl Homiak
` Gregory Nowak
0 siblings, 1 reply; 20+ messages in thread
From: Cheryl Homiak @ UTC (permalink / raw)
To: speakup
On Tue, 4 Dec 2001, Gregory Nowak wrote:
> Format your new drive, and create the ext2 or whatever Linux fs you want.
Does creating the file system happen when I initialize athe partitions or
is this a separate step that I need to do? Since I am probably going to
use the rescue disk for debian potato r2 (speakup enabled) I think this
means
the system will be ext2 though I would eventually like to go to ext3.
Next, mount your new drive to /mnt
or whatever mount point you want.
Am I trying to mount the whole drive or just the root partition? Since
this hard drive is a lot larger than my old one, I was considering putting
some directorie on other partitions. Does this just mean I mount the
appropriate partition to transfer those directories? With a 20-gig hard
drive, I'll have a really big partition if I put the whole system (minus
boot and swap and a dos partition) on one partition.
Then, prepare a loadlin disk to
> boot your new drive.
Where should I look for information about doing a loadlin disk? The only
way I've ever used loadlin before is on a dos drive to boot into linux.
Thanks.
Cheryl
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Cheryl Homiak
@ ` Gregory Nowak
0 siblings, 0 replies; 20+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
1. I don't know what you mean when you ask if the partition will be initialized.
2. It depends on what you want to mount. If the root partition is the entire
drive, then mount the entire drive.
If your root partition takes up a part of the drive, mount your root partition.
3. Using loadlin is simple.
Get a blank DOS floppy, and put system files onto it.
>From a DOS prompt, this can be done with the sys command,
or you can select thhis option from the windows format disk menu in my computer.
Next, get a copy of loadlin.exe, and put it on the disk.
Then create autoexec.bat similar to the below lines depending on your configuration.
autoexec.bat
@echo off
loadlin vmlinuz root=/dev/hda1 speakup_synth=xxx speakup_ser=y ro
end autoexec.bat
Of course, adjust the above for your needs. Hth.
Greg
On Tue, Dec 04, 2001 at 10:17:43AM -0600, Cheryl Homiak wrote:
> On Tue, 4 Dec 2001, Gregory Nowak wrote:
>
> > Format your new drive, and create the ext2 or whatever Linux fs you want.
>
>
> Does creating the file system happen when I initialize athe partitions or
> is this a separate step that I need to do? Since I am probably going to
> use the rescue disk for debian potato r2 (speakup enabled) I think this
> means
> the system will be ext2 though I would eventually like to go to ext3.
>
> Next, mount your new drive to /mnt
> or whatever mount point you want.
>
> Am I trying to mount the whole drive or just the root partition? Since
> this hard drive is a lot larger than my old one, I was considering putting
> some directorie on other partitions. Does this just mean I mount the
> appropriate partition to transfer those directories? With a 20-gig hard
> drive, I'll have a really big partition if I put the whole system (minus
> boot and swap and a dos partition) on one partition.
>
> Then, prepare a loadlin disk to
> > boot your new drive.
>
> Where should I look for information about doing a loadlin disk? The only
> way I've ever used loadlin before is on a dos drive to boot into linux.
>
> Thanks.
>
>
> Cheryl
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: transfering linux system to another hard drive
transfering linux system to another hard drive Cheryl Homiak
` Janina Sajka
` Gregory Nowak
@ ` Thomas Ward
` Janina Sajka
` (2 more replies)
` transfering " Geoff Shang
3 siblings, 3 replies; 20+ messages in thread
From: Thomas Ward @ UTC (permalink / raw)
To: speakup
There is a great program out there called Image cast 4.5 that will do just
this sort of thing. It isn't free, but I love it.
Image cast does have a dos client which you can make a batch file for which
will do the following:
A. Image all your files, and if you want image [partitions as well. B.
converts it to a file which you send to another computer on your network or
another hard drive in your computer. C. I use a batch file which then
extracts the image onto the new hard drive, and it is easy as that.
If you are interrested email me off list and I'll see if I can help you get
up and running with IC 4.5, and get your drives imaged.
You can email me at:
tward@bright.net
----- Original Message -----
From: Cheryl Homiak <chomiak@chartermi.net>
To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
<debian-user@lists.debian.org>
Sent: Tuesday, December 04, 2001 9:29 AM
Subject: transfering linux system to another hard drive
> I apologize for the cross-post, but I'm trying to get info as soon as
> possible; even if somebody has just seen this on one of these lists and
> can steer me toward the correct archive it would be appreciated.
> My hard drive with linux is failing; I have just obtained a 20gig drive
> which will have both my dos and linux on it. All drives--my dying linux
> drive, my old and tiny dos drive, and my new drive--are all connected to
> the computer. I will have to partition the hard drive, but it is being
> recognized correctly in the bios and linux. Eventually, the dying drive
> (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> will become hda. I want to know if there is a way to transfer my linux
> from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> need to partition the hard drive and the partitioning will probably be
> somewhat different from the old drive due to the difference in size.
> Sorry for the info repeat to those on blinux.
> I know I saw a discussion of just this problem somewhere recently but
> haven't been able to locate it.
> Also, can I make my partition that will hold dos with linux since I have
> no data already onthe hard drive to protect?
> thanks.
> Cheryl
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Thomas Ward
@ ` Janina Sajka
` Gregory Nowak
` transferring " Steve Dawes
2 siblings, 0 replies; 20+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: speakup
Well, dd will do this for free under linux.
On Wed, 5 Dec 2001, Thomas Ward wrote:
> There is a great program out there called Image cast 4.5 that will do just
> this sort of thing. It isn't free, but I love it.
> Image cast does have a dos client which you can make a batch file for which
> will do the following:
> A. Image all your files, and if you want image [partitions as well. B.
> converts it to a file which you send to another computer on your network or
> another hard drive in your computer. C. I use a batch file which then
> extracts the image onto the new hard drive, and it is easy as that.
> If you are interrested email me off list and I'll see if I can help you get
> up and running with IC 4.5, and get your drives imaged.
> You can email me at:
> tward@bright.net
>
>
> ----- Original Message -----
> From: Cheryl Homiak <chomiak@chartermi.net>
> To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> <debian-user@lists.debian.org>
> Sent: Tuesday, December 04, 2001 9:29 AM
> Subject: transfering linux system to another hard drive
>
>
> > I apologize for the cross-post, but I'm trying to get info as soon as
> > possible; even if somebody has just seen this on one of these lists and
> > can steer me toward the correct archive it would be appreciated.
> > My hard drive with linux is failing; I have just obtained a 20gig drive
> > which will have both my dos and linux on it. All drives--my dying linux
> > drive, my old and tiny dos drive, and my new drive--are all connected to
> > the computer. I will have to partition the hard drive, but it is being
> > recognized correctly in the bios and linux. Eventually, the dying drive
> > (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> > will become hda. I want to know if there is a way to transfer my linux
> > from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> > need to partition the hard drive and the partitioning will probably be
> > somewhat different from the old drive due to the difference in size.
> > Sorry for the info repeat to those on blinux.
> > I know I saw a discussion of just this problem somewhere recently but
> > haven't been able to locate it.
> > Also, can I make my partition that will hold dos with linux since I have
> > no data already onthe hard drive to protect?
> > thanks.
> > Cheryl
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Janina Sajka, Director
Technology Research and Development
Governmental Relations Group
American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
Will electronic books surpass print books? Read our white paper,
Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther
King Jr's inspiring "I Have A Dream" speech at
http://www.afb.org/mlkweb.asp
Learn how to make accessible software at
http://www.afb.org/accessapp.asp
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Thomas Ward
` Janina Sajka
@ ` Gregory Nowak
` Thomas Ward
` transferring " Steve Dawes
2 siblings, 1 reply; 20+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Since we're discussing thoes programs, another good one is Norton Ghost.
Greg
On Wed, Dec 05, 2001 at 08:28:41AM -0500, Thomas Ward wrote:
> There is a great program out there called Image cast 4.5 that will do just
> this sort of thing. It isn't free, but I love it.
> Image cast does have a dos client which you can make a batch file for which
> will do the following:
> A. Image all your files, and if you want image [partitions as well. B.
> converts it to a file which you send to another computer on your network or
> another hard drive in your computer. C. I use a batch file which then
> extracts the image onto the new hard drive, and it is easy as that.
> If you are interrested email me off list and I'll see if I can help you get
> up and running with IC 4.5, and get your drives imaged.
> You can email me at:
> tward@bright.net
>
>
> ----- Original Message -----
> From: Cheryl Homiak <chomiak@chartermi.net>
> To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> <debian-user@lists.debian.org>
> Sent: Tuesday, December 04, 2001 9:29 AM
> Subject: transfering linux system to another hard drive
>
>
> > I apologize for the cross-post, but I'm trying to get info as soon as
> > possible; even if somebody has just seen this on one of these lists and
> > can steer me toward the correct archive it would be appreciated.
> > My hard drive with linux is failing; I have just obtained a 20gig drive
> > which will have both my dos and linux on it. All drives--my dying linux
> > drive, my old and tiny dos drive, and my new drive--are all connected to
> > the computer. I will have to partition the hard drive, but it is being
> > recognized correctly in the bios and linux. Eventually, the dying drive
> > (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> > will become hda. I want to know if there is a way to transfer my linux
> > from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> > need to partition the hard drive and the partitioning will probably be
> > somewhat different from the old drive due to the difference in size.
> > Sorry for the info repeat to those on blinux.
> > I know I saw a discussion of just this problem somewhere recently but
> > haven't been able to locate it.
> > Also, can I make my partition that will hold dos with linux since I have
> > no data already onthe hard drive to protect?
> > thanks.
> > Cheryl
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transfering linux system to another hard drive
` Gregory Nowak
@ ` Thomas Ward
0 siblings, 0 replies; 20+ messages in thread
From: Thomas Ward @ UTC (permalink / raw)
To: speakup
Hi, Gregory. However, Image Cast is much better than Ghost. There are many
technical reasons for this, but I've found IC to be a better image client.
----- Original Message -----
From: Gregory Nowak <gnowak1@uic.edu>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, December 05, 2001 5:14 PM
Subject: Re: transfering linux system to another hard drive
> Since we're discussing thoes programs, another good one is Norton Ghost.
> Greg
>
>
> On Wed, Dec 05, 2001 at 08:28:41AM -0500, Thomas Ward wrote:
> > There is a great program out there called Image cast 4.5 that will do
just
> > this sort of thing. It isn't free, but I love it.
> > Image cast does have a dos client which you can make a batch file for
which
> > will do the following:
> > A. Image all your files, and if you want image [partitions as well. B.
> > converts it to a file which you send to another computer on your network
or
> > another hard drive in your computer. C. I use a batch file which then
> > extracts the image onto the new hard drive, and it is easy as that.
> > If you are interrested email me off list and I'll see if I can help you
get
> > up and running with IC 4.5, and get your drives imaged.
> > You can email me at:
> > tward@bright.net
> >
> >
> > ----- Original Message -----
> > From: Cheryl Homiak <chomiak@chartermi.net>
> > To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> > <debian-user@lists.debian.org>
> > Sent: Tuesday, December 04, 2001 9:29 AM
> > Subject: transfering linux system to another hard drive
> >
> >
> > > I apologize for the cross-post, but I'm trying to get info as soon as
> > > possible; even if somebody has just seen this on one of these lists
and
> > > can steer me toward the correct archive it would be appreciated.
> > > My hard drive with linux is failing; I have just obtained a 20gig
drive
> > > which will have both my dos and linux on it. All drives--my dying
linux
> > > drive, my old and tiny dos drive, and my new drive--are all connected
to
> > > the computer. I will have to partition the hard drive, but it is being
> > > recognized correctly in the bios and linux. Eventually, the dying
drive
> > > (hda) will be removed as will the dos drive (hdd) and the new drive
(hdb)
> > > will become hda. I want to know if there is a way to transfer my
linux
> > > from the dying 2.5gig drive to the new 20gig; I am assuming I will
first
> > > need to partition the hard drive and the partitioning will probably be
> > > somewhat different from the old drive due to the difference in size.
> > > Sorry for the info repeat to those on blinux.
> > > I know I saw a discussion of just this problem somewhere recently but
> > > haven't been able to locate it.
> > > Also, can I make my partition that will hold dos with linux since I
have
> > > no data already onthe hard drive to protect?
> > > thanks.
> > > Cheryl
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: transferring linux system to another hard drive
` Thomas Ward
` Janina Sajka
` Gregory Nowak
@ ` Steve Dawes
` Adam Myrow
` (2 more replies)
2 siblings, 3 replies; 20+ messages in thread
From: Steve Dawes @ UTC (permalink / raw)
To: speakup
The free way to do this is as follows!
1. have both hard drives connected to the same computer
2. boot the system with a rescue disk, that contains the speaking kernels
and tools necessary to do the rest of this job.
3. once booted, type the following at the command prompt, leaving off the
quotes of course.
"dd if=/dev/hda of=/dev/hdb"
4. Mount the new drive
5. chroot
6. lilo
7. Remove the floppy.
8. shutdown
9. disconnect the original drive.
10. Boot the system, and voila.
This does work, as I know of people who have done exactly the steps listed
above.
Good Luck!!!
AND IT IS FREE!!!
Steve Dawes VE6AYT
> -----Original Message-----
> From: speakup-admin@braille.uwo.ca
> [mailto:speakup-admin@braille.uwo.ca]On Behalf Of Thomas Ward
> Sent: Wednesday, December 05, 2001 6:29 AM
> To: speakup@braille.uwo.ca
> Subject: Re: transferring linux system to another hard drive
>
>
> There is a great program out there called Image cast 4.5 that will do just
> this sort of thing. It isn't free, but I love it.
> Image cast does have a dos client which you can make a batch
> file for which
> will do the following:
> A. Image all your files, and if you want image [partitions as well. B.
> converts it to a file which you send to another computer on your
> network or
> another hard drive in your computer. C. I use a batch file which then
> extracts the image onto the new hard drive, and it is easy as that.
> If you are interested email me off list and I'll see if I can
> help you get
> up and running with IC 4.5, and get your drives imaged.
> You can email me at:
> tward@bright.net
>
>
> ----- Original Message -----
> From: Cheryl Homiak <chomiak@chartermi.net>
> To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> <debian-user@lists.debian.org>
> Sent: Tuesday, December 04, 2001 9:29 AM
> Subject: transfering linux system to another hard drive
>
>
> > I apologize for the cross-post, but I'm trying to get info as soon as
> > possible; even if somebody has just seen this on one of these lists and
> > can steer me toward the correct archive it would be appreciated.
> > My hard drive with linux is failing; I have just obtained a 20gig drive
> > which will have both my dos and linux on it. All drives--my dying linux
> > drive, my old and tiny dos drive, and my new drive--are all connected to
> > the computer. I will have to partition the hard drive, but it is being
> > recognized correctly in the bios and linux. Eventually, the dying drive
> > (hda) will be removed as will the dos drive (hdd) and the new
> drive (hdb)
> > will become hda. I want to know if there is a way to transfer my linux
> > from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> > need to partition the hard drive and the partitioning will probably be
> > somewhat different from the old drive due to the difference in size.
> > Sorry for the info repeat to those on blinux.
> > I know I saw a discussion of just this problem somewhere recently but
> > haven't been able to locate it.
> > Also, can I make my partition that will hold dos with linux since I have
> > no data already onthe hard drive to protect?
> > thanks.
> > Cheryl
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 20+ messages in thread* RE: transferring linux system to another hard drive
` transferring " Steve Dawes
@ ` Adam Myrow
` Angelo Sonnesso
` Victor Tsaran
` Steve Holmes
2 siblings, 1 reply; 20+ messages in thread
From: Adam Myrow @ UTC (permalink / raw)
To: speakup
I tried that once, and dd bombed saying that the maximum file size of 2GB
had been reached. Of course, I was copying to a file first, because I
didn't trust writing directly to another partition like that. Does that
get around the 2GB limit? Also, doesn't writing the image of a disk on
another make the second drive think it's the same size as the first?
I've copied manually, an entire Linux filesystem several times as I
experimented, and it can be done with a bit of effort. Also, parted runs
under Linux and can copy DOS or Windows partitions across from one drive to
another and set the size on the new drive correctly.
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transferring linux system to another hard drive
` transferring " Steve Dawes
` Adam Myrow
@ ` Victor Tsaran
` Gregory Nowak
` Steve Holmes
2 siblings, 1 reply; 20+ messages in thread
From: Victor Tsaran @ UTC (permalink / raw)
To: speakup
And what about mount points?
VIc
----- Original Message -----
From: "Steve Dawes" <sdawes@telusplanet.net>
To: <speakup@braille.uwo.ca>
Sent: Thursday, December 06, 2001 2:09 AM
Subject: RE: transferring linux system to another hard drive
> The free way to do this is as follows!
>
> 1. have both hard drives connected to the same computer
> 2. boot the system with a rescue disk, that contains the speaking kernels
> and tools necessary to do the rest of this job.
> 3. once booted, type the following at the command prompt, leaving off the
> quotes of course.
> "dd if=/dev/hda of=/dev/hdb"
> 4. Mount the new drive
> 5. chroot
> 6. lilo
> 7. Remove the floppy.
> 8. shutdown
> 9. disconnect the original drive.
> 10. Boot the system, and voila.
>
> This does work, as I know of people who have done exactly the steps listed
> above.
>
> Good Luck!!!
>
> AND IT IS FREE!!!
>
>
>
> Steve Dawes VE6AYT
>
> > -----Original Message-----
> > From: speakup-admin@braille.uwo.ca
> > [mailto:speakup-admin@braille.uwo.ca]On Behalf Of Thomas Ward
> > Sent: Wednesday, December 05, 2001 6:29 AM
> > To: speakup@braille.uwo.ca
> > Subject: Re: transferring linux system to another hard drive
> >
> >
> > There is a great program out there called Image cast 4.5 that will do
just
> > this sort of thing. It isn't free, but I love it.
> > Image cast does have a dos client which you can make a batch
> > file for which
> > will do the following:
> > A. Image all your files, and if you want image [partitions as well. B.
> > converts it to a file which you send to another computer on your
> > network or
> > another hard drive in your computer. C. I use a batch file which then
> > extracts the image onto the new hard drive, and it is easy as that.
> > If you are interested email me off list and I'll see if I can
> > help you get
> > up and running with IC 4.5, and get your drives imaged.
> > You can email me at:
> > tward@bright.net
> >
> >
> > ----- Original Message -----
> > From: Cheryl Homiak <chomiak@chartermi.net>
> > To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> > <debian-user@lists.debian.org>
> > Sent: Tuesday, December 04, 2001 9:29 AM
> > Subject: transfering linux system to another hard drive
> >
> >
> > > I apologize for the cross-post, but I'm trying to get info as soon as
> > > possible; even if somebody has just seen this on one of these lists
and
> > > can steer me toward the correct archive it would be appreciated.
> > > My hard drive with linux is failing; I have just obtained a 20gig
drive
> > > which will have both my dos and linux on it. All drives--my dying
linux
> > > drive, my old and tiny dos drive, and my new drive--are all connected
to
> > > the computer. I will have to partition the hard drive, but it is being
> > > recognized correctly in the bios and linux. Eventually, the dying
drive
> > > (hda) will be removed as will the dos drive (hdd) and the new
> > drive (hdb)
> > > will become hda. I want to know if there is a way to transfer my
linux
> > > from the dying 2.5gig drive to the new 20gig; I am assuming I will
first
> > > need to partition the hard drive and the partitioning will probably be
> > > somewhat different from the old drive due to the difference in size.
> > > Sorry for the info repeat to those on blinux.
> > > I know I saw a discussion of just this problem somewhere recently but
> > > haven't been able to locate it.
> > > Also, can I make my partition that will hold dos with linux since I
have
> > > no data already onthe hard drive to protect?
> > > thanks.
> > > Cheryl
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 20+ messages in thread* Re: transferring linux system to another hard drive
` Victor Tsaran
@ ` Gregory Nowak
0 siblings, 0 replies; 20+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Uhhm, what about them Vic?
Greg
On Thu, Dec 06, 2001 at 12:19:11PM +0100, Victor Tsaran wrote:
> And what about mount points?
> VIc
>
> ----- Original Message -----
> From: "Steve Dawes" <sdawes@telusplanet.net>
> To: <speakup@braille.uwo.ca>
> Sent: Thursday, December 06, 2001 2:09 AM
> Subject: RE: transferring linux system to another hard drive
>
>
> > The free way to do this is as follows!
> >
> > 1. have both hard drives connected to the same computer
> > 2. boot the system with a rescue disk, that contains the speaking kernels
> > and tools necessary to do the rest of this job.
> > 3. once booted, type the following at the command prompt, leaving off the
> > quotes of course.
> > "dd if=/dev/hda of=/dev/hdb"
> > 4. Mount the new drive
> > 5. chroot
> > 6. lilo
> > 7. Remove the floppy.
> > 8. shutdown
> > 9. disconnect the original drive.
> > 10. Boot the system, and voila.
> >
> > This does work, as I know of people who have done exactly the steps listed
> > above.
> >
> > Good Luck!!!
> >
> > AND IT IS FREE!!!
> >
> >
> >
> > Steve Dawes VE6AYT
> >
> > > -----Original Message-----
> > > From: speakup-admin@braille.uwo.ca
> > > [mailto:speakup-admin@braille.uwo.ca]On Behalf Of Thomas Ward
> > > Sent: Wednesday, December 05, 2001 6:29 AM
> > > To: speakup@braille.uwo.ca
> > > Subject: Re: transferring linux system to another hard drive
> > >
> > >
> > > There is a great program out there called Image cast 4.5 that will do
> just
> > > this sort of thing. It isn't free, but I love it.
> > > Image cast does have a dos client which you can make a batch
> > > file for which
> > > will do the following:
> > > A. Image all your files, and if you want image [partitions as well. B.
> > > converts it to a file which you send to another computer on your
> > > network or
> > > another hard drive in your computer. C. I use a batch file which then
> > > extracts the image onto the new hard drive, and it is easy as that.
> > > If you are interested email me off list and I'll see if I can
> > > help you get
> > > up and running with IC 4.5, and get your drives imaged.
> > > You can email me at:
> > > tward@bright.net
> > >
> > >
> > > ----- Original Message -----
> > > From: Cheryl Homiak <chomiak@chartermi.net>
> > > To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> > > <debian-user@lists.debian.org>
> > > Sent: Tuesday, December 04, 2001 9:29 AM
> > > Subject: transfering linux system to another hard drive
> > >
> > >
> > > > I apologize for the cross-post, but I'm trying to get info as soon as
> > > > possible; even if somebody has just seen this on one of these lists
> and
> > > > can steer me toward the correct archive it would be appreciated.
> > > > My hard drive with linux is failing; I have just obtained a 20gig
> drive
> > > > which will have both my dos and linux on it. All drives--my dying
> linux
> > > > drive, my old and tiny dos drive, and my new drive--are all connected
> to
> > > > the computer. I will have to partition the hard drive, but it is being
> > > > recognized correctly in the bios and linux. Eventually, the dying
> drive
> > > > (hda) will be removed as will the dos drive (hdd) and the new
> > > drive (hdb)
> > > > will become hda. I want to know if there is a way to transfer my
> linux
> > > > from the dying 2.5gig drive to the new 20gig; I am assuming I will
> first
> > > > need to partition the hard drive and the partitioning will probably be
> > > > somewhat different from the old drive due to the difference in size.
> > > > Sorry for the info repeat to those on blinux.
> > > > I know I saw a discussion of just this problem somewhere recently but
> > > > haven't been able to locate it.
> > > > Also, can I make my partition that will hold dos with linux since I
> have
> > > > no data already onthe hard drive to protect?
> > > > thanks.
> > > > Cheryl
> > > >
> > > >
> > > > _______________________________________________
> > > > Speakup mailing list
> > > > Speakup@braille.uwo.ca
> > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > > >
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 20+ messages in thread
* RE: transferring linux system to another hard drive
` transferring " Steve Dawes
` Adam Myrow
` Victor Tsaran
@ ` Steve Holmes
2 siblings, 0 replies; 20+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
The only question I have about this procedure is what if the destination
drive is much larger than the original? Wouldn't this cause the new drive
to have a smaller partition?
How do you preserve the full size of the partition on the new drive with
the specs used to create it?
On Wed, 5 Dec 2001, Steve Dawes wrote:
> The free way to do this is as follows!
>
> 1. have both hard drives connected to the same computer
> 2. boot the system with a rescue disk, that contains the speaking kernels
> and tools necessary to do the rest of this job.
> 3. once booted, type the following at the command prompt, leaving off the
> quotes of course.
> "dd if=/dev/hda of=/dev/hdb"
> 4. Mount the new drive
> 5. chroot
> 6. lilo
> 7. Remove the floppy.
> 8. shutdown
> 9. disconnect the original drive.
> 10. Boot the system, and voila.
>
> This does work, as I know of people who have done exactly the steps listed
> above.
>
> Good Luck!!!
>
> AND IT IS FREE!!!
>
>
>
> Steve Dawes VE6AYT
>
> > -----Original Message-----
> > From: speakup-admin@braille.uwo.ca
> > [mailto:speakup-admin@braille.uwo.ca]On Behalf Of Thomas Ward
> > Sent: Wednesday, December 05, 2001 6:29 AM
> > To: speakup@braille.uwo.ca
> > Subject: Re: transferring linux system to another hard drive
> >
> >
> > There is a great program out there called Image cast 4.5 that will do just
> > this sort of thing. It isn't free, but I love it.
> > Image cast does have a dos client which you can make a batch
> > file for which
> > will do the following:
> > A. Image all your files, and if you want image [partitions as well. B.
> > converts it to a file which you send to another computer on your
> > network or
> > another hard drive in your computer. C. I use a batch file which then
> > extracts the image onto the new hard drive, and it is easy as that.
> > If you are interested email me off list and I'll see if I can
> > help you get
> > up and running with IC 4.5, and get your drives imaged.
> > You can email me at:
> > tward@bright.net
> >
> >
> > ----- Original Message -----
> > From: Cheryl Homiak <chomiak@chartermi.net>
> > To: <blinux-list@redhat.com>; speakup <speakup@braille.uwo.ca>;
> > <debian-user@lists.debian.org>
> > Sent: Tuesday, December 04, 2001 9:29 AM
> > Subject: transfering linux system to another hard drive
> >
> >
> > > I apologize for the cross-post, but I'm trying to get info as soon as
> > > possible; even if somebody has just seen this on one of these lists and
> > > can steer me toward the correct archive it would be appreciated.
> > > My hard drive with linux is failing; I have just obtained a 20gig drive
> > > which will have both my dos and linux on it. All drives--my dying linux
> > > drive, my old and tiny dos drive, and my new drive--are all connected to
> > > the computer. I will have to partition the hard drive, but it is being
> > > recognized correctly in the bios and linux. Eventually, the dying drive
> > > (hda) will be removed as will the dos drive (hdd) and the new
> > drive (hdb)
> > > will become hda. I want to know if there is a way to transfer my linux
> > > from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> > > need to partition the hard drive and the partitioning will probably be
> > > somewhat different from the old drive due to the difference in size.
> > > Sorry for the info repeat to those on blinux.
> > > I know I saw a discussion of just this problem somewhere recently but
> > > haven't been able to locate it.
> > > Also, can I make my partition that will hold dos with linux since I have
> > > no data already onthe hard drive to protect?
> > > thanks.
> > > Cheryl
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: transfering linux system to another hard drive
transfering linux system to another hard drive Cheryl Homiak
` (2 preceding siblings ...)
` Thomas Ward
@ ` Geoff Shang
` Gregory Nowak
3 siblings, 1 reply; 20+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
On Tue, 4 Dec 2001, Cheryl Homiak wrote:
> My hard drive with linux is failing; I have just obtained a 20gig drive
> which will have both my dos and linux on it. All drives--my dying linux
> drive, my old and tiny dos drive, and my new drive--are all connected to
> the computer. I will have to partition the hard drive, but it is being
> recognized correctly in the bios and linux. Eventually, the dying drive
Ah good, at least you won't need a bios upgrade. I recently got a 30gb
drive and had to upgrade the bios in order that windows would see all of
it. I don't know if DOS needs the DOS partition to be first or anything, I
don't know what DOS's limitations are.
> (hda) will be removed as will the dos drive (hdd) and the new drive (hdb)
> will become hda. I want to know if there is a way to transfer my linux
> from the dying 2.5gig drive to the new 20gig; I am assuming I will first
> need to partition the hard drive and the partitioning will probably be
> somewhat different from the old drive due to the difference in size.
Yeah. You first need to partition your new drive. then you will need to
initialise (i.e. format) each partition. Keep in mind how you're going to
use these. then you can probably follow greg's instructions (i.e. mounting
the new drive under /mnt and shifting stuff across). Remember to mount all
your linux partitions so that stuff ends up in its right partition (i.e. if
you want a seperate /usr or /var partition then make these dirs then mount
accordingly). Here's an example. You have a root partition, a home
partition and a usr partition. These are /dev/hdb1, /dev/hdb3 and
/dev/hdb4, for argument's sake. You'd need to do:
mount /dev/hdb1 /mnt
mkdir /mnt/home
mount /dev/hdb3 /mnt/home
mkdir /mnt/usr
mount /dev/hdb4 /mnt/usr
Hope this makes sense.
> Also, can I make my partition that will hold dos with linux since I have
> no data already onthe hard drive to protect?
urrr. If you mean, can you use linux to make your dos partition, then I
think the answer is yes. That is to say, yes, but I'm not sure what you'd
use to format it.
Geoff.
^ permalink raw reply [flat|nested] 20+ messages in thread