Thanks for your replies, but for safe, I’ve got some questions.
I’ve resized one EXT3 partition and created a new 120GB one. I’ve mounted it now under /mnt/newdisk.
Should the rsync command be:
rsync -cax / /mnt/newdisk ?
Changing fstab from:
/dev/disk/by-id/ata-SAMSUNG_HD080HJ_S08EJ10P607510-part1 / xfs defaults,noatime,nodiratime 1 1
to
/dev/disk/by-id/ata-Hitachi_HDT725050VLA360_VFB400R4CUJAEA-part2 /mnt/diversen ext3 noatime,nodiratime,acl,user_xattr 1 2
Changing /boot/grub/menu.lst from:
title openSUSE 11.1 - 2.6.27.13-3
root (hd0,0)
kernel /vmlinuz-2.6.27.13-3-default root=/dev/disk/by-id/ata-SAMSUNG_HD080HJ_S08EJ10P607510-part1 resume=/dev/disk/by-id/ata-Hitachi_HDT725050VLA360_VFB400R4CUKNSA-part2 splash=silent showopts vga=0x31a
initrd /initrd-2.6.27.13-3-default
to
title openSUSE 11.1 - 2.6.27.13-3
root (hd3,1)
kernel /vmlinuz-2.6.27.13-3-default root=/dev/disk/by-id/ata-Hitachi_HDT725050VLA360_VFB400R4CUJAEA-part2 resume=/dev/disk/by-id/ata-Hitachi_HDT725050VLA360_VFB400R4CUKNSA-part2 splash=silent showopts vga=0x31a
initrd /initrd-2.6.27.13-3-default
Now, / is on sde1. Then I’ve got sdf, sda, sdb, sdc, sdd. Because now root (hd0,0), I think sdf = hd1, sda = hd2, sdb = hd3. The new partition is on sdb, sdb2. So it would be hd3,1 is this correct?
And should I replace this one:
gfxmenu (hd0,0)/message with
gfxmenu (hd3,1)/message?
After this all should it boot from the new partition or did I forget something?
Grub is installed on sda, swap on sda2 and /boot on sda1 so I think that’s not a problem.
And can this all be done from a running system?