LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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).

Notices


Reply
  Search this Thread
Old 10-28-2010, 11:10 PM   #1
Joushu
LQ Newbie
 
Registered: Oct 2010
Location: Seattle
Posts: 7

Rep: Reputation: 0
Dual Booting Question


So last time I installed Linux on my laptop I lost the ability to boot to the windows partition and had to fix the bootloader with a windows disc. Is their a way to install Fedora Linux and dual boot with Windows 7 that does not mess up the bootlader for Windows? Sorry to ask such a noobish question.
 
Old 10-29-2010, 12:03 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Yes.

How you do it depends upon what you want to do. Do you want to install Fedora on the internal hard drive of your laptop? Do you have any other operating systems on your hard drive other than windows 7? Is this an OEM or did you install windows 7 yourself? Do you want to use the Fedora Grub bootloader or the windows 7 bootloader?

Once you answer these questions and post some partition information, you should be able to get some very specific instructions on what to do. I don't know if you have the Fedora CD yet but, if you do, you can boot it up from the CD drive and open a terminal as root and run the command:

fdisk -l (lower case Letter L in the command)

If you're not familiar, post back for more information.
 
Old 10-29-2010, 05:09 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
I'd suggest that you consider using a virtual machine to help protect your windows install and allow you to use linux. I use VMware's free VMplayer. It is a windows program like MS Office that allows me to run linux at the same time as Windows. I can create and delete BSD,QNX,Windows,BeOS and almost any number of x86 and x86-64 guest virtual machines.

But to answer your question, one could use the Windows bcd to select windows or linux.


Consider also choices like live cd's and live usb flash drives. I always have some flash drives with linux on it. They boot quite fast and if done correctly will not harm your windows.

By far the most safe way is to use live cd's or virtual machines.
 
Old 11-03-2010, 02:58 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Gparted-live-cd and hiren's-boot-cd have the boot os option on it.
 
Old 11-06-2010, 02:16 PM   #5
ashmab
LQ Newbie
 
Registered: Nov 2008
Location: Bangalore
Posts: 7

Rep: Reputation: 0
Dual Boot Problem

Hi, mine is also a similiar concern. i recently got an HP lappy with Quard core processor i7, with windows7, 64bit. As i did not want to loose windows7, so thought of dual booting.But, when i insert the RHEL5.3(64bit) CD and boot up, it throws a Fatel Error and hangs up. i wonder if windows7 can be dual booted with RHEL??? Nextly, i tried to install virtual machine and then opt for linux on it but then, the USB port gets disabled.

Kindly suggest on this. Is that RHEL5.3 is not the right one to go with this configuration. But i want to stick to rhel only.

Thanks in advance.........
 
Old 11-06-2010, 02:53 PM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I have found that the Fedora installer does not look for other operating system so the boot menu does not include them by default. So you have to add an entry for Windows yourself.

I just looked at the Fedora web site. It looks like they are still using the original GRUB boot loader. I'm not sure if that is compatible with Windows 7 but it worked fine with Vista. The Windows boot process changed with Vista so if it worked with Vista then it should work with Windows 7.

Anyway, once you get Fedora installed you have to edit the /boot/grub/menu.lst file and add the following lines at the bottom of the file.
Quote:
title windows
root (hd1,0)
makeactive
chainloader +1
 
Old 11-06-2010, 04:23 PM   #7
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
GRUB one start counting at zero .
root (hd1,0) that means you are assuming that windows is located at sdb on the first partition
If windows is located at sda 's first partition than in my opinion it should be (hd0,0)
But I may be wrong
 
1 members found this post helpful.
Old 11-06-2010, 05:55 PM   #8
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by ronlau9 View Post
GRUB one start counting at zero .
root (hd1,0) that means you are assuming that windows is located at sdb on the first partition
If windows is located at sda 's first partition than in my opinion it should be (hd0,0)
But I may be wrong
I believe that you are correct and I have paid you in LQ currency. I have marked your post as "Helpful".

Last edited by stress_junkie; 11-06-2010 at 06:16 PM.
 
  


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
Dual Booting question Christof999 Linux - Software 5 10-15-2006 09:33 PM
Another Dual Booting Question nitrohuffer2001 Linux - General 7 09-28-2006 12:31 PM
Dual Booting Question? JDP17 Linux - Newbie 2 09-18-2005 02:06 AM
Dual Booting Question? glaz Linux - Newbie 10 07-02-2005 08:00 AM
Dual-booting question Renaxgade Linux - Software 1 10-20-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:16 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