Script to reboot into windows?
Can you pass arguments to the reboot command so that the computer chooses one particular item in the Lilo menu, like windows, for example? Thanks fxf -- ______________________ Courtesy of SuSE Linux
no :) If you were likely to boot into Windows most of the time (why?) though, you could make it the default in lilo.conf Just add default = Windows to the global section, and remember to run lilo :)
Can you pass arguments to the reboot command so that the computer chooses one particular item in the Lilo menu, like windows, for example? -- James Ogley, Unix Systems Administrator, Pinnacle.Net james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 20 8731 3619
This email was created and sent with: Evolution 0.10 *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
Tuesday, July 03, 2001, 9:59:25 AM, James Ogley wrote: JO> If you were likely to boot into Windows most of the time (why?) though, JO> you could make it the default in lilo.conf My problem is a short attention span. By the time Linux shuts itself down, the computer restarts and the Lilo menu shows, I'm thinking about something else, and before I know it I'm looking at kdm, instead of the Windows login. Olly
Hi, In theory, it would be possible, but I don't know how much of a nuscience you would find it. You could put a command in your "/sbin/init.d/halt.local" file, which would run lilo, to make windows the default, after you have exited from the run-level. The only problem, would be re-setting the default option in "lilo.conf" back to Linux again from windows. Regards, Thomas Adam ----- Original Message ----- From: FX Fraipont <fxf@skynet.be> To: <suse-linux-e@suse.com> Sent: Tuesday, July 03, 2001 9:54 AM Subject: [SLE] Script to reboot into windows?
Can you pass arguments to the reboot command so that the computer chooses one particular item in the Lilo menu, like windows, for example?
Thanks
fxf
-- ______________________ Courtesy of SuSE Linux
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender. If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk
Can you pass arguments to the reboot command so that the computer chooses one particular item in the Lilo menu, like windows, for example?
Just configure windows as the default loading OS and put a short wait time(100ms?!) and that would be pretty much automatic. _______________________ Raul Gutierrez Segales oxford@campoalto.edu.py
On Tuesday 03 July 2001 12:07, Raul Gutierrez Segales wrote:
Just configure windows as the default loading OS and put a short wait time(100ms?!) and that would be pretty much automatic.
So how would you choose Linux? I use 4 seconds, which is fast enough to not irritate, and slow enough if I want to boot another O/S, or even Windows. Terence
So how would you choose Linux? Edit /etc/lilo.conf to have something like this:
# LILO configuration file # Start LILO global Section # If you want to prevent console users to boot with init=/bin/bash, # restrict usage of boot params by setting a passwd and using the option # restricted. #password=bootpwd #restricted append="vga=0x0301" boot=/dev/hda #compact # faster, but won't work on all systems. vga = normal # force sane state menu-scheme=Wg:kw:Wg:Wg read-only prompt timeout=100 default=dos # End LILO global Section # root = /dev/hda3 label = dos _______________________ Raul Gutierrez Segales oxford@campoalto.edu.py
On Tuesday 03 July 2001 13:44, Raul Gutierrez Segales wrote:
So how would you choose Linux?
Edit /etc/lilo.conf to have something like this:
# LILO configuration file # Start LILO global Section # If you want to prevent console users to boot with init=/bin/bash, # restrict usage of boot params by setting a passwd and using the option # restricted. #password=bootpwd #restricted append="vga=0x0301" boot=/dev/hda #compact # faster, but won't work on all systems. vga = normal # force sane state menu-scheme=Wg:kw:Wg:Wg read-only prompt timeout=100 default=dos # End LILO global Section # root = /dev/hda3 label = dos
_______________________ Raul Gutierrez Segales oxford@campoalto.edu.py
No, I meant how do you have the time to choose? My system uses the following, and I can select from the menu for 4 seconds, although it defaults to lx. (on hda3) Terence append="vga=ask idebus=66 hdc=ide-scsi hdd=ide-scsi" boot=/dev/hda #compact # faster, but won't work on all systems. vga=normal message=/boot/message menu-scheme=Wg:kw:Wg:Wg read-only prompt timeout=40 # End LILO global Section # image = /boot/vmlinuz root = /dev/hda3 label = lx # image = /boot/vmlinuz_24 root = /dev/hda3 label = linux_2.4 optional # image = /boot/vmlinuz.suse root = /dev/hda3 label = suse optional # other = /dev/hda1 label = dos table = /dev/hda # image = /boot/memtest.bin label = memtest86 # image = /boot/vmlinuz root = /dev/hdb3 label = lxb
participants (6)
-
FX Fraipont
-
James Ogley
-
n6tadam
-
Oliver Maunder
-
Raul Gutierrez Segales
-
Terence McCarthy