Mailinglist Archive: opensuse (686 mails)

< Previous Next >
[opensuse] official way of moving (12.3) to different hdd? dont boot, kernel panic, but all grub, grub2 and fstab edited to new devdiskbyid
official way of moving (12.3) to different hdd? dont boot, kernel
panic, but all grub, grub2 and fstab edited to new devdiskbyid


I was wondering what the actual official way is to move a current
opensuse system to a new harddisk. I copied everything over via
gparted live distro. Recreated all the partitions the same way (both
are sata disks), copied over everything, went fine, activated the boot
partition as bootable.

Then due to a lack of current bootable rescue system with 12.3 i used
an older dvd iso of 11.something or so to bootup into rescue mode and
edit all the files I knew of where it mattered and exchanged those
/dev/disk/by-id/ata...... from the old (samsung) to the new IDs
(seagate).
(fstab, menu.cfg of grub and I even had some grub2 directory that I
also edited as well)

The new disk then commenced to boot up also displayed the grub menu,
but it would then always kernel panic after a little while when it
continued to load the kernel and initrd.

Later I selected the advanced entry 12.3 in the grub menu I dont
recall any more what it was named exactly, but it displayed more
messages and I could catch that at the end right when it kernel
panicked, it still wrote out lines that it was missing the
dev/disk/by-id/....samsung.... stuff, although I had changed all the
places I knew about.

So I had to fetch some current 12.3 bootable media, and eventually
even had to mount all the disks in rescue mode and the special sys
proc and some third directory, and then chroot into the system and
then issue a mkinitrd which then apparently recreated something to a
deeper extent and the system only then booted up from the new HDD.

Am I doing things wrong here? It seems quite a big work when I compare
this to older opensuse versions, where the steps of editing fstab and
grub.cfg just simply worked back then. I never had to mkinitrd or
chroot into a system when only a simple sata disk id had changed.

What is the official way of migrating over to a new storage device for
running aka booting from?
Thanks for pointers. Regards.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups