Results 1 to 8 of 8

Thread: NEWBIE- Move Opensuse to Sata drive

  1. #1
    Join Date
    Sep 2009
    Posts
    46

    Default NEWBIE- Move Opensuse to Sata drive

    Hi everyone,
    I'm new to Opensuse, I'm currently using 11.1. All help greatly appreciated.

    I have an older PC that only boots from a 30Gb IDE drive. I have a new 500Gb Sata drive connected via PCI card interface but I cannot boot from Sata drive under old PC bios.


    My question is what's the easiest way to move all of Opensuse 11.1 (clone it) to Sata drive and still boot grub from IDE drive. This means also leaving the XP OS on IDE drive (sda1). Grub would then point to Opensuse on Sata HDD and XP on IDE HDD.



    The current configuration is as follows:


    Code:
    Disk /dev/sda: 30.0 GB, 30020272128 bytes
    255 heads, 63 sectors/track, 3649 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xcc9bcc9b                     
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1594    12803773+   c  W95 FAT32 (LBA)
    /dev/sda2            1595        1603       72292+   7  HPFS/NTFS      
    /dev/sda3   *        1604        3649    16434495    5  Extended       
    /dev/sda5            3558        3649      738958+  82  Linux swap / Solaris
    /dev/sda6            1604        2385     6281352   83  Linux               
    /dev/sda7            2386        3557     9414058+  83  Linux               
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x1b711b70                     
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       60475   485765406    7  HPFS/NTFS
    
    Disk /dev/sdc: 8019 MB, 8019509248 bytes
    45 heads, 45 sectors/track, 7734 cylinders
    Units = cylinders of 2025 * 512 = 1036800 bytes
    Disk identifier: 0x1c210561
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               4        7735     7827520    c  W95 FAT32 (LBA)
    
    Disk /dev/dm-0: 4194 MB, 4194303488 bytes
    255 heads, 63 sectors/track, 509 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
         Device Boot      Start         End      Blocks   Id  System

    Loads of thanks.

  2. #2

    Default Re: NEWBIE- Move Opensuse to Sata drive

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I'm not sure specifically but I'm guessing the best way to do this will be
    to just copy the data from one drive to another. For example create three
    partitions on your new drive (two for data, one optionally for swap),
    mount your new drive's root partition to /mnt while booted to OpenSuSE and
    then copy all of the directories over to that new drive. Do the same then
    for your other partition (probably /home normally) copying from the old
    drive to the new drive. You will not need to copy data from /proc or /dev
    over to the new system though it may try to do that if you just tell the
    system to copy everything.

    Doing this will give you the potential to tinker while working on this.
    You can verify the data on the destination side including permissions and
    such and then repurpose your old drive's space however you need to easily
    enough. The last step will be to point grub (/boot/grub/menu.lst) to your
    new partition. To do this keep a copy of your old entry for your current
    drive but then duplicate it and change the drive number to try to boot
    from. Hopefully that will work.

    Another thing that came to mind is you may need to mess around in
    /etc/fstab to get your new drive mounted (/ and /home) instead of the old
    one. I can't think of anything else but if you do it properly in Grub you
    should be able to back out and try a few times before committing
    completely and even commitment in this case would only mean setting the
    default boot option to your new drive.

    Good luck.





    87DI wrote:
    > Hi everyone,
    > I'm new to Opensuse, I'm currently using 11.1. All help greatly
    > appreciated.
    >
    > I have an older PC that only boots from a 30Gb IDE drive. I have a new
    > 500Gb Sata drive connected via PCI card interface but I cannot boot from
    > Sata drive under old PC bios.
    >
    >
    > My question is what's the easiest way to move all of Opensuse 11.1
    > (clone it) to Sata drive and still boot grub from IDE drive. This means
    > also leaving the XP OS on IDE drive (sda1). Grub would then point to
    > Opensuse on Sata HDD and XP on IDE HDD.
    >
    >
    >
    > The current configuration is as follows:
    >
    >
    >
    > Code:
    > --------------------
    > Disk /dev/sda: 30.0 GB, 30020272128 bytes
    > 255 heads, 63 sectors/track, 3649 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    > Disk identifier: 0xcc9bcc9b
    >
    > Device Boot Start End Blocks Id System
    > /dev/sda1 1 1594 12803773+ c W95 FAT32 (LBA)
    > /dev/sda2 1595 1603 72292+ 7 HPFS/NTFS
    > /dev/sda3 * 1604 3649 16434495 5 Extended
    > /dev/sda5 3558 3649 738958+ 82 Linux swap / Solaris
    > /dev/sda6 1604 2385 6281352 83 Linux
    > /dev/sda7 2386 3557 9414058+ 83 Linux
    >
    > Partition table entries are not in disk order
    >
    > Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    > 255 heads, 63 sectors/track, 60801 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    > Disk identifier: 0x1b711b70
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdb1 * 1 60475 485765406 7 HPFS/NTFS
    >
    > Disk /dev/sdc: 8019 MB, 8019509248 bytes
    > 45 heads, 45 sectors/track, 7734 cylinders
    > Units = cylinders of 2025 * 512 = 1036800 bytes
    > Disk identifier: 0x1c210561
    >
    > Device Boot Start End Blocks Id System
    > /dev/sdc1 4 7735 7827520 c W95 FAT32 (LBA)
    >
    > Disk /dev/dm-0: 4194 MB, 4194303488 bytes
    > 255 heads, 63 sectors/track, 509 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    > Disk identifier: 0x00000000
    >
    > Device Boot Start End Blocks Id System
    >
    > --------------------
    >
    >
    >
    > Loads of thanks.
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJK6X+dAAoJEF+XTK08PnB5dV4P/iwLCykAiJVbkvd0Yv+kwrXZ
    9BdHp7Oyep+3/o4RHRan+dDIu4UDKgyTATubxsMXZ9Md7RU3OqqpU/FfY9rIm+9o
    6YhCA3U/VNDoBt+R3ipVio0VjUyscC0g/q+FzjbwGKyGH5OrClDVCh3Un2pF2ZD9
    rbgOiyB3pZWNgw3/7+Rqw6X+c6Ykdn3akmWLheW/mySj3OlzwGjWp+4+RGniSwTf
    skP86bpwS1JIuojklUvf0hEI57x3hXYop/eTpgz+SpqTwweB213IWxyIUpG7pofW
    2Ti9LKUzWN4U0M++UrDg0tkE998wL3EMRDAxF/XL4OI5k0q2I7nDZPcpm0UTYXsm
    TtU1R5T5hn8KPiqcsZ8qlWnEsjIau+C8+UFgzPFoXrje7Fs6K2iNrpGCYGTF8g+d
    l8MKjsNSVqEzJ1v3AbMQ9nVXGIQ7pRfxljZTHxBzZcOSm7kWEroRBBnUOxoO/3ve
    /JOrRdNbbm0nIS02otnGS6IDM92hmq/v5MuWqyoPTX5yGb64jBbFriwoDIVXFU2K
    IfEC6Cv7n/mf8H2vPsRwLZLzRH6MWgojJkNqhyDBHqCTobSH0lKnNjwWF9ZZdD7A
    +jSpeZBt/XB28qBRF2EfTqYz+nrUK/qN1exSMHubJnKaprRvzFddxZzD5HY6glHy
    ykH8CKZ2XC2GhpNbTeTb
    =EqdO
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Sep 2009
    Posts
    46

    Default

    Thanks a million for your reply and information ab@novell.com. Much appreciated.

    I was thinking in the meantime that as Opensuse 11.2 is due for release soon I could install a clean new DVD version to Sata drive and just copy my docs across, taking advantage of new release.

    When running live DVD install is it possible to install to Sata drive and set grub on the IDE drive pointing to it?

    Would this be a manual type install rather than automatic?

    Many thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: NEWBIE- Move Opensuse to Sata drive

    I'd go for this last option. Wait for 11.2, take care that the IDE disk is the first one to boot from in the BIOS, install on the SATA drive. This way it should all fall in place automatically, without manual interference.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Sep 2009
    Posts
    46

    Default Re: NEWBIE- Move Opensuse to Sata drive

    Thanks Knurpht,

    I was wondering if you could tell me where grub is usually stored on the drive or perhaps you can tell from my drive information in first post?

    I have also found on a solved feature request that Opensuse 11.2 will have option to install as full suse encryption providing LVM is used.

    Another great reason to wait.

    Many thanks.

  6. #6

    Default Re: NEWBIE- Move Opensuse to Sata drive

    Instaling the OS on SATA but putting /boot and the bootloader onto the IDE will certainly work.

  7. #7
    Join Date
    Sep 2009
    Posts
    46

    Default Re: NEWBIE- Move Opensuse to Sata drive

    Thank you Akoellh,

    If I run install CD will installer recognise existing bootloader on IDE drive and add new Sata OS option to that or will I have to amend it manually afterward?

    Do you think I can run an automatic install to Sata drive or will this require a manual install and creating partitions?

    Like I said in OP I'm new to linux so do bear with me.

    Greatly appreciate your help and time.

  8. #8

    Default Re: NEWBIE- Move Opensuse to Sata drive

    A) Use the extended options in the partitioning setup

    B) Use the help screens available with every single step and read them carefully

Posting Permissions

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