LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 10-09-2010, 02:19 AM   #1
@skm3nt
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Rep: Reputation: 0
Windows Vista & Fedora13 dual boot, replace vista with Win 7 without affecting Fedora


Hello Everyone,

I had Windows Vista Business in my compaq presario CQ40-145 TU laptop, over which I insatlled Fedora 13, making the system dual boot. The Windows is set to be the default OS.

Now I want to replace Vista with Windows 7 professional without affecting Fedora. As far as I understand, during boot up, the system enters Fedora's booting process and then gets redirected to Windows, and it is not directly windows even if the default OS is windows.

The reason behind not disturbing fedora is the updates, extra softwares and packages installed and the pain and time it took me to make my speakers, wlan and flash player work in it. I even don't remember the exact process of what I did. I don't have now so much time to search for it again.

So I will take up only that way in which Fedora is not affected at all.
And the second problem is my DVD drive is not working at all. So I'll like using USB stick for the same.Please guide me.

Thank you in advance.
Avantika

Last edited by @skm3nt; 10-09-2010 at 02:24 AM.
 
Old 10-09-2010, 02:37 AM   #2
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
There are two main problems in this regard,

1) MBR (Master Boot Record)
2) Partition of Linux



For making save to your fedora you have to take care of both above things

for installation you have to know the Linux Partition and take care of it, dont delete or install windows on this partition.
2nd is MBR which may be changed during windows installation this issue can be solved by reinstalling boot grub with live CD of Linux.

May be other persons on this forum can give you other important things and better solution.
there may be other issue you can face, which is data on the other partitions to be saved.
 
1 members found this post helpful.
Old 10-09-2010, 02:09 PM   #3
rohanvr_21
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Rep: Reputation: 1
Hey, when you install windows 7, it will rewrite the mbr and you'll no longer have an option to boot fedora. Though this can be easily solved by:
1> Reinstalling grub from the fedora live cd .
or
2> Using a windows app called easybcd it will allow you to add fedora to the boot menu.

Just make sure you dont destroy the linux partition.

And if you can spare the time, wait for some senior to guide you better.
 
1 members found this post helpful.
Old 10-09-2010, 05:00 PM   #4
@skm3nt
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you Sohail and rohanvr.

My dvd drive is not working. So I have to rely on usb for everything. I have found a microsoft's utility that allows me to make pen drive bootable from iso. There is something called "unetbooting" that allows making pen drive bootable for linux. Will this usb live "cd" will reinstall grub same as actual live cd? And also which option and how is to be selected to repair the grub?

Secondly, I have seen my friend using easybcd application to make xp boot when she installed xp over 7. But will the same application work to repair linux system as well? Are you sure? I don't doubt anyone, I am asking just because I want to be sure.

Also if someone has any idea then I wanted to know that my laptop came preinstalled with Win Vista, for which I have got a set of recovery discs. But I know that can not be used to install that OS in parellel to other. That can only be used to restore my laptop to factory state. Is there any way to get Vista ISO out of it? It is Windows Vista Business.

Last edited by @skm3nt; 10-09-2010 at 05:03 PM.
 
Old 10-09-2010, 05:29 PM   #5
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,087

Rep: Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809
Quote:
I have found a microsoft's utility that allows me to make pen drive bootable from iso.
I'm not familiar with that utility.

Quote:
There is something called "unetbooting" that allows making pen drive bootable for linux. Will this usb live "cd" will reinstall grub same as actual live cd?
unetbootin is designed to install various Linux distributions from usb to a hard drive. You should be able to also install Grub from it to your hard drive if the Grub files are on the usb.

Quote:
Secondly, I have seen my friend using easybcd application to make xp boot when she installed xp over 7
Easybcd is designed to edit the bootloader of vista and windows 7. vista and windows 7 have totally different boot files from xp. I've read that it can work to boot xp but have no experience with it.

Quote:
But will the same application work to repair linux system as well?
EasyBCD will work to boot a Linux distribution (usually) but it won't repair any Linux system. If you have all the right Linux boot files on your Linux root partition, you should be able to set EasyBCD to boot your Fedora.

In answer to your last question, I don't know but I seriously doubt it.
 
1 members found this post helpful.
Old 10-09-2010, 11:34 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,452

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
also with fedora if you EVER want to use the "preupgrade" option your boot partition MUST and i DO MEAN MUST be bigger that 700 meg ( 1 gig min is better)
the default install is only 100 meg

i do not know just how bcd will react to a 1 gig MBR , or how win 7 will react

but seeing as fedora 14 will be out in about 3 weeks

wait 1 month back up all your data reformat the drive
install win 7
then install fedora 14
 
1 members found this post helpful.
Old 10-10-2010, 05:45 AM   #7
@skm3nt
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you everyone. I want to know if I create a bootable USB from live CD image I have, how can do the grub installation(and not the complete OS) from that?
 
Old 10-10-2010, 02:35 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 13,452

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
https://fedoraproject.org/wiki/Usb

use the install/live cd in rescue mode and reinstall grub
-- for grub on the mbr ( first hdd )
Code:
chroot /mnt/sysimage
grub-install  /dev/sda
 
1 members found this post helpful.
Old 10-11-2010, 06:56 AM   #9
@skm3nt
LQ Newbie
 
Registered: Jul 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you so much! That piece of code will be very handy to me.
Well, but should I assume that my grub is on the mbr (first hdd). How do I know that? I installed with 3 paritions, boot swap and root. It automatically detected the presence of other OS and added to list, asking for the 1st OS to boot in.
 
  


Reply

Tags
dual boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Do I always have to boot Fedora Core 6 Linux from a DVD? Dual Boot with Win Vista? jegreen56 Linux - Newbie 9 10-10-2009 04:09 PM
Fedora 11 install on Vista Dual Boot fails to load back Vista abi0909 Linux - Laptop and Netbook 22 09-24-2009 03:55 PM
New install on vista system, want dual boot for vista and fedora. lhelden Linux - Newbie 9 08-21-2008 11:22 AM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 08:21 PM


All times are GMT -5. The time now is 05:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration