Skip to content

initrd.gz - grub2 'root=' support for /init and /sbin/isoboot - please check #4175

@gyrog

Description

@gyrog

There is support for grub2's 'root=' boot parameter in /sbin/init_full_install but not in /init or /sbin/isoboot.
I have a couple of patches to provide this support.

The attached file:
initrd-root.tar.gz
contains the patches as .diff files, 'init_root.diff' and 'iso_root.diff',
and a 'local-initrd.gz' containing the 2 patched files.

This can be tested by adding the 'local-initrd.gz' to a Puppy frugal install directory,
provided the grub2 bootentry supports 'local-initrd.gz', (boot entries generated by FrugalPup do).

You can check that the patched 'init' has been used for a boot, by the first line of /initrd/tmp/bootinit.log.
It should be 'Testing "root=" boot parameter'.

I would hope for more testing other than "It works for me", before I think about commiting the patches to woof-ce.

Since the patches add a new facility,
the primary test is that it doesn't break any existing facility.

Obviously I've tested it in my environment, but there are heaps of facilities in 'init' that I never use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions