#421: Patch to /sbin/update-grub to use initng at boot instead of sysvinit
-----------------------------------------------------+----------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL
PROTECTED]
Type: enhancement | Status: closed
Priority: high | Milestone:
Component: Feature Request on build/install system | Version:
unspecified
Severity: minor | Resolution: invalid
Keywords: |
-----------------------------------------------------+----------------------
Changes (by jimmy):
* resolution: => invalid
* status: new => closed
Old description:
> I did a patch for /sbin/update-grub so when one installs a new kernel
> doesn't
> have to manually edit /boot/grub/menu.lst and add init=/sbin/initng to
> each kernel.
> My patch is Debian-specific, so if anyone can please check what other
> systems
> use to update menu.lst I'll be glad to make the patch "universal".
>
> here's the patch:
>
> --- update-grub-sysvinit 2006-01-21 18:22:08.000000000 +0100
> +++ update-grub 2006-01-21 18:17:56.000000000 +0100
> @@ -285,7 +285,7 @@
> device_map=$grub_dir/device.map
>
> # Default kernel options, overidden by the kopt statement in the
> menufile.
> -kopt="root=$root_device ro"
> +kopt="root=$root_device ro init=/sbin/initng"
>
> # Title
> title="Debian GNU/Linux"
New description:
I did a patch for /sbin/update-grub so when one installs a new kernel
doesn't
have to manually edit /boot/grub/menu.lst and add init=/sbin/initng to
each kernel.
My patch is Debian-specific, so if anyone can please check what other
systems
use to update menu.lst I'll be glad to make the patch "universal".
here's the patch:
--- update-grub-sysvinit 2006-01-21 18:22:08.000000000 +0100
+++ update-grub 2006-01-21 18:17:56.000000000 +0100
@@ -285,7 +285,7 @@
device_map=$grub_dir/device.map
# Default kernel options, overidden by the kopt statement in the
menufile.
-kopt="root=$root_device ro"
+kopt="root=$root_device ro init=/sbin/initng"
# Title
title="Debian GNU/Linux"
Comment:
This is nice, but shud be posted to the update-grub buglist.
--
Ticket URL: <http://www.initng.org/ticket/421>
InitNG <http://www.initng.org/>
The Next Generation InitSystem
--
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng