You are not logged in.

#1 2018-12-15 02:50:20

m4th3us
Member
Registered: 2015-05-18
Posts: 10

Get UUID during ArchISO build

I've accomplished to manage a full working ArchISO build script. The only thing that I couldn't do it yet is to enable RAMROOT on that Live ISO. RAMROOT its already installed on my live iso but my problem is:

# arch-chroot work/x86_64/airootfs/
# ramroot enable       
:! Nothing mounted at /.

I think running
ramroot with
-r, --root <UUID>
        Specify root partition UUID to use when building hooks.

It would solve the problem. But as I need to figure that UUID during the Build script I could not make it sad

Anybody can give me a hint ?

Thank you!

PS.:

https://github.com/arcmags/ramroot

Issues / Future Implementations

    get UUIDs during boot
        more portable; UUIDs not hardcoded into initcpio hook
        no need to rebuild linux image with UUID changes

Offline

#2 2018-12-15 03:50:45

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Get UUID during ArchISO build

blkid should show the UUID for each partition.  Is there a reason that doesn't work?

Offline

#3 2018-12-15 13:33:29

m4th3us
Member
Registered: 2015-05-18
Posts: 10

Re: Get UUID during ArchISO build

circleface wrote:

blkid should show the UUID for each partition.  Is there a reason that doesn't work?

Its not that simple. Have you already done that inside ArchISO build script?

Offline

Board footer

Powered by FluxBB