From: s0r1282@sigma.tamu.edu (RAVET, STEVEN) Subject: need help moving linux to a new hard drive Date: 15 Apr 1993 02:13 CST
OK, heres the deal: I had two IDE drives, a 120MB and a 40MB. I had DOS
stuff on the 120, so I put linux on the 40, just to look at it (no flames,
please). liked it, so I bought a 240MB drive. I don't want to re-install,
so how do I move it over? here are the details:
i have temporarily removed the 120MB.
I partitioned the 240 into a 100MB DOS partition, 140 MB linux partition.
the 240 is HD0, the 40 is HD1 (the 120 was HD0, the 40 has always been HD1).
i boot from my linux boot floppy, no problem.
i ran fdisk to create the linux partition. its there, no problem.
i changed the linux partition to type efs (extended file system).
saveed changes, quit fdisk
rebooted
did 'mkefs /dev/hda2 140224' (140224 is the size as reported by fdisk)
did 'mount /dev/hda2 /new'
this is where the problem sets in, i get 'unknown error xxxxx'
i also tried modifying the fstab file, to no avail.
i am new to this, if it is not obvious. what i want, if someone can tell
me how to get there, is:
to have the 120 back as HD0, and the 240 as HD1, and have the boot floppy
boot to partition 2 on the 240.
i really don't want to ftp another 80 disks or whatever, so if someone can
help me out i would really appreciate it. btw, i am using the SLS release
from mid-march. please reply via e-mail, as i cannot keep up with this
group. thanks a lot!
--steve