14bac Dual boot freeBSD / Windows 7 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old May 15th, 2010, 09:21
gwb gwb is offline
Junior Member
 
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dual boot freeBSD / Windows 7

Hello everybody,

I installed my very first freeBSD yesterday, and I wanted it to dual boot with windows 7. I must say I ran into a lot of trouble before getting it to work properly. Since I found very few threads (except that of andrnils) on how to achieve that, I thought it could be of some help if I gave a feedback. So here is how I did it:

First Attempt (Failure):

I had my Disk partitionned In two: Archlinux on the first, and Windows 7 in the second. I deleted Archlinux and tryied to install freeBSD on the first partition.
I got freeBSD working all right by lost windows 7 (or at least I was no longer able to boot it. I was getting a lovely message telling me a crucial windows 7 component was missing).

Second Attempt (Success):

Right after that failure, I adopted another strategy:

1. I erased all my disk (with Ubuntu Live CD and gparted) and created two partitions:
an NTFS partitions of 30G in the beginning of the disk, and I left the other partition
unused. As you can imagine, I definitely lost all my windows 7 data in the process (I
had backuped all the important stuff of course)

2. I installed windows 7 in the first partition. There is nothing special to say here, the
process is very simple. Just make sure you chose "Custom Install" and chose the right
partition

3. I installed freeBSD on the second partition. Here you have to make sure you install it
on the unused slice when you get to the FDisk part of installation. The second important
thing is to chose the option "Install BootMgr".

And you're done. It worked perfectly for me. I think that the important part is to install windows first, and to make sure it is installed in the first slice of your disk.

I hope this will help,

PS: I am sorry if my english is not brillant, but I am French..
Reply With Quote
  #2  
Old May 15th, 2010, 21:16
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is online now
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

I would never run other os except bsd & solaris. Eespecially dual boot. Really I hate to have more than 1 os on my system. But this is good thread for all this they want to do it
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; May 15th, 2010 at 23:24. Reason: capitals, spaces, really difficult stuff
Reply With Quote
  #3  
Old May 17th, 2010, 11:40
sysman sysman is offline
Junior Member
 
Join Date: Oct 2009
Location: Milan, Italy
Posts: 53
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Actually, I feel to suggest avoid installing freebsd bootmamanger on the mbr, and prefer grub/grub2 instead. This is reasonably best choice to manage different OS situation.
Reply With Quote
  #4  
Old May 18th, 2010, 18:17
rden rden is offline
Junior Member
 
Join Date: Jan 2010
Location: Singapore
Posts: 38
Thanks: 2
Thanked 4 Times in 2 Posts
Default

If they are all on disk0 why bother with grub - it's an unessesary extra step with zero gain, just copy out FreeBSD's boot1 and load it from win7 boot manager. Fast, simple, elegant and user-friendliest boot selection.
(Used to have XP, FBSD and Win7 all booting from Win7 boot manager - until I removed Win7 and went back to XP's boot manager.)

Last edited by rden; May 19th, 2010 at 14:33.
Reply With Quote
  #5  
Old May 18th, 2010, 20:41
Bunyan's Avatar
Bunyan Bunyan is offline
Member
 
Join Date: Jan 2009
Posts: 139
Thanks: 7
Thanked 16 Times in 15 Posts
Default

In the past I used to apply the well-known C: \boot.ini hack when dual-booting FreeBSD with WindowsXP, but I am not sure whether it works with Windows Seven.

Now I have FreeBSD as my ONLY Operating System on my hard drive and I am not planning to play with any other OS, because FreeBSD
and the Ports Collection offer me everything I need.

If you really want to give FreeBSD a try, just dedicate it the whole hard disk and dive into it.

Another idea is to use GAG on a floppy.

Last edited by DutchDaemon; October 22nd, 2010 at 16:24.
Reply With Quote
  #6  
Old May 18th, 2010, 23:36
JimW JimW is offline
Junior Member
 
Join Date: Nov 2009
Location: New York
Posts: 95
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes.... I've learned over the years that if you want to have multiple operating systems on a single machine... one of them being Windows.... to avoid headaches and aggravation, always install Windows first.

Also, if you want multiple versions of Windows on the same machine, always install the oldest version of Windows first.
Reply With Quote
  #7  
Old May 19th, 2010, 07:30
gwb gwb is offline
Junior Member
 
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

@Bunyan: Yeah, I had read something about a boot.ini, but many forums said that unfortunately, it wasn't possible with Win7 (though I admit I didn't even give it a try).
As for Dual Booting, I must say that I am new to Freebsd, and that my knowledge of Unix is limited to a few months struggling happily with Archlinux (wich is a very nice linux distro), so I didn't want to leave everything to BSD at first.

@JimW: I second that. If anyone has some issue with dualbooting, my only advice would be to install the win system first!

@rden: I will give it a try eventually, but for the moment, I am quite happy with the fbsd mbr, and I will stick with it until I have finished setting up my box.
Reply With Quote
  #8  
Old October 22nd, 2010, 07:35
Dr_Phoenix's Avatar
Dr_Phoenix Dr_Phoenix is offline
Junior Member
 
Join Date: Dec 2008
Location: Ukraine
Posts: 23
Thanks: 2
Thanked 6 Times in 6 Posts
Default

Heh...not so easy making friendly Win7 and BSD or Linux, now I'll tell you my method.

The problem is in the Win7, this OS will not allow you to make changes in it's boot sector, so if FreeBSD or Linux replaces it's by self BootManager win7 will not run and showing you the critical error message at the boot time.
You can install GRUB or make other magic movings, but there is an easier way, 100% working result
  • 1) Splitting hard drive by partitions, for sample look at the scheme:
    Code:
       Primary(active)   Primary      Primary               Extended
       --------        -----------     ---------    -------------------------------
       | win7 |        | FreeBSD |     | Linux |    |     |    Logical disks  |   |
       --------        -----------     ---------    -------------------------------
    As I know you can't create more than 3 Primary partitions with 1 oxtended, so if you are crazy tester or want to have 5 or more OS'es on your PC, you must create its logical disks in Extended partition.
  • 2) Install Win7 to the 1st Primary partition as usually, test it...
  • 3) Now we will install BSD to the 2nd Primary partition, we must leave 1st primary partition active and do not make any changes to the boot sector of win7 partition!
    • a) chose custom installation
    • b) goto 3 (Partitions), press 2 times Z key to view sizes in MegaBytes, find your 2nd partition and create slice here. Find your 1st partition and select it, press S key to make it bootable (for default BSD making self partition bootable), press Q to quit partitions manager, now it will ask you about boot record -> select None (Leave boot record untouched)
    • c) Select 4 (Label) to make labels for your install (if you read this on this forum I think you know what is it and what labels and its sizes you need)
    • d) Next steps of BSD installing as usually you do it, select distributions, sources, etc...
  • 4) When BSD install finished your system will reboot and run Win7. You asking me, where BSD? Now all right and nothing dangerous, see the next steps )
  • 5) Install your other OS's if you need, but one important: do not touch MBR of 1st Primary partition! If you install Linux you can chose it, if you install Win XP and want to boot with this Win7 configuration, you must set Active (bootable) partition where you want to install XP, after its installs you must back Active partition mark to 1st Primary with Win7. Better to use any partition manager from LiveCD to set partitions bootable and splitting your HDD by partitions.
  • 6) Now the most interesting part! Goto http://neosmart.net/dl.php?id=1 and get simple program, named EasyBCD with the latest version. This program allows you to write your self defined sections to Win7 Boot loader configuration (in XP it was boot.ini, in win7 a bit differs). Install this tool and run it. Now you will see the boot loader sections in your Win7, must be only one and default. Click |Add new entry|, select FreeBSD as OS type, select partition to boot from (be careful here).
  • 8) Reboot system and you will see the Win7 loader prompt with list of your OS'es to boot. Congratulations, you are done!

I'm using only Win7 + BSD (earlier testing Linux too) on my PC and there were no problems to switch betweeen this OS'es using this method, good luck!

FreeBSD - the power, the power to be free

(P.S. sorry for my bad English)
__________________
Have trouble with Windows - reboot,
Have trouble with Unix - be r00t!

Last edited by DutchDaemon; October 22nd, 2010 at 16:20. Reason: Never mind the English, the formatting was worse ..
Reply With Quote
  #9  
Old October 22nd, 2010, 15:10
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

Quote:
Originally Posted by Bunyan View Post
Now I have FreeBSD as my ONLY Operating System on my hard drive
and I am not planning to play with any other OS, because FreeBSD
and the Ports Collection offer me everything I need.
I wish I could...
But how do you communicate with the rest of World if you only use Port Collection?
For example any employer reads your CV using MSO. If you did it with OOO then some formatting could be incompatible and your CV would look like a garbage in MSO: it's written there that you know computers well but who is going to believe if even your CV looks like that?
Similar happens with Excel and Spreadsheet and etc etc...

If you know workarounds please share ...
Reply With Quote
  #10  
Old October 22nd, 2010, 16:23
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

Zeiz, that question does not belong in this thread. Please open a topic elsewhere (I suggest the 'Off-Topic' forum) to inquire about this type of problem and possible solutions for them.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #11  
Old October 27th, 2010, 00:55
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

Indeed. Sorry.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed FreeBSD8, overwrote windows 7 but Windows 7 boot loader still there jjohnson0000 Installing & Upgrading 1 April 24th, 2010 18:59
Really Working Dual-Boot FreeBSD on Windows 7 machine? skybsd Mobile Computing 15 April 11th, 2010 08:36
Installing FreeBSD 8.0 alongside existing Windows 7 for dual-boot jem Installing & Upgrading 2 February 28th, 2010 16:27
dual boot freebsd with solaris 10 lingzedong Installing & Upgrading 4 December 24th, 2009 21:14
[Solved] Windows Vista & FreeBSD (dual-boot problem) Anti_Evil Installing & Upgrading 4 June 24th, 2009 07:29


All times are GMT +1. The time now is 17:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0