grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to call dban fron grub ?


From: J. Bakshi
Subject: How to call dban fron grub ?
Date: Fri, 7 Aug 2009 22:47:32 +0530

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 ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]