make grub boot from other partition --> only once
Hi,
I updated my mandrake version from 10.0 to 10.1 I thought it was time for a fresh install. I kept my /home/myname so all my settings were saved (other HD). My girlfriend hates the pinguin computer and she wants to use the 'normal one' with the START menu. The mandrake 10.0 had the lilo bootloader as default which was ok. Mandrake 10.1 has the Grub bootloader, which is also ok. One thing i can't get done with grub: Cause my girlfriend wants here START menu every time she uses the computer it needs a reboot to windows, no problemo. (VMWARE not an option) lilo had this wonderfull function which was: console: # lilo -r windows (or something like it) (put this little script under an icon with a windows logo on your desktop, everybody happy) what made it reboot directly to windows and not the lilo menu with linux for default. So you dont need to sit next to your computer waiting to get it booted in Windows, in the time you wanted to go to the toilet or whatever. How is this done with Grub? I tried to make another config file, but that did not work so well. Installing LILO is too easy! therefor not an option :) Help will be appreciated. Greetings Bas ps ( opperator, aint it usefull to start a list with all kinds of usefull very small scripts? like: while [ 1 ];smbstatus -i;sleep 5;done i think there are a lot of usefull progs and scrips we never thought of. ) |
This has not afaik been implemented in GRUB. There was a hack to do this a while back, but I never tried this because it was being described to me as a "dirty hack", and at the time I hesitated to use it. Following this, I wrote a script that would change the grub config file and reboot grub, so it would reboot in windows. However, it would then boot windows every time. That problem could be solved in a very roundabout way by installing the ext3-Extension in Windows and having the reverse perl script there, using the ActivePerl implementation. Or keep using lilo. Or stick around while the machine boots. The sky's wide open...
HTH, Samsara PS: I'll try and find that grub hack. |
http://www.linuxquestions.org/questi...04/02/2/145115
Or this: Code:
#!/usr/bin/perl Edit: All untested by me, so use at your own risk! Samsara |
All times are GMT -5. The time now is 04:48 PM. |