Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
So this Linux newbie decided to install Fedora 9 (on a separate partition) on a laptop that's been running Vista. I decided to configure it for dual-booting. At the boot loader configuration during the installation, I decided to install the boot loader on /dev/sda.
I've got Vista running on what the boot loader shows to be on /dev/sda1, and Fedora 9 on /dev/sda2. I chose the latter to be the default OS.
Everything went smooth, the installation was successful. But, every time I power on my laptop, I get to the GRUB boot loader screen with two options:
- Fedora (2.6.25 - 19.fc9.i686)
- Other (Choosing this takes me to Vista)
I was hoping to see the good ol' Windows Boot Loader instead of GRUB, allowing me to choose between Vista and Fedora. I mean, GRUB does that, but I want Vista to be my default, and currently it's not. Yes, I know I chose Fedora to be the default, but I assumed I would get the Windows Boot Loader upon powering on my laptop.
Is there a way to get Windows Boot Loader to show up instead and change the default OS to Vista? Any help is appreciated, and if more information is needed, feel free to ask
Last edited by JimmyTaylor; 03-12-2009 at 12:09 AM.
Reason: Added a little bit more info.
If you want vista to be your default, all you have to do is boot into Fedora, login as root user, navigate to a file called menu.lst in the /boot/grub/ directory and edit it. Near the top will be the word "default", probably with a zero (0) after it. There will be at least 2 entries, Fedora and 'other' (vista). You count the title lines and put the number for vista after 'default'. Grub counts from zero, so if vista is the third title entry put 2 after default. You can also change 'other' to 'vista' or whatever you want to call it by editing the title line currently labelled 'other'. Additionally, there is an entry at the top that says 'timeout' and you can put a number there for the number of seconds before it automatically boots.
If you want to acatually boot from the vista bootloader for vista and Fedora, you can do that also but it won't be as easy. I would suggest if you want to try that, you download EasyBCD from neosmart technologies (just google that).
The default installation for Ubuntu is to put Grub in the master boot record. I haven't installed Ubuntu lately but you should have had an Advanced tab to click on to change that during your installation. Almost all distributions give you that choice, unlike windows.
if you want to reinstall windows boot loader to the mbr then make a boot cdrom then use super grub then do that. that way you can boot to windoze and when you want to use a real operating system like linux. then put your boot cdrom disk in and boot it.
I have kind of same problem, but I want what Jimmy doesn't: to boot on grub. I installed Fedora 10 x86_64 and my laptop boots directly in veesta. I want to be asked which OS I want to choose. Any advise? Thanks.
When you installed Fedora you probably did not choose the option to install to the master boot record. If you had, you would be seeing the Grub menu. Post the output of the "fdisk -l" command run as root user to show your partition information and someone should be able to tell you the correct commands.
Well, I did what yancek said in his first post, and you know, it's not bad Looks pretty with the laser blue background, and that beats the boring black Windows boot loader background any day. Not that I care about the color, I don't XD
But I did get Vista to be the default OS. Thanks, yancek!!
I currently have Fedora Core 5 as my default OS and would like to change it to Vista.
I am trying to access the menu.lst file to make the adjustments but for some reason it says I do not have the permission. It would not display what is inside the file. There is a red circle with a line across it on the file icon. I am logged in as a root user.
when you say you are logged in as root, I am understanding that as you logged into a session as root, and then browsed to the menu.lst file throught the file browser. Thats how i understand what you meant, from reading your post. If you want to edit the the menu.lst file, log into a session as a normal user, open a terminal, and type
"su" without the quotes, then hit enter.
then type your root password.This makes you root, and gives you permission to change the menu.lst file.
then you are going to use a text editor to change the menu.lst file. Im not familiar with fedora and what text editor it uses, and also im not 100% sure if the menu.lst file is located in the same place as it is in other distros. For an example of what to type next, here is what i would type to edit my menu.lst file.
(i would type this into a terminal as root, and hit enter). nano is a text editor, and another one would be gedit.this command will open my menu.lst file for me to edit it. If you use nano, after you make changes, hit control+o, enter, control+x . what that does is save the changes i made with nano, to the menu.lst file. If you use gedit, it is simple to save changes made, by clicking on the save button toward the top left of the editor's window. Hope you understand this and it helps.
Thanks for your reply! Cr4s5, you wer correct, I was trying to access menu.lst file via a file broswer. grub.conf had the same issue, no access permission using file browser.
I followed your tips on using Terminal and found it to be successful, thanks!! However, bear with me, as you can tell, I am new to Linux...I am not sure what to change in this file to make my Vista the default OS. Here is the content of menu.lst:
#grub.conf generated by anaconda
#Note that you do not have to rrun grub after making changes to this file
#NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg
# kernel /boot/vmlinuz-version ro root=/dev/sdb3
# initrd /boot/initrd-version.img
title Fedora Core (2.6.15-1.2054_FC5smp)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
Count the number of the "title" line of interest - then subtract 1 because grub uses zero-based counting.
So, in your case 2-1; change the default line to 1.
Edit the title text to something meaningful while you're there.
If you want to see the menu so you can make a selection yourself, comment the "hiddenmenu" line by putting a # in column one.
I multi-boot 4 distros and a Windows, by editing menu.lst. There are some tricks you might like to know.
It is way easier to let Linux GRUB start off Windows as the default choice than the other way around. You can either edit "default(0)" to read something else, or move the little group of commands up to be the first encountered.
Notice that the group of commands that booted Windows uses "chainloader +1". This just means that when the PC first looks on the hard drive MBR (master boot record), and gets to start GRUB, then GRUB simply points it onward to the Windows bootloader as if GRUB was not there. If ever you do a clean Windows install, it will ALWAYS overwrite the master boot record, and your Fedora will (temporarily) seem to be unavailable until you install GRUB again.
I have seen a little refinement to what can be the default. Each little group of lines to boot each OS starts with a "title" line, then a pointer to the partition where a kernel can be found, then a boot line to the kernel filename (or maybe a link to it), with some boot options, and often a last line to a thing called "iniramfs".
If the line "savedefault" or "savedefault=true" is added, then whichever was the choice last time around, will be the default choice again until you select something different when booting up.