By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,203 Members | 1,560 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,203 IT Pros & Developers. It's quick & easy.

Programming the BIOS boot order

P: 3
Basically, what im attempting to do is add some preliminary procedures onto my usb drive. Currently I have a distro of linux, knoppix in my case, which will boot and run entirely from the drive. I really would like to streamline the entire process of booting a machine into knoppix (Shutting down, rebooting into bios, changing boot order).

What I have so far is an autorun to open my batch file containg psshutdown. I chose this app as it allows multiple windows enviroments to all be shutdown, as opposed to plugging in a script for XP, 9*, etc. I know its not much, but this is all I have.

My AUTORUN.INF
[autorun]
open=launch.bat
(Btw, should I include/substitute for shellexecute?)

and in the launch.bat
psshutdown -r -v 0

Psshutdown in this instance displays no timer, and will reboot upon shutdown. Now heres where I dont have the slightest, even in so far as what language this can/should be done in. The intent is that this autorun will also enter the bios on startup, enter the boot order, choose to boot from any selectable USB device (USB_HDD or USB_ZIP), and save&exit the bios.

Being able to streamline all of this would just be that much more conveinent, and im really curious as to how it could done. My knowledge of actual programming is nearly nonexistant. Id like to get this script running and explore how it actually works at the same time, but if I could at least get some general guidlines and tips to get me closer id really appreciate it.

Cheers!
Nov 21 '06 #1
Share this Question
Share on Google+
2 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
You need to post this question in the Linux forum. Have a look at the right of this page for the discussion zone list.


Basically, what im attempting to do is add some preliminary procedures onto my usb drive. Currently I have a distro of linux, knoppix in my case, which will boot and run entirely from the drive. I really would like to streamline the entire process of booting a machine into knoppix (Shutting down, rebooting into bios, changing boot order).

What I have so far is an autorun to open my batch file containg psshutdown. I chose this app as it allows multiple windows enviroments to all be shutdown, as opposed to plugging in a script for XP, 9*, etc. I know its not much, but this is all I have.

My AUTORUN.INF
[autorun]
open=launch.bat
(Btw, should I include/substitute for shellexecute?)

and in the launch.bat
psshutdown -r -v 0

Psshutdown in this instance displays no timer, and will reboot upon shutdown. Now heres where I dont have the slightest, even in so far as what language this can/should be done in. The intent is that this autorun will also enter the bios on startup, enter the boot order, choose to boot from any selectable USB device (USB_HDD or USB_ZIP), and save&exit the bios.

Being able to streamline all of this would just be that much more conveinent, and im really curious as to how it could done. My knowledge of actual programming is nearly nonexistant. Id like to get this script running and explore how it actually works at the same time, but if I could at least get some general guidlines and tips to get me closer id really appreciate it.

Cheers!
Nov 22 '06 #2

MMcCarthy
Expert Mod 10K+
P: 14,534
You need to post this question in the Linux forum. Have a look at the right of this page for the discussion zone list.
Sorry guys. I moved this in from the discussions forum. You can delete it as it's now a double posting.

Mary
Nov 30 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.