Moving root disk to new hard drive

Moving root disk to new hard drive

Post by LDWilso » Thu, 26 Mar 1998 04:00:00

I'm attempting to upgrade my Linux hardware to a larger drive by using
tar  to write the root directory (and appropriate subdirectories) to
tape backup and read the result back to the new  drive. The data appears
to be written to the new drive, but the boot floppy hangs immediately
after mounting the new root partition (I'm not going to remove the
original disk until the new disk is proven)

current configuration:
/dev/hdc1    /
/dev/hdc2    (swap partition)
/dev/hdc3   /usr

desired new configuration
/dev/hdd1   /
/dev/hdc2   (swap partition)
/dev/hdc3   /usr

when I boot using the original Slackware boot disk, specifying
    mount root=/dev/hdc1
everything is happy, but
    mount root=/dev/hdd1
causes the system to hang.

Any ideas about what I'm missing?

Thanks in advance



1. Adding new hard disk and Moving root partition

I had one SCSI hard disk (2G)
  /dev/sda1 ---- win98 installed  (400MB)
  /dev/sda2~8 ---- Linux installed  (1.6GB)

Now I added a new hard disk (10GB)

  /dev/hda1 ---- win98 installed (7GB)
  /dev/dha2 ---- emptty (3GB for Linux)

  /dev/sda1 ---- empty (500MB)
  /dev/sda2~8 ---- Linux installed  (1.4GB)

Here is the "/etc/fstab"

/dev/sda1     /mnt/win95c          ext2   defaults 1 2
/dev/sda2     /                    ext2   defaults 1 1
/dev/sda3     none                 swap   sw
/dev/sda4     none                 ignore 0 0 0
/dev/sda5     /usr                 ext2   defaults 1 2
/dev/sda6     /usr/local           ext2   defaults 1 2
/dev/sda7     /home                ext2   defaults 1 2
/dev/sda8     /tmp                 ext2   defaults 1 2
/dev/fd0      /mnt/floppy          vfat   noauto,user 0 0
none          /proc                proc   defaults

I can't use LILO with this configuration.
I have two questions.

1) How can I move "/"(root partition) in /dev/sda2 to
   /dev/sda1 ?

2) Is there any method of using LILO with this configuration?

2. Help reqd on printing euro character

3. moving root disk to a new disk

4. Cant recognize 2nd SCSI Hard DRIVE

5. Replacing Hard Disk - Copying Linux system to new Hard Disk ????

6. Hypothetically speaking....

7. ***** Moving Linux to a new hard disk

8. OSR5 Q: Is there a way of getting an Iomega Ditto streamer working ?

9. Help - moving SCO 3.2v4.2 to new hard disk

10. Moving of existing SCO Unix OS Rel 3.0 Version 2 to a new hard disk

11. Moving BSD hard disk to a new computer

12. Moving system to new hard disk

13. Moving Linux to a new hard disk?