This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

(SOLVED) Change Default OS

Brainicism

Sat Feb 16, 2013 7:33:33 pm

Hello.

I've been using zorin on my old pc for a week, and it's working great. However, I'd like XP to remain the default OS. I've tried the following.

Typing "sudo gedit /etc/default/grub" into terminal. Gives me "sudo: gedit: command not found"

Typing "sudo apt-get install startupmanager". Gives me
"Reading package lists... Done
Building dependency tree
REad state information ... Done
E: Unable to locate package startupmanager. "

Not quite sure where to go from here, thanks in advance

kc1di

Sun Feb 17, 2013 10:47:01 am

Brainicism wrote:Hello.

I've been using zorin on my old pc for a week, and it's working great. However, I'd like XP to remain the default OS. I've tried the following.

Typing "sudo gedit /etc/default/grub" into terminal. Gives me "sudo: gedit: command not found"

Typing "sudo apt-get install startupmanager". Gives me
"Reading package lists... Done
Building dependency tree
REad state information ... Done
E: Unable to locate package startupmanager. "

Not quite sure where to go from here, thanks in advance

Hi,
Try this in a terminal type
Code:
sudo apt-get install leafpad

when that is finish type
Code:
sudo leafpad /etc/default/grub

when that file comes up you need to follow the instructions on this page.
http://askubuntu.com/questions/52963/how-do-i-set-windows-to-boot-as-the-default-in-the-boot-loader

when you enter this command
Code:
grep menuentry /boot/grub/grub.cfg

you want to look for the line in the list that is your windows xp entry copy that line and past it
in the sudo leafpad /etc/default/grub file that you have open in leafpad.
you'll be looking at a line that looks like this
Code:
GRUB_DEFAULT=0
change it to look somethng like this
Code:
GRUB_DEFAULT="Windows xp (loader) (on /dev/sdx)"

sdX (Xbeing the drive number that your windows xp is installed to.
Save the file once done and exit leafpad.
now in a terminal type the following command:
Code:
sudo update-grub

when that finishes reboot and xp should be the default boot.
good luck :)

Brainicism

Sun Feb 17, 2013 1:32:15 pm

@swarfendor437
This didn't work sadly.

@kc1di
Worked perfectly, thanks.

kc1di

Sun Feb 17, 2013 2:01:38 pm

Your Welcome Enjoy :)

Brainicism

Sun Feb 17, 2013 2:43:26 pm

One last question, is it possible to change my dns servers to Google/OpenDNS

Brainicism

Sun Feb 17, 2013 7:06:28 pm

Ok thank you so much for the help.

madvinegar

Sun Feb 17, 2013 7:26:51 pm

Are you using Zorin Lite or Zorin core? If you are using Zorin Lite, then leafpad is the default editor.
Only if you are using Zorin core, you get "gedit" by default.