From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MZTKe-0003cx-Tp for mharc-grub-devel@gnu.org; Fri, 07 Aug 2009 13:34:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZTKa-0003cp-OH for grub-devel@gnu.org; Fri, 07 Aug 2009 13:34:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZTKW-0003cP-8s for grub-devel@gnu.org; Fri, 07 Aug 2009 13:34:16 -0400 Received: from [199.232.76.173] (port=39278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZTKW-0003cM-2L for grub-devel@gnu.org; Fri, 07 Aug 2009 13:34:12 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:58119) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZTKV-0001tI-C8 for grub-devel@gnu.org; Fri, 07 Aug 2009 13:34:11 -0400 Received: from [85.180.5.243] (e180005243.adsl.alicedsl.de [85.180.5.243]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MZTKT3bos-000cEM; Fri, 07 Aug 2009 19:34:10 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20090807224732.067f794d@shiva.selfip.org> References: <20090807224732.067f794d@shiva.selfip.org> Content-Type: text/plain Date: Fri, 07 Aug 2009 19:35:09 +0200 Message-Id: <1249666509.3626.9.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.27.5 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/BXK+bc6aLvSWSplskstOim4CwKomTwTExxW0 VvsT2BOnicSEGO0p2g0Uh2WNhlvPtmySLh+M2uMwhhEOHoLVyK IKjEbOZqEqHMQ0PrDqx6Iz9XBC4JhTp X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: How to call dban fron grub ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 17:34:17 -0000 Am Freitag, den 07.08.2009, 22:47 +0530 schrieb J. Bakshi: > Hello developers, > > I think ( please correct me if I am wrong ) I need not say more about dban (Darik's Boot And Nuke); a HDD data eraser. > dban is shipped with syslinux to fit into both Cd and USB stick. What I am trying to achieve is to call dban by grub2. > As per the syslinux.cfg; calling dban with shell is done by > > `````` syslinux.cfg ```````` > > LABEL shell > KERNEL kernel.bzi > APPEND initrd=initrd.gz root=/dev/ram0 init=/rc nuke="exec ash" > ````````````````` > > dban comes as floppy image as dban_1_0_7_i386.ima which has the kernel and initrd image ( I have also confirmed by mount it through loopback device and get the same ). To call it from grub with loopback I have done as below [ Note: I have put dban_1_0_7_i386.ima in reiserfs partition (hd0,2) ] > > `````````` > menuentry "dban" > { > loopback loop (hd0,2)/dban_1_0_7_i386.ima > linux (loop)/kernel.bzi nuke="exec ash" > initrd (loop)/initrd.gz > } > ```````````` > > Grub calls dban successfully but immediately computer restarts. It happens again and again whenever I call dban. Also checked by > > linux (loop)/kernel.bzi root=/dev/ram0 init=(loop)/dban_1_0_7_i386.ima/rc nuke="exec ash" > > but no luck. > > Does anyone of you have the luck to call dban from grub2 ? > > Try with the old linux loader with linux16 and initrd16 -- Felix Zielcke Proud Debian Maintainer