Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Jude Nelson
Hi Steve, On Sat, Apr 18, 2015 at 12:02 PM, Steve Litt wrote: > On Sat, 18 Apr 2015 00:08:54 -0400 > Jude Nelson wrote: > > > > The init program in example/initramfs/init goes into > > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > > init script is fundamentally different

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Jude Nelson
Hi Anto, On Sat, Apr 18, 2015 at 2:19 PM, Anto wrote: > On 18/04/15 19:46, Anto wrote: > >> >> Hello Jude, >> >> I have tried a lot other combinations but the problem remains, that is >> the init fails to mount the root partition. >> >> I am not sure why as I can manually mount any disks that ar

Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Laurent Bercot
On 19/04/2015 01:06, Isaac Dunham wrote: I'm not sure exactly what the priority is, but the kernel searches /sbin/init, /init, and /linuxrc at least. From the kernel source (init/main.c): if (!try_to_run_init_process("/sbin/init") || !try_to_run_init_process("/etc/init") ||

Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Isaac Dunham
On Sat, Apr 18, 2015 at 12:02:23PM -0400, Steve Litt wrote: > On Sat, 18 Apr 2015 00:08:54 -0400 > Jude Nelson wrote: > > > > The init program in example/initramfs/init goes into > > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > > init script is fundamentally different f

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Anto
On 18/04/15 19:46, Anto wrote: Hello Jude, I have tried a lot other combinations but the problem remains, that is the init fails to mount the root partition. I am not sure why as I can manually mount any disks that are available on /dev at (initramfs) prompt. I had to do that in order to be

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Anto
On 18/04/15 12:44, Anto wrote: Hello Jude, I have just tried to boot with vdev's initrd, wheezy init, example's init on /usr/share/initramds-tools, and only /etc/init.d/vdev on /etc/runlevel.conf but the result is the same, i.e. ends up at (initramfs) prompt. I only focus on testing your v

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Anto
On 18/04/15 18:29, Steve Litt wrote: On Sat, 18 Apr 2015 12:44:55 +0200 Anto wrote: Hello Jude, I have just tried to boot with vdev's initrd, wheezy init, example's init on /usr/share/initramds-tools, and only /etc/init.d/vdev on /etc/runlevel.conf but the result is the same, i.e. ends up a

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Steve Litt
On Sat, 18 Apr 2015 12:44:55 +0200 Anto wrote: > Hello Jude, > > I have just tried to boot with vdev's initrd, wheezy init, example's > init on /usr/share/initramds-tools, and only /etc/init.d/vdev on > /etc/runlevel.conf but the result is the same, i.e. ends up at > (initramfs) prompt. I a

[Dng] Boot sequence: was vdev status update

2015-04-18 Thread Steve Litt
On Sat, 18 Apr 2015 00:08:54 -0400 Jude Nelson wrote: > The init program in example/initramfs/init goes into > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > init script is fundamentally different from the init program > in /sbin. That also explains your inability to reb

Re: [Dng] Fwd: [dng] vdev status update

2015-04-18 Thread Anto
On 18/04/15 06:08, Jude Nelson wrote: Hi Anto, [snip] 1. compile and install vdev 2. copy vdev's initrd into /boot 3. rename /sbin/init to /sbin/init.novdev 4. copy vdev's init file into /sbin The init program in example/initramfs/init goes into /usr/share/initramfs-tools/