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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel