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.
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.
|
|
01-09-2010, 09:12 AM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 23
Rep:
|
Boot Loader ?
I had(have) Fedora 10 installed on my computer and was working ok with a dual boot with win Vista. Yesterday I installed Windows 7 ... and now I can boot only in Windows. Any Ideas how can I fix my boot loader ?
|
|
|
01-09-2010, 09:16 AM
|
#2
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
|
Hi,
You wiped the bootloader.
What about the Linux Install? How did you install M$7? If you let the M$ installer wipe/format the whole drive then a re-install will be necessary. If not then your M$ bootloader will have to be modified to boot linux or re-install grub/lilo to boot your installs.
Last edited by onebuck; 01-09-2010 at 09:28 AM.
Reason: grammar
|
|
|
01-09-2010, 09:18 AM
|
#3
|
Member
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276
Rep:
|
which bootloader are you using?
I'm not familiar with the Windows systems you have, but you might trying logging in with administrator, run fdisk and set the fedora partition as active and then reboot.
|
|
|
01-09-2010, 09:25 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by multios
which bootloader are you using?
I'm not familiar with the Windows systems you have, but you might trying logging in with administrator, run fdisk and set the fedora partition as active and then reboot.
|
Nope....
Setting a partition as active has no relevance in Linux.
What happened is that Windows put it's own bootloader in.
Simply boot up from any Linux LiveCD and reinstall GRUB from there.
|
|
|
01-09-2010, 09:30 AM
|
#5
|
LQ Newbie
Registered: Jan 2009
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by onebuck
Hi,
You wiped the bootloader.
What about the Linux Install? How did you install M$7? If you let the M$ installer wipe/format the whole drive then a re-install will be necessary. If not then your M$ bootloader will have to modified to boot linux or re-install grub/lilo to boot your installs.
|
I've formated the old windows partition.
How can I Install a new Grub ? or how to modify the Windows one ?
... I had an ubuntu x64 CD under hand ... but when I tried to install grub from it from recovery mode .. it said .it will delete some files... and I have impotant ones on my linux hard
|
|
|
01-09-2010, 09:37 AM
|
#6
|
LQ Newbie
Registered: Jan 2009
Posts: 23
Original Poster
Rep:
|
I did it! or at least Fedora came to life ;] ... the ubuntu x64 disked worked...I mounted a rescue system on the partition with linux... and there were option rebuild grub
|
|
|
01-09-2010, 09:38 AM
|
#7
|
LQ Newbie
Registered: Jan 2009
Posts: 23
Original Poster
Rep:
|
Thank You for your posts
|
|
|
01-09-2010, 09:38 AM
|
#8
|
Member
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213
Rep:
|
The first thing I would do is start the computer with a live CD that has Gparted (nice partition manager) to see exactly what the Vista install did to your hard drive. I recommend Puppy Linux because it also has a tool to reinstall grub (the old version, not Grub 2). Since there are still issues with Grub 2, and it is technically still a beta, you should stick to Grub legacy. You have to use Gparted to set your Fedora partition as bootable (right click on partition, flags) Also, you will manually have to put an entry into the menu.lst file for Grub to boot Vista:
title Vista (or whatever you want)
root (hdx,x) replace the x's with whatever partition vista is installed on.
makeactive (trick vista into thinking that it still has its boot flag set)
chainloader +1 (Tell Grub to transfer control to Vista's boot loader, "shoved over" during Grub install)
Grub uses an odd naming convention for partitions. It starts from the first partion of the first drive, like this:
(hd0,0)
Make sure to install Grub to the root of your hard drive, or if you have two hard drives, whichever hard drive has your Fedora install on it.
That should do it.
|
|
|
01-09-2010, 09:42 AM
|
#9
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Boot from any Linux live CD and get into a terminal.
First, run "fdisk -l" to confirm the drive and partition numbering. Let's assume that your Linux /boot is on a separate partition, sda2. The grub equivalent is hd0,1.
To install grub:
Code:
grub ##starts the GRUB shell
root (hd0,1) ##points GRUB to the location of /boot
setup (hd0) ##installs GRUB to the MBR of the #1 drive.
|
|
|
All times are GMT -5. The time now is 11:40 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
|
|