Announcement

Collapse
No announcement yet.

Building a new machine (migration question)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Building a new machine (migration question)

    So I'm building a new machine: motherboard: intel DH55PJ, i7 processor socket 1156, and these to convert my IDE drive to SATA.

    The last item is my main concern. I have two IDE drives (320GB and 160GB) that I'd like to continue using in the new machine but, like most modern mobos I've found, there is no IDE on deck. Once the machine is built, I'd like to just put these harddrives into the machine, boot up, and go on with business as usual.

    My question is: since the IDE-SATA converters will (probably?) change my harddrive mapping, will I experience any problems with this swap (i.e. grub not knowing where my root directory is, etc.)?

    Anybody been through this migration procedure?
    Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
    Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
    Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

    #2
    Re: Building a new machine (migration question)

    After getting the machine all ready to run, boot to a live CD. Then open a command line and run
    Code:
    ls -l /dev/disk/by-uuid
    Then modify /etc/fstab to use the UUID of the disk you want to boot to. Thh fstab entry will begin UUID=. Here is a copy of my fstab to show how:

    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=2dcdd921-80b4-417b-aab3-443d9b72a643 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=51b6f01f-3969-47f5-a6a6-1785a385a4d0 none swap sw 0 0
    UUID=6dfab0e4-1149-49d3-a2e9-8f593a3589c7 /mnt/Lucid64 auto users,atime,auto,rw,nodev,noexec,nosuid 0 0
    UUID=44ca67a0-71a5-43e8-83b9-2e2b8516a75c /mnt/Backups ext3 rw,noexec,users 0 0
    #UUID=866018AC6018A549 ntfs-3g /mnt/Customer defaults,uid=1000,gid=1000,locale=en_US.utf8 0 0
    UUID=cb41502c-624a-4c5b-bdb0-e2dbf91b8e00 /mnt/Trinity auto users,atime,auto,rw,nodev,noexec,nosuid 0 0


    Then in your bios make sure that the disk, which should already have grub on it if it was your primary disk before, is the first disk in the hard disk boot order and you should be good to go.

    Comment


      #3
      Re: Building a new machine (migration question)

      Right -- what Detonate said.

      To put a finer point on it, the partitions on your IDE drives will have the same UUID numbers in the new machine as they do in your current machine. As long as you set up the /etc/fstab file to use UUIDs, and not /dev/sdx IDs, they will be seen the same.

      Comment


        #4
        Re: Building a new machine (migration question)

        I knew there was a reason why I updated fstab months ago to use UUIDs!

        Thanks so much guys. I'm really looking forward to this upgrade
        Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
        Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
        Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

        Comment

        Working...
        X