Forum: EasyBoot Topic: Shutdown? started by: TomSilver Posted by TomSilver on Jan. 09 2006,15:08
How can I make a pc shut down using Easyboot?Seems to me it's more useful than restart :/ Posted by eureka on Jan. 09 2006,15:51
To TomSilver I use a small dos utility (Shutdown.com). Download Shutdown.com from here: < http://www.opus.co.tt/dave/shut12.zip > In EasyBoot: Put shutdown.com in EasyBoot\disk1\ezboot folder. In Menu, use command: run shutdown.com This shutdown computer very quick. If used in some image (example from Autoexec.bat file with ghost start): @echo off Ghost shutdown /R When you quit Ghost, computer reboots. Please note syntax: [shutdown.com /R] (reboots computer) - [shutdown.com /S] (shutdown computer) - [shutdown.com / C] (to cancel and return to DOS – a kind of substitute for ESC-button. eureka Posted by TomSilver on Jan. 10 2006,10:55
Thanks very much! ![]() This really is what I needed. ![]() I know how to use batch, thanks. I think it's strange nobody else has ever brought this up here...??? Posted by Tattenbach on Jan. 13 2006,09:02
< http://www.plop.at/index.php?l=en&id=5 >shutdown.asm / shutdown.com reboot.asm / reboot.com or include "#### small linux" or "recovery is possible" in your DVD and write a short script to perform this task. Somewhere I have a source code in C for the same. Posted by Tattenbach on Jan. 13 2006,09:05
#### was supposed to be "d a m n". That's part of the name of the distro.
Posted by Tattenbach on Jan. 27 2006,03:45
For those interested:- Create a MS-DOS boot disk (DOS 6.0 or Windows 98) or get a boot image at bootdisk.com. Older DOS versions might also work. Check the GRUB4DOS documentation. - Get GRUB4DOS. - Open the DOS floppy image with UltraISO and take every file out but autoexec.bat, config.sys, io.sys and msdos.sys. The rest can be deleted from the image. - Add the files grub.exe, gldr and gldr.mbr from the GRUB4DOS zip into the open floppy image in UltraISO. - Modify the file config.sys to be empty (no entries) and re-inject it into the open image. - Modify the file autoexec.bat to contain JUST the line: GRUB --config-file="halt" and re-inject it into the open image. Save the image (in UltraISO) with the extension .ima (i.e “myfile.ima”) - Place that file (myfile.ima) in the folder C:\EasyBoot\disk1\ezboot - Use the menu option: run myfile.ima in Easyboot to boot this entry. - Create the ISO - Burn the CD Posted by TomSilver on Jan. 27 2006,09:21
Why did you put that here? ![]() Anyway, I think GRUB is not really needed if you use EasyBoot, is it? Posted by Tattenbach on Jan. 30 2006,03:15
Why did I post that here? Who knows!
Posted by Tattenbach on Jan. 30 2006,04:40
That was supposed to be another method of adding a 'shutdown' entry to EasyBoot using GRUB. It is an alternative to that described by Eureka (which, BTW, was perfectly valid). I thought this post was about 'shutdown', wasn't it? GRUB and EasyBoot are bootloaders intended for different purposes but a good multi-boot Easyboot CD/DVD should always include a copy of GRUB or a distro containg it. Hope this time is clear. |