Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dracut and UUID's
Date: Sun, 17 Feb 2019 08:28:57
Message-Id: 20190217082841.4970e4fb@digimed.co.uk
In Reply to: [gentoo-user] dracut and UUID's by Bill Kenworthy
1 On Sun, 17 Feb 2019 09:48:11 +0800, Bill Kenworthy wrote:
2
3 >     I have cloned a gentoo image for a raspberry pi to another sdcard. 
4 > It fails to boot because the storage uuid's have changed and dracut has
5 > the previous uuid's stored internally.  Is there a way around this
6 > without changing the new storage's uuids back to match the original (its
7 > bad practise to duplicate uuids) or using an original rpi kerneal and
8 > rebuild the custom one?
9
10 The initramfs is just a cpio archive, so you could unpack it, edit the
11 file(s) containing the UUID and repack it. Although Rich's suggestion of
12 regenerating it from a rescue disk may be easier.
13
14
15 --
16 Neil Bothwick
17
18 Rainbows are just to look at, not to really understand.