LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-21-2010, 11:13 AM   #1
gcmhmedic17
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
changing OS selection at boot selection screen


Good afternoon. I am trying to find the best and correct way to change the Windows Vista selection from the bottom of the selection menu at the system boot screen to the top. Also, I am looking to find out if it is possible to remove the rest of the selections other then the Ubuntu 8.10 choice without corrupting the system. Thanks in advance, and have a Merry Christmas and a safe and happy New Years holiday.
 
Old 12-21-2010, 11:28 AM   #2
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
Install startupmanager package in Ubuntu.

open a terminal and type

Quote:
sudo apt-get update
Quote:
sudo apt-get install startupmanager
You can change boot order, splash image and a few more things with Startup Manager.
__________________

All this was cited from this post

____________________________________________________________________________________________

http://img543.imageshack.us/img543/6...dowaxvgggg.gif

Last edited by silvyus_06; 12-21-2010 at 11:30 AM.
 
Old 12-21-2010, 11:29 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Are you using grub or lilo?
For grub
Edit
Code:
/boot/grub/grub.conf
(or, equivalently, /etc/grub.conf). There's
Look for the line
Code:
default=some number
If the number is 0, the default corresponds to the first in the series of
titles in grub.conf. If it's 1, the default corresponds to the second.
etc..

For lilo
Edit
Code:
/etc/lilo.conf
Look for the line that says
Code:
label=what yo want to boot first,
and change the line that says default= to the above label.
run
Code:
lilo
to make the changes

Kind regards


Kind regards
 
Old 12-21-2010, 11:30 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
the file you are looking for is /boot/grub/grub.cfg or /boot/grub/menu.cfg(lst?), must be edited as root
though it would probably be easier to change this line
Code:
set default="0"
to the one you want as opposed to moving them, but simply moving the menuentry section eg:
Code:
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set d43e0044-5a1d-4f17-abc3-c6fd77b20dd7
	echo	'Loading Linux 2.6.32-27-generic ...'
	linux	/vmlinuz-2.6.32-27-generic root=UUID=44169a1f-a1aa-476a-9837-48ccb9853381 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-27-generic
}
though the one for windows would be smaller
to the top should also work
just be careful to copy everything including the brackets
 
Old 12-21-2010, 11:38 AM   #5
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
Quote:
Originally Posted by frieza View Post
the file you are looking for is /boot/grub/grub.cfg or /boot/grub/menu.cfg(lst?), must be edited as root
though it would probably be easier to change this line
Code:
set default="0"
to the one you want as opposed to moving them, but simply moving the menuentry section eg:
Code:
menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set d43e0044-5a1d-4f17-abc3-c6fd77b20dd7
	echo	'Loading Linux 2.6.32-27-generic ...'
	linux	/vmlinuz-2.6.32-27-generic root=UUID=44169a1f-a1aa-476a-9837-48ccb9853381 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-2.6.32-27-generic
}
though the one for windows would be smaller
to the top should also work
just be careful to copy everything including the brackets
you are right for grub 1 it is /boot/grub/menu.lst

to edit it as root try entering :

Quote:
sudo gedit /boot/grub/menu.lst
-for grub 1

Quote:
sudo gedit /boot/grub/grub.cfg
- for grub2

in a terminal

____________________________________________________________________________________________________ __________________

http://img543.imageshack.us/img543/6...dowaxvgggg.gif
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Selection Buffer sending text before completing selection fakie_flip Linux - Software 2 06-20-2010 07:54 AM
Changing templates based on country selection senrooy Ubuntu 0 05-20-2009 12:44 AM
Mandrake 10.1 CE Logon Selection screen will not appear ejp Mandriva 1 10-18-2004 11:12 AM
Operating system selection screen BigBrittDOGG Linux - Software 3 08-10-2003 06:19 PM
RH 7.3 installation freezes at screen selection rpostolski Linux - Software 0 07-08-2002 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration