logo elektroda
logo elektroda
X
logo elektroda

Migrating Linux Mint to SSD: Transfer Issues, Boot Errors, & Clonezilla Cloning Guide

MrDoimer 9630 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16635090
    MrDoimer
    Level 38  
    Hello,
    Trying to transfer the current Linux Mint system to the SSD.
    According to the guide on the blog, I did good programs called "We are moving Ubuntu to SSD".
    Everything worked out, but after trying to boot from the SSD, I get the message as in the picture.
    Then for a moment there is a Linux loading screen, then busybox turns on.
    What did I do wrong?
    Migrating Linux Mint to SSD: Transfer Issues, Boot Errors, & Clonezilla Cloning Guide

    @Edit
    Now, after Clonezill's attempt to cloning, the effect is that the system loads indefinitely. I'd ask for a good guide.
  • ADVERTISEMENT
  • #2 16635295
    michcior
    Level 30  
    What circuses are there with "good programs". I usually copy the whole disk image and it's done. These messages are from grub, because there I recognize discs by UUID, if you got mixed up, these UUIDs have changed and now they don't match. Make a copy of the disk by dd by copying # dd if = / dev / sdb of = / dev / sdc bs = 1M assuming you have booted linux from USB, the source disk is / dev / sdb and the target is / dev / sdc. The dd tool is over 40 years old, why clonezille, linux has everything you need.
    As if you would like to see the progress: # pv / dev / sdb | dd of = / dev / sdc bs = 1M Just DO NOT confuse disks! The bs (block size) parameter speeds things up a bit.
  • #3 16635337
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #4 16642723
    MrDoimer
    Level 38  
    Ok thanks, I will do as you wrote.

    I will ask you again - can I get up without cloning the / home partition?
    I can't clone the entire disk because I have a partition on the HDD:
    sda1 - mount point "/" with size 20GB
    sda2 - mount point "/ home" with size of 270GB and about 120GB of data sits on it.

    and SSD has 2 (3 together with SWAP) with a size of 20GB and 220GB respectively.
  • #5 16642826
    namok
    Level 25  
    Linux partitions do not need to be cloned - you can copy the contents of the partition while maintaining permissions. You can use mc or rsync for this.
    After copying, you need to correct the UUID in / etc / fstab
  • ADVERTISEMENT
  • #6 16643890
    MrDoimer
    Level 38  
    It looks like:
    HDD 320GB:
    sda1 - swap
    sda2 - "/" 19GB
    sda3 - extended - 290GB
    sda5 - "/ home" - 290GB

    SSD 240GB:
    sdb1 - "/" 20GB
    sdb2 - "/ home" - 215GB
    sdb3 - swap

    - I launched the Live distribution
    - I cloned the sda2 partition to sdb1
    - I've set the Gpedit flag in the "boot" partition of sdb1
    - I did NOT clone sdb5 because of the "greater> smaller"
    - I used the "# grub-Install" command from "root-directory = / mnt" or "/ media" (I don't remember, I found it on the internet).
    - I entered a new UUID giving the UUID of each partition on the SSD.

    The effect is that after the loading screen the system shows the error "Due to an internal error, the overlay / startx (?) Can't start" or something like that (doing work on this computer now, I can't stop and write the exact message, but you know what is going on). A black image remains.

    My guess is that you shouldn't copy the sda5 partition.
    What to do now?

    Now I have two questions - wanting to copy the files themselves (which weigh about 100GB) can I use the cp command?
    I also want to back up this partition to another disk, but also a smaller one, but should I indicate sda3 or sda5 as the source?
  • ADVERTISEMENT
  • #7 16646394
    Anonymous
    Level 1  
  • #8 16649915
    MrDoimer
    Level 38  
    So doing it with "dd" as I did and described is not correct and will not work?

    If it is not correct, please answer:
    MrDoimer wrote:
    My guess is that you shouldn't copy the sda5 partition.
    What to do now?
  • #9 16670816
    Anonymous
    Level 1  

Topic summary

The discussion revolves around the challenges of migrating a Linux Mint system to an SSD, specifically addressing boot errors and cloning issues encountered during the process. The user initially attempted to clone the system using Clonezilla but faced boot failures, leading to a busybox prompt. Responses suggest using the 'dd' command for disk cloning, emphasizing the importance of matching UUIDs in the GRUB configuration. Users recommend copying partition contents while maintaining permissions using tools like 'rsync' or 'mc', and adjusting the '/etc/fstab' file post-transfer to reflect new UUIDs. The conversation highlights the necessity of creating appropriate partitions on the SSD and ensuring correct boot flags are set.
Summary generated by the language model.
ADVERTISEMENT