From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MZT9b-0005fb-Tb for mharc-grub-devel@gnu.org; Fri, 07 Aug 2009 13:22:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZT9Z-0005aT-Nk for grub-devel@gnu.org; Fri, 07 Aug 2009 13:22:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZT9U-0005SD-2v for grub-devel@gnu.org; Fri, 07 Aug 2009 13:22:52 -0400 Received: from [199.232.76.173] (port=42184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZT9T-0005S4-VD for grub-devel@gnu.org; Fri, 07 Aug 2009 13:22:47 -0400 Received: from mail-pz0-f197.google.com ([209.85.222.197]:49779) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZT9T-0006jw-IQ for grub-devel@gnu.org; Fri, 07 Aug 2009 13:22:47 -0400 Received: by pzk35 with SMTP id 35so1788453pzk.24 for ; Fri, 07 Aug 2009 10:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=X50XKDj1SSH8vzlkgx3sb03zHbd/+DZCkd9JAiUBKLs=; b=H64ix22oVDYPBxNSQQP9HN5QrillKzIZYnDxx78WIv1IdoHRQ6OXtxoBunrn1umagR eaB72rhApIxTPgAqHWHwRpft93LvYHUjozkQEWT2VJk7F74nZT5JtOH8FnK48PBxWGVU xFbfIT3ydAF55CZqtphg6Qm8IOIOAkpVUB7pk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=PqqbgRh6Fogd7DFuJC7+Lmr9enavEvQltBuJHa7ftqNJ7DwUnW9j4yfPHUyY6zB8w7 1X78kqfsgMyoQSMsKJrOI95J5Zaip0FAJ1q33u6aHhnYgyl/0vKd37Fqe0THUQ9H5Ozv dHFsu/ucjftPGxbnlQCcLHpGxiWuX0dZsZTtU= Received: by 10.114.59.13 with SMTP id h13mr1911001waa.146.1249665766551; Fri, 07 Aug 2009 10:22:46 -0700 (PDT) Received: from shiva.selfip.org ([115.187.38.2]) by mx.google.com with ESMTPS id k35sm2025075waf.64.2009.08.07.10.22.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Aug 2009 10:22:46 -0700 (PDT) Date: Fri, 7 Aug 2009 22:47:32 +0530 From: "J. Bakshi" To: The development of GRUB 2 Message-ID: <20090807224732.067f794d@shiva.selfip.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.16.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: 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:22:54 -0000 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 ?