473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Automating the BIOS boot order

I posted this under the programming lounge because I beleived this to be more of a question of writing a script then dealing with the OS itself, but id really like some feedback so after an suggestion im posting it here.

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. Is this even possible from a batch script? Heck how feasable is this at all? Perhaps there an app out there that will give a device like this(or a cd and play with the script) the primary boot option?

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 #1
3 4285
Colloid Snake
144 100+
I posted this under the programming lounge because I beleived this to be more of a question of writing a script then dealing with the OS itself, but id really like some feedback so after an suggestion im posting it here.

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. Is this even possible from a batch script? Heck how feasable is this at all? Perhaps there an app out there that will give a device like this(or a cd and play with the script) the primary boot option?

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!
Why not just set the bios once and leave it? (Though you would have to remove your USB key whenever you didn't want to boot from it...)
Nov 22 '06 #2
Why not just set the bios once and leave it? (Though you would have to remove your USB key whenever you didn't want to boot from it...)
Well I wanted to be able to keep its portability factor, and take the usb drive to use on any windows pc at work, school, etc.
Nov 22 '06 #3
Colloid Snake
144 100+
Well I wanted to be able to keep its portability factor, and take the usb drive to use on any windows pc at work, school, etc.
I don't know how feasible it is - most schools or companys will lock the BIOS as good security practice now (or at least should), and it will probably be easier to just do it yourself than to spend the time figuring out the right hex string that these guys are talking about:

http://blogs.technet.com/jhoward/arc...12/425092.aspx
Nov 22 '06 #4

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

Similar topics

21
by: Gavin | last post by:
Hi, I'm a newbie to programming of any kind. I have posted this to other groups in a hope to get a response from anyone. Can any one tell me how to make my VB program read the Bios serial number...
1
by: Mark | last post by:
Hi all and thanks in advance, I have a frontend/backend scenario where the backend has a tendency to bloat quit a lot over a period of about 5 days. Once compacted, there is not problem but it...
1
by: just4me | last post by:
I would like to access the bios flash using watcom c. To start, I would like to be able to read the entire bios and back it up into a file. I can do everything except reading the bios flash. Any...
5
by: Chris Fink | last post by:
My motherboard has two temperature probes on the motherboard. One to measure case temp, the other to measure CPU temp. This PC is used as an HTPC, so adequate cooling is always a concern. I...
2
by: standard149 | last post by:
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...
2
by: =?Utf-8?B?Y29taXQy?= | last post by:
itried to install xp home edition . everything was loading ok untill eror message that os couldnot find hard disk drive. upon opening bios it shows my cd drive as primary and my dvd drive as...
4
by: robin1983 | last post by:
HI guys, i got stuck in a problem. Actually, i want to install XP SP2, but i cannot the change the bios setting so that i can boot from CD. All the bios setting is disable. I dont know how to make...
1
by: =?Utf-8?B?d2Vsc2hoaXBwbw==?= | last post by:
I am running Win XP Pro on a Gigabyte GA-8IG1000 mainboard with Pentuim 4 processor. My computer suddenly froze and I had to reboot. Since this the boot up screen has columns of chartacters...
1
by: samvb | last post by:
Hey, I have an old laptop that have no cd rom or floopy. I lost external flooppy actually. now, ntldr is missing and i wanna fix that using flash (i have done that before). But the laptop cant boot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.