:: Re: [DNG] vdev packaging
Top Pagina
Delete this message
Reply to this message
Auteur: Hendrik Boom
Datum:  
Aan: dng
Onderwerp: Re: [DNG] vdev packaging
On Sat, Aug 27, 2016 at 11:12:19AM -0400, fsmithred wrote:
>
>
> What I've been doing to switch between vdev and udev is to edit the boot
> command at the grub menu.
>
> Save a copy of the pre-vdev initrd under a different name.
> To boot with udev, edit the boot menu to point to this intird, and add
> init=/bin/bash to the linux line.
>
> At the intiramfs prompt:
>
> /etc/init.d/udev start
> exec /sbin/init
>
> vdev will start anyway, but you can stop it when it's done. If you remove
> the symlink under rcS.d then it won't start automatically.
>
> If you want to get fancy, make two scripts, /sbin/init-vdev and
> /sbin/init-udev, containing the two commands I listed above (change udev
> to vdev for the vdev script.)
>
> Make two boot entries, one points to the vdev initrd and has
> init=/sbin/init-vdev on the linux line and the other points to the udev
> initrd and has init=/sbin/init-udev on the linux line.


That should work.

-- hendrik