Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.