FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-24-2012, 07:53 PM
Tom H
 
Default Grub2: How to clone a bootable disk?

On Fri, Aug 24, 2012 at 1:34 PM, T Elcor <telcor@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 once the disk is cloned it probably will not boot,
> unless I fix the entries in the above files. To fix the files I need to
> know disk IDs and partition UUIDs... not sure how to get them. Is
> there an easier way to clone a bootable disk without editing grub2
> and fstab files?

"dd ..." should preserve the UUIDs but you can get the UUIDs from "blkid".


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAOdo=SyXjfVfcub-ZruCvCvTBMw89j8s0AxfT+mXrH6_mkNcrA@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 08:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org