Find the answer to your Linux question:
Results 1 to 4 of 4
I have linux installed on the second of two HDDs -- it's on hdb, hda is empty. I would like to interchange the two (without reinstalling the OS); could this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Location
    Indiana
    Posts
    54

    Interchanging HDDs (hda<-->hdb)


    I have linux installed on the second of two HDDs -- it's on hdb, hda is empty. I would like to interchange the two (without reinstalling the OS); could this be achieved by installing a bootloader (lilo) on the current hdb, editing lilo.conf to reflect this then physically interchanging the HDDs (and jumper settings)?

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    This can certainly be done. I'm more familiar with Grub than Lilo, so I'm not sure what Lilo will require, but of course the bootloader must point to the correct location of the kernel and root directory and initrd if used. You will also need to change your /etc/fstab file so that your
    • /dev/hdb1 /boot ext3 defaults 1 2
      ...now points to...
      /dev/hda1 /boot ext3 defaults 1 2
    etc.
    /IMHO
    //got nothin'
    ///this use to look better

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Location
    Indiana
    Posts
    54
    I forgot about fstab. Thanks Drakebasher.

  4. #4
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Your avatarcreeps me
    ....and......... ....awes me at once....
    /IMHO
    //got nothin'
    ///this use to look better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •