Fast wipe in advanced menu



  • Hello,

    I want to add a “Fast Wipe” option in my advanced menu, it’s possible ? If yes, can you explain me how ?

    Thanks a lot.


  • Senior Developer

    @aruhuno said:

    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00

    This line:

    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
    

    Specifically the wipemode element, everything else is fine. Also you can change the BzImage and initrd lines to be whatever as well, though it’s probably safest to leave it as is.



  • What would need changing to allow the other wipe modes in the advanced menus ?



  • Indirectly solved by [URL=‘http://fogproject.org/forum/threads/fog-1-2-0-dban-advanced-pxe-boot-menu.11915/#post-47168’]this thread[/URL] ; thanks for your help!



  • [quote=“Tom Elliott, post: 46061, member: 7271”]Not working doesn’t tell us anything man. can you provide more details?[/quote]
    Sorry, no boot with your file.

    [quote=“Junkhacker, post: 46063, member: 21583”]try this
    [CODE]:MENU
    menu
    item fog.fastwipe FastWipe in Advanced menu
    item return Return to main menu
    choose --default fog.fastwipe target && goto ${target}
    :fog.fastwipe
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
    imgfetch init_32.xz
    boot
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/CODE][/quote]
    Ok for boot but when wipe start, I see the following message on computer screen :
    [CODE]rm: cannot remove ‘co.txt’: No such file or directory
    cat: co.txt: No such file or directory[/CODE]


  • Developer

    try this
    [CODE]:MENU
    menu
    item fog.fastwipe FastWipe in Advanced menu
    item return Return to main menu
    choose --default fog.fastwipe target && goto ${target}
    :fog.fastwipe
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
    imgfetch init_32.xz
    boot
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/CODE]


  • Senior Developer

    Not working doesn’t tell us anything man. can you provide more details?



  • Not working : [url]http://pastebin.com/dEfyYT9F[/url]

    I’m using FOG 1.2.0 with iPXE in this configuration :
    [IMG]http://pix.toile-libre.org/upload/original/1429798133.png[/IMG]


  • Senior Developer

    [code]
    :MENU
    menu
    item fog.fastwipe FastWipe in Advanced menu
    item return Return to main menu
    choose --default fog.fastwipe target && goto ${target}
    :fog.fastwipe
    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
    imgfetch init_32.xz
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/code]


Log in to reply
 

372
Online

38982
Users

10712
Topics

101678
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.