Grub2: How to clone a bootable disk?

2012-08-24 Thread T Elcor
Hi, I have two identical hard drives, one HD contains a bootable wheezy installation and I'd like to clone it to the other HD. My first idea was to use dd but since grub2 uses disk IDs in /boot/grub/devices.map and /etc/fstab then once the disk is cloned it probably will not boot, unless I fix

Re: Grub2: How to clone a bootable disk?

2012-08-24 Thread Camaleón
On Fri, 24 Aug 2012 10:34:54 -0700, T Elcor wrote: I have two identical hard drives, one HD contains a bootable wheezy installation and I'd like to clone it to the other HD. My first idea was to use dd but since grub2 uses disk IDs in /boot/grub/devices.map and /etc/fstab then once the disk

Re: Grub2: How to clone a bootable disk?

2012-08-24 Thread T Elcor
From: Camaleón noela...@gmail.com   To fix the files I need to  know disk IDs and partition UUIDs... not sure how to get them. ls -ls /dev/disk/by-*id will tell. Thank you. A lot clearer now. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of

Re: Grub2: How to clone a bootable disk?

2012-08-24 Thread Tom H
On Fri, Aug 24, 2012 at 1:34 PM, T Elcor tel...@yahoo.com wrote: I have two identical hard drives, one HD contains a bootable wheezy installation and I'd like to clone it to the other HD. My first idea was to use dd but since grub2 uses disk IDs in /boot/grub/devices.map and /etc/fstab then