Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gyrog opened this issue Nov 1, 2023 · 0 comments
Open

Comments

@gyrog
Copy link
Contributor

gyrog commented Nov 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant