473,387 Members | 1,313 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,387 software developers and data experts.

Programming the BIOS boot order

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
2 3986
MMcCarthy
14,534 Expert Mod 8TB
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
14,534 Expert Mod 8TB
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

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: J. Rodrigo A. V. | last post by:
There was this guy in alt.es.hackers asking if there is a way to crack bios password bys software. I of course know you can always resort to the "almigthy" jumper and reset the CMOS. So the...
10
by: just4me | last post by:
Exactly how do I read a specific location in the bios eprom. (such as debug.exe location ffff:0000)
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...
1
by: adi | last post by:
Hi Is there a possibility to read/write BIOS values? I develop an application that should start running at 6 a.m. every day, so I need to make sure that the computer will start at that time. So...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.