Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Changing from HDD to SSD M.2  (Read 3260 times)

dacorsa

  • Guest
[EN] Changing from HDD to SSD M.2
« on: 2017/11/15, 16:25:13 »
Hi guys,

i have an installation of siduction on an HDD, i want to clone this HDD into an SSD M.2, what i have to change in the configuration to setting all well?

Thanks for all your info

Best regards

Offline unklarer

  • User
  • Posts: 816
Re: Changing from HDD to SSD M.2
« Reply #1 on: 2017/11/17, 16:13:20 »
There are many possibilities under Linux....

Years ago I did this with aptosid. My tool was gparted.

You need to know:
the UUID of the siduction partition and the swap
the fstab
the bootloader is where?

You need:
a Linux live cd (preferably from siduction) at least with a gparted version 0.27
I don't know exactly, but the versions before that don't support M. 2.

The HDD/SSD must NOT be partitioned!

That's the trick!
This transfers the siduction UUID etc. to the new partition.

Here is a picture example.



Here sdbx was transferred to sdax partitions.
It was "copied" sdb5 and the change in the drop-down menu to the other drive was done with "insert" in the "unallocated" area of sda.
(it is also possible to change the size of the partitions here)

After successful completion of the gparted operations, the UUID*s and fstab should be checked.
chroot into the system
I recommend writing a device. map for grub because of the new disk.
Code: [Select]
grub-mkdevicemap
update-grub
At that time, this was sufficient for aptoside. In case that's not enough for you:
Code: [Select]
dpkg-reconfigure grub-pc


There is another stumbling block that could be repaired in the chroot.
This concerns the network and would be to deleted:
Code: [Select]
rm /etc/udev/rules.d/70-persistent-net.rules

on restart is made of eth0/wlan0 --->
eth1/wlan1 and applications no longer have access to the network.
 
This file is no longer available in siduction. You have to for problems
please ask separately.   ;)

==========================================================
Es gibt viele Möglichkeiten unter Linux...

Vor Jahren habe ich das u.a. mit aptosid gemacht. Mein Werkzeug war gparted.

Du mußt wissen:
die UUID der siduction-Partition und der swap
die fstab
der Bootloader ist wo?

Du brauchst:
eine Linux live-cd (am Besten von siduction) mindestens mit einer gparted Version 0.27
Genau weiß ich es nicht, aber die Versionen davor unterstützen M.2 nicht.

Die HDD/SSD darf NICHT partitioniert sein!
Das ist der Trick!
Dadurch wird die siduction-UUID etc. auf die neue Partition übertragen.

Hier ist ein Bild Beispiel.
Es wurde also sdbx nach sdax Partitionen übertragen.
Es wurde sdb5 "kopiert" und der Wechsel im DropDown-Menü auf das andere Laufwerk, mit "einfügen" in den "nicht zugeteilten" Bereich von sda, erfolgte.
(es ist auch moglich die Größe der Partitionen hier zu verändern)


Nach erfolgreichen Abschluß der gparted-Operationen sollte eine Kontrolle der UUID*s und fstab erfolgen.

chrooten in das System
ich empfehle wegen der neuen Platte das schreiben einer device.map für grub.
--> grub-mkdevicemap
--> update-grub

Damals war das ausreichend bei aptosid. Falls das bei dir nicht ausreicht noch:
--> dpkg-reconfigure grub-pc

Es gibt noch einen Stolperstein, der auch gleich im chroot zu reparieren wäre.
Das betrifft das Netzwerk und wäre zu löschen:
-->rm /etc/udev/rules.d/70-persistent-net.rules
da bei Neustart wird aus eth0/wlan0 --->
eth1/wlan1 und Anwendungen haben keinen Zugriff mehr auf das Netz.

Diese Datei ist jetzt in siduction nicht mehr vorhanden. Du müßtest bei Problemen
das hier dann separat erfragen.
 

dacorsa

  • Guest
Re: Changing from HDD to SSD M.2
« Reply #2 on: 2017/11/18, 11:10:00 »
Thanks for all your info, you're a gentlemen!
I will try!


Bye

dacorsa

  • Guest
Re: Changing from HDD to SSD M.2
« Reply #3 on: 2017/11/25, 12:31:00 »
do you know any trick to set a resolution at boot? i tried with a xorg rule but siduction stuck at boot.
Thanks

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: Changing from HDD to SSD M.2
« Reply #4 on: 2017/11/25, 13:17:51 »
siduction what? live? installed? what is the real problem? what is the exact M-2 device?

dacorsa

  • Guest
Re: Changing from HDD to SSD M.2
« Reply #5 on: 2017/11/25, 14:43:48 »
Siduction installed, M.2 is a type of SSD

http://www.samsung.com/semiconductor/minisite/ssd/product/consumer/ssd960.html

see link

Bye

Offline unklarer

  • User
  • Posts: 816
Re: Changing from HDD to SSD M.2
« Reply #6 on: 2017/11/25, 21:49:48 »
Quote from: dacorsa
do you know any trick to set a resolution at boot? i tried with a xorg rule but siduction stuck at boot.

/etc/default/grub
e.g.
http://forum.siduction.org/index.php?topic=5004.msg41634#msg41634
http://forum.siduction.org/index.php?topic=4687.msg38749#msg38749
https://wiki.siduction.de/index.php?title=Wie_entferne_ich_gro%C3%9Fe_Schrift_auf_dem_Boot-Screen%3F

follow the links