Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-27-2005, 11:03 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 6.06 (Dapper Drake)
Posts: 20
Rep:
|
Grub Boot Loader Problems
I am having trouble changing the order of the bootloader. I have the instructions for it and I know how to do it, but it says I need to be the root user. I do not know how to access it to change it. I do not like linux loading up first before windows. Also, anyone knows why sometimes when I load up linux it is fine, but sometimes when I load it up the monitor is blurry and it doesn't get the right resolution or the refresh rate. The OS is Ubuntu 5.10
Last edited by tylerjroach; 12-27-2005 at 11:04 PM.
|
|
|
|
12-27-2005, 11:38 PM
|
#2
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,595
|
To change the boot default, you need to edit the file /boot/grub/grub.conf.
Since you indicate you aren't familiar with command-line operations, login as the root user (this avoids volumns of instructions on how to su to root, and do command-line editing).
In grub.conf, there is a line near the top: default=0. 0 is the first OS in the menu; 1 is the second, etc.
If windows is second in the list, change the default line to default=1 to make windows the default.
Or
Cut and paste. Cut out the windows part of the menu list, and paste it back in as the first OS in the list.
Either way will work.
|
|
|
|
12-28-2005, 12:33 AM
|
#3
|
|
Member
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90
Rep:
|
just a tip:
since I absolutely HATE vi, I finally realized that you can open a terminal, type su and your password, then type gedit (it is probably my favorite editor, but I am sure this works with other editors), and it opens an instance of the editor that has su privledges. It is much easier than trying to deal with the cryptic vi commands!
So once you get your su instance of your GUI editor running, you can browse to the file you want to edit, and make your changes and save it all from the gui editor. This little tip would have saved me SO much time when I was starting out!
|
|
|
|
12-28-2005, 01:22 AM
|
#4
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Rep: 
|
Quote:
|
Originally Posted by m_a_b
type su and your password
|
For Ubuntu, you have to use sudo instead of su, so it would be:
$ sudo gedit
If you have nano or pico installed, you could also use them as they're command line editors but easier to use than vi.
|
|
|
|
12-28-2005, 01:39 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2005
Posts: 10
Rep:
|
Quote:
|
To change the boot default, you need to edit the file /boot/grub/grub.conf
|
Ubuntu5.10 doesn't have grub.conf,the menu.lst instead
following these steps:
Quote:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
|
modify default=0(or 1,2..)
for example,if your menu.lst like this:
Quote:
title Ubuntu, kernel 2.6.10-5-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.10-5-686 root=/dev/hda5 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-686
savedefault
boot
title Ubuntu, kernel 2.6.10-5-686 (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.10-5-686 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.10-5-686
savedefault
boot
title Ubuntu, kernel 2.6.10-5-386
root (hd0,4)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda5 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda5 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot
title Ubuntu, kernel memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Pro
root (hd0,0)
savedefault
makeactive
chainloader +1
|
so ,the default=6,windows loading up first,
Last edited by xine_luo; 12-28-2005 at 01:45 AM.
|
|
|
|
12-28-2005, 10:30 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 6.06 (Dapper Drake)
Posts: 20
Original Poster
Rep:
|
Thank you, I have had this problem for a while and now it won't annoy me anymore.
Last edited by tylerjroach; 12-29-2005 at 03:14 PM.
|
|
|
|
01-03-2006, 01:53 AM
|
#7
|
|
LQ Newbie
Registered: Jan 2006
Posts: 1
Rep:
|
how to modify timeout in GRUB Loader???
|
|
|
|
01-03-2006, 02:54 AM
|
#8
|
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
Try the "timeout" option in your GRUB config:
"timeout 5"
for 5 seconds...
See also:
info grub
section on "configuration".
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|