LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good idea to clone HDD to ssd?
#1
Ordered 2 Samsung ssd's, one M.2 and one sata expecting to use Samsung Magician Software. Upon reading about it before they arrive I find the software will not work in Linux.
Is it a good idea to clone ( LL 4.6 & LL 3.8 ) using d.d. or Clonezilla or do a reinstall?
Found this tutorial :
https://www.freecinema2022.gq/forums/tutor.../#msg39977
Not sure if this is a solution and if d.d. runs from the live system or from a bootable cd?
Thanks Wayne.
I understand LL 4.6 will do trim and 3.8 I will have to set it up.
Reply
#2
Hi Waynebob,
Might this post provide you with a solution for the LL 3.8 install?:

https://www.freecinema2022.gq/forums/insta...nt-laptop/

Oobuntus provided the detailed steps towards the end of the thread.
Reply
#3
1. Use timeshift to create a backup of your current system - make sure you include your hidden files.
2. Do an install on your new drive - just the minimum
3. Start up the new system and use timeshift to restore the timeshift backup to the new drive - it will overwrite as required and restore your local configs.

You now have you old system on the new drive with all the installed software and matching configs

Copy data from old drive or backups as required.
Reply
#4
Thanks for the ideas, I received the ssd's today but am still experimenting on my spare machine. Will post the outcome. :-)
Reply
#5
Well I tried cloning on my spare machine.
    -used gparted to shrink 500 gb hdd to 136 gb          succesful ?
    -used clonezilla to clone from 136gb partition to 160 gb hdd    succesful ?
Now the target 160gb hdd will boot (to a grub menu though?)
The source 136gb partition (on 500gb hdd) will not boot even though configured in bios and identified as bootable.
When I unplug the 160gb hdd the 136gb partition will boot (to a grub menu though)
Tried a boot repair disk, both ways still boot to a grub menu first and the source drive (136gb) still will not boot if the 160gb is plugged in.

On my main machine I did a clean install to the M.2 500gb drive. Used Timeshift to restore my backup from 1TB HDD. Worked like a charm or so I thought. After a couple of restarts all the browser logins were not there anymore?
Starting to think Joe Collin’s thoughts about just doing a fresh install, especially to a new SSD would be easier and probably better in the long run.
Reading up on grub and grub2 repair stuff and lose interest pretty quick. Getting old (70)
Not really sure if the gparted or the clonezilla broke the boot.

Thanks for the help, I shall keep farting around but a fresh install looks good.

Wayne.
Reply
#6
Just a thought -- something you might want to think about...
Is as you're plugging/unplugging disks --- If both were plugged in together.. The /dev/sdX may be different.

i.e.
if the 500/136 was sda and the 160 is sdb its not necessarily going to boot... Or vice versa
Grub doesn't know where the bootloader resides...

You may wanna try, connecting the disk boot to a LiveUSB, once at the desktop launch terminal and run
Code:
sudo update-grub

it should scan and repopulate the OS's..
Not sure what was done with "boot repair disk" .... but maybe the above will help resolve....


I haven't tried with a clone.. but you "could" connect both disks and update grub - it should see both LL's
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#7
[member=5414]firenice03[/member]
Quote:You may wanna try, connecting the disk boot to a LiveUSB, once at the desktop launch terminal and run
Code: [Select]
sudo update-grub

Won't that try to update-grub on the liveusb ? I think you will need to create a chroot environment on sda and then update grub there Smile
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
Reply
#8
Booted a LL 4.6 dvd with both HDD's plugged in (machine will not boot from usb). Did sudo update-grub.
Got /usr/sbin/grub-probe: error: failed to get canonical path of '/cow'.  ??
Question : I kind of thought if you had 2 HDD's each with an OS that the bios would determine which would boot, just like when you have to put the DVD drive first in line for it to boot.
Apparently I was wrong?
Reply
#9
(12-17-2019, 08:38 PM)DeepThought link Wrote: [member=5414]firenice03[/member]
Quote:You may wanna try, connecting the disk boot to a LiveUSB, once at the desktop launch terminal and run
Code: [Select]
sudo update-grub

Won't that try to update-grub on the liveusb ? I think you will need to create a chroot environment on sda and then update grub there Smile

Eh you maybe right on that... [member=7644]DeepThought[/member] Thanks!! 
and each/either will need to be mounted .. i.e. /dev/sdxY will need to mounted then chroot  then grub could be updated....


The following should do this... although I'm not at my system else I would test the commands... [member=7644]DeepThought[/member] this more on par? missing anything


For x the corresponding letter (sda or sdb ... ) Y the number (sda2 or sdc1) - You'll need to know these.. *It maybe sda but confirm and I would start with 1 drive not both..


From the LiveUSB...
Code:
sudo mount /dev/sdxY /mnt

Code:
sudo chroot /mnt

Code:
sudo update-grub


If grub needs re-installed
Code:
sudo grub-install /dev/sdxY


Reboot
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#10
(12-17-2019, 11:40 PM)waynebob link Wrote: Question : I kind of thought if you had 2 HDD's each with an OS that the bios would determine which would boot, just like when you have to put the DVD drive first in line for it to boot.
Apparently I was wrong?
[member=241]waynebob[/member]
Kind of..  BIOS says skip all else and go look for something I can use.. Or go find something usable in this order..
Whether Windows or Linux there is a boot manager/boot loader. Grub is this boot manager of sorts. Depending on how many OS's or disks it will list all available OS's.
- You could have 4 OS's on 1 disk, BIOS doesn't care just wants to know where/which disk....
Grub says where on the disk to go find it - Win?? Linux Lite 1,  LL 2, or LL3  Smile
Updating grub tell grub to scan the disks for an OS.. Then it will display them. -- Yes you could have multiple LL's running.
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)