All of lore.kernel.org
 help / color / mirror / Atom feed
* How to call dban fron grub ?
@ 2009-08-07 17:17 J. Bakshi
  2009-08-07 17:35 ` Felix Zielcke
  0 siblings, 1 reply; 4+ messages in thread
From: J. Bakshi @ 2009-08-07 17:17 UTC (permalink / raw)
  To: The development of GRUB 2

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 ?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-10 11:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07 17:17 How to call dban fron grub ? J. Bakshi
2009-08-07 17:35 ` Felix Zielcke
2009-08-08  5:55   ` J. Bakshi
2009-08-10 11:38     ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.