Page 1 of 6 123 ... LastLast
Results 1 to 10 of 58

Thread: Advice needed how to migrate a dual boot install to a MSATA drive.

  1. #1

    Default Advice needed how to migrate a dual boot install to a MSATA drive.

    Dear all,

    I am planning to exchange the hard disk of my laptop for a MSATA drive. I have a Open Suse 13.2/Windows 7 dual boot install.
    I see a potential problem in the fact that the Msata will be twice the size of the current hard drive.
    I know that one can use the dd tool of linux to clone a hard drive. However, I am not sure what will happen to the dual boot and how to tackle the difference in drive size.
    Therefore, I decided to ask the experts here for advice. I would much appreciate your advice. I have no experience with such type of problems.
    Thank you in advance.

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,691

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    Please post output from:
    Code:
    sudo parted -l
    so we have partitioning information to work from. What to suggest can depend largely or entirely on the starting point.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  3. #3

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    thank you for our reply. I apologize for the delay, but just now managed finally get home and boot the laptop.
    The requested output is

    Code:
    sudo parted -l
    Model: ATA ST320LT007-9ZV14 (scsi)
    Disk /dev/sda: 320GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    Disk Flags: 
    
    Number  Start   End    Size    Type      File system     Flags
     1      1049kB  106MB  105MB   primary   ntfs            boot, type=07
     2      106MB   126GB  126GB   primary   ntfs            type=07
     3      126GB   320GB  194GB   extended                  lba, type=0f
     5      126GB   174GB  48.3GB  logical   ext4            type=83
     6      174GB   314GB  140GB   logical   ext4            type=83
     7      314GB   320GB  6225MB  logical   linux-swap(v1)  type=82

  4. #4

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    This looks very good for what you intend to do.

    From the output that you posted, on your "old" internal HDD you have a disk label (or partition table) of type 'msdos', which could have been expected, because you have a dual boot with windoze 7.
    This means that you can not have more than 4 primary partitions, and that the mass storage device that you want to use (in this case your new SSD) can not have a capacity of more than 2TB. Presuming now that it does not have more capacity. Right? (you didn't give no exact information about that)

    Now the question is, how to copy.

    It is a very good idea to not carry out the copy from a system that is running (means to not boot your 13.2 and do the copy from there).
    So if you want to use 'dd', then you need to boot a Linux from a device that is not your old hard disk drive (the one with openSUSE 13.2 - I still love 13.2!).

    There are 2 possibilities:

    (1) You have another PC/laptop running a Linux where you can physically plug both devices (HDD and SDD).
    (2) You have a USB stick of the size of 16GB (that is sufficient, more would not stand in the way) the contents of which are backed up elsewhere, and on which you could install 13.2, or Leap 15.1, e.g., and from which you can boot.

    What do you prefer?

  5. #5

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    Forgot to say for case (2):
    If you can't plug both, the old HDD and the new SDD in your laptop at the same time, while booting from an USB stick, then you need external storage (like an external USB HDD) with free space of at least the size of your (old) HDD.

  6. #6
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,691

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    Assuming your laptop can even boot to MSATA, and the MSATA is not larger than 2TiB, there are several ways to proceed. The cloning should be the easy part. Once cloned, the original becomes a backup, so you can start all over from scratch and a fresh cloning if your repartitioning goes haywire.

    With the clone I could try this first:
    1-delete the swap and / partitions
    2-move the home partition updisk to make room for a larger /
    3-create a new / as a primary
    4-create a new swap, either before home, or at the end of the disk
    5-enlarge home to absorb the remaining freespace
    6-install 15.1 on the new primary

    Unless, you'd like to have more than one Linux partition, such as if you'd like to be a beta tester of upcoming releases, without having any impact on your normal operations. In that case I'd create two partitions for root filesystems between Windows and home.

    Another option would be to take the opportunity to convert to GPT partitioning. I would do that as step 3, after the deletes and move.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  7. #7

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    The advantage of cloning disks one to one is that the UUIDs remain the same.
    So windoze 7 may not conclude that it's another installation of the same system.

    Of course, cloning the (old) disk in this way, it can no longer be used as a second hard disk (because of the duplicate UUIDs), unless partitions are deleted and recreated, but it could still serve as a backup, as you said

    Quote Originally Posted by mrmazda View Post
    Once cloned, the original becomes a backup

  8. #8

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    I used this simple method of cloning with success when I copied the contents of a failing HHD with windoze 7 to a new HDD.
    I did not want to change the type of partition table then, and I think that john_snow does not have an urgent need to change partition table type to 'gpt' now on the kind of hardware that he/she might have (whatever exactly that hardware is).

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,825
    Blog Entries
    15

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    Quote Originally Posted by john_snow View Post
    Dear all,

    I am planning to exchange the hard disk of my laptop for a MSATA drive. I have a Open Suse 13.2/Windows 7 dual boot install.
    I see a potential problem in the fact that the Msata will be twice the size of the current hard drive.
    I know that one can use the dd tool of linux to clone a hard drive. However, I am not sure what will happen to the dual boot and how to tackle the difference in drive size.
    Therefore, I decided to ask the experts here for advice. I would much appreciate your advice. I have no experience with such type of problems.
    Thank you in advance.
    Hi
    Any reason not to upgrade to Windows 10 (free upgrade from Windows 7)? What about fresh installs?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: Advice needed how to migrate a dual boot install to a MSATA drive.

    First of all I would like to thank you all for all the answers, the useful comments and the suggestions.
    I plan to use a MSATA drive as an exchange for the old mechanical hard drive.
    The size of the MSATA will be 500 gb. That is, I would go from 320 gb to 500 gb drive. In my laptop (lenovo x220) I have the possibility to plug both the HDD and the MSATA at the same time. I presume that this option is the simplest, since I don't have to use any additional equipment. I can also easily find a 16 gb USB to install Suse 13.2 on.
    Concerning the comment about windows 10 update. I don't pan to do that for the time being. I guess that this will mess my dual boot and for what I am doing windows 7 is just fine.

Page 1 of 6 123 ... LastLast

Posting Permissions

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