[Discuss] How do you backup "/" with rsync?

Steven Kurylo sk at infinitepigeons.org
Wed Dec 12 07:49:13 PST 2007


> > grub generates a file device.map which maps sdb1 to hd(1,0) etc and I
> > think it is possible to edit this file but I don't know if it stays
> > edited or whether it gets re-written each time you boot?  If not you
> > could hard wire this to your persistent id's.
> >
> I have just checked this and the device.map file is created only once
> when grub is setup for the given configuration, so it must be possible
> to edit it with persistent id's.

http://www.gnu.org/software/grub/manual/html_node/Device-map.html

Its only useful when installing grub to the mbr.   You'd want to
ensure that hd0 is pointing to the proper drive, you can use the by-id
name if you want.

-- 
Steven Kurylo


More information about the Discuss mailing list