Find the answer to your Linux question:
Results 1 to 10 of 10
i have opensuse 10.3 installed on my system. when my system boots i have been shown by a list of OS installed on my system. on the top of list ...
  1. #1
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281

    setting windows as default OS

    i have opensuse 10.3 installed on my system.
    when my system boots i have been shown by a list of OS installed on my system.
    on the top of list of OpenSuse10.3.
    i want to move Windows to first place.
    tell me how can this be possible
    thanks

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You need to edit your /boot/grub/menu.lst file and change the value of "default" to the number of the entry that matches Windows (the first entry is 0, the second 1 etc).

  3. #3
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    As root edit the

    /boot/grub/menu.lst

    file and change default 0 to the menu of the windows entry (counting from zero) ie if Windows is the second entry then change to 1 etc

    This will make that entry the default boot option. ie if you don't do anything the computer will boot to Windows.

    You can change the order of the menu items but be very careful to not change the lines themselves. It is a good idea to backup the file before making changes.

  4. #4
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    but in OpenSUSE 10.3 there is no menu.lst in /boot/grub.

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    It should be there unless you did not install grub for some reason. What is the output of running
    Code:
    $ls -l /boot/grub

  6. #6
    Just Joined!
    Join Date
    Nov 2006
    Location
    Stoney Stanton - England
    Posts
    78
    Perhaps an easier way is to press:-

    start / computer / yast settings / system / boot loader

    then highlight windows and click on the 'set as default' button

  7. #7
    Linux User bilal_jan's Avatar
    Join Date
    Mar 2008
    Location
    Pakistan
    Posts
    281
    oh i found it daark.child...thanks for assistance
    i try to edit it with my favorite editor gedit
    but i am getting following error
    Code:
    linux-pxgh:/boot/grub # gedit menu.lst
    bash: gedit: command not found
    i open it using vi editor but its quite difficult to use vi editor.
    can u please tell me any editor wh is same as gedit or how can i install gedit on my opensuse10.3.

  8. #8
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,946
    If you are logged in as root just press Alt + F2 and type in Kate or Kwrite and use either of those. Using "vi" you just need to use the arrow keys to get to where you want after pressing the "i" key (insert) so you can make changes. After making the changes, press the escape key, the color ( key, type "wq" and hit enter. Any of these editors should work.

  9. #9
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    I use nano but you have to install it. I think joe is installed by default these days. Nice simple command line editor. I don't think you will have gedit unless you have Gnome installed. Besides I think that it is a GUI editor and is not appropriate for the command line.

    dh1 gave you a way to do what you want from Yast from the comfort of the GUI.

  10. #10
    Just Joined! Natures_End's Avatar
    Join Date
    Jun 2008
    Posts
    12

    Suse

    Like dth1 was trying to say: Suse 10.3 boot editor is probably the easiest way.

    Path for Suse 10.3 is:
    Start / Computer / Administrative Settings / System / Boot Loader

    Select windows and click "set as default"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...