LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to change primary boot option (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-change-primary-boot-option-208198/)

BW~Merlin 07-22-2004 04:17 AM

How to change primary boot option
 
Hi. I have recently installed mandrake 10.0 OE. Besides not being able to insatll anything (i dont know how) everything seems to be running smothly and i am slowly finding something out (very slowly and very few things). I would like to know how to change my primary boot option from linux back to windows (becuase i dont know how to install anything i cant do any work) and so i need windows where everything is installed and working. I found the lilo.conf file do i simpily change the commands so that instead off

boot=/dev/hda
map=/boot/map
default="linux-p3-smp-64GB"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht splash=silent"
vga=788
read-only

i change it to what? I have looked through the file and the rest of the linux options look similar to each other while the windows one does not look much like the rest

other=/dev/hda1
label="windows"
table=/dev/hda

Thx.

mdg 07-22-2004 04:37 AM

In your lilo.conf example you need to change the 3rd line from:
Code:

default="linux-p3-smp-64GB"
to:
Code:

default ="windows"
That will make the default boot into Windows

BW~Merlin 07-22-2004 05:10 AM

Thx but when i restart and let the counter count out it still boots into linux. Is there anything else that needs to be changed as well? would changing the boot device from hda5 to just hda help?

Thx

michaelk 07-22-2004 06:26 AM

You need to rerun lilo

/sbin/lilo

mdg 07-22-2004 07:29 AM

Yeah, sorry, forgot to mention that:D

BW~Merlin 07-23-2004 02:47 AM

Thank you so much. It worked straight up once i typed /sbin/lilo. Is the /sbin command a restart command for applications? and if so if i have updated an application and i dont know it how can i get it to restart for the changes to take effect.

Once agian thanks heaps.

michaelk 07-23-2004 06:46 AM

/sbin is the directory where the lilo executable is located. It is necessary to run lilo to rewrite the bootloader for the changes to take effect.

With other apps it depends. For apps like apache and samba you can use the control center to start/stop/restart services. It is also possible to start services from the command line.


All times are GMT -5. The time now is 11:29 PM.