Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems

Reply
 
LinkBack Thread Tools
Old 03-07-09   #1 (permalink)
Wannabe Audiophile
 
Higgins's Avatar
 
amd ati

Join Date: Dec 2005
Location: Michigan
Posts: 4,957

Rep: 342 Higgins is a proven memberHiggins is a proven memberHiggins is a proven memberHiggins is a proven member
Unique Rep: 280
Hardware Reviews: 7
Trader Rating: 14
Default How to: Dual Boot Windows/Linux

After venturing into the wonderful world of Linux, and reading all the questions on dual booting Windows and Linux, I've decided to compile an easy guide to help fellow OCN members accomplish this goal.

Disclaimer: I used different, and more time-consuming methods on my own, so for simplicity sake, some information was taken from apcmag.com




Part 1: Dual booting Ubuntu/Vista with Vista installed.

What you'll need:
  • Windows Vista Installed
  • Linux w/liveCD capabilities (Used Ubuntu 8.10)
  • EasyBCD by Neosmart Technologies - download it here
  • Harddrive partitioner (Used LiveCD portion of the Ubuntu CD)
  • Computer

Splitting/resizing partitions:
  • Boot off the Ubuntu CD and select the first menu entry "Try Ubuntu without any change to your computer"
  • After Ubuntu is finished loading, open System, Administration, Partition Editor.
  • Right click your Vista partition, click "move/resize," and change the value to reflect a 30GB or so deduction.
  • After you click "Move/Resize" exit the program and restart the computer.

Installing Ubuntu:
  • insert your Ubuntu cd you burned, boot from it, and select 'Install Ubuntu' from the menu.
  • Continue through the setup wizard until you get to the partition step. Select 'Guided - use largest continuous free space'
  • Continue yet again through the setup wizard and it will begin the installation.
  • After the installation is complete, your computer will reboot and the GRUB bootmenu will appear for 10 seconds before automatically booting into Ubuntu. If this is sufficient for your needs you may simply stop here and use it that way, if not follow these instructions from APCmag.com:
Quote:
Originally Posted by apcmag.com
Firstly, boot into Ubuntu and go to Applications --> Accessories --> Terminal. Then, type in sudo gedit /boot/grub/menu.lst.
This text file contains all the information GRUB uses to configure various boot options. Scroll down and the entries between "## ## End Default Options ##" and "### END DEBIAN AUTOMATIC KERNELS LIST" are the LInux boot options. Slightly further down is the option for the Vista/Longhorn bootloader.
We'll need these entries for use later on, so dump them out to a location accessible by the Vista partition. Alternatively, Ubuntu can access the Vista partition directly - go to Places --> Computer, and double-click into the option marked "xx GB Media". This is the NTFS Vista partition. Ubuntu will prompt for authentication (your Ubuntu password) and then you can either copy the entire menu.lst file into it, or create a new text file on the fly, open it with gedit and copy in the boot entries.
Then restart the machine and boot into Vista
Now we need the latest version of EasyBCD by Neosmart Technologies - download it here. Install the application and launch it.
First, go to "Manage Bootloader" and select "Reinstall the Vista Bootloader", then "Write MBR". This puts the Vista bootloader back into the MBR, but the machine will only boot into Vista.
To enable access to the Linux partition, the best option is to install NeoGrub. Go to "Add/Remove Entries", go the NeoGrub tab and select "Install NeoGrub". This adds the "NeoGrub Bootloader" option to the Vista bootloader.
Once that's done, choose Configure - this launches the NeoGrub menu.lst file, location at C:NSTmenu.lst. Use Notepad or Wordpad to open the file, and then paste in the boot entries. Save and exit, then reboot the machine.
The system will come up with two boot options. Select "NeoGrub Bootloader" and then the Linux boot options will load. Choose the relevant option and the system boot into Ubuntu.


Part 2: Dual booting Ubuntu/Vista with Ubuntu installed.

What you'll need:
  • Windows Vista Installation DVD
  • Ubuntu Installed
  • Linux w/liveCD capabilities (Used Ubuntu 8.10)
  • EasyBCD by Neosmart Technologies - download it here
  • Harddrive partitioner (Used LiveCD portion of the Ubuntu CD)
  • Computer
Vista's bootloader will overwrite GRUB, so as before both options will be explained.

Before you do anything, you must first backup GRUB so there will be a safety net if something were to go wrong and for modifying the bootmenu.
  • In terminal type in sudo gedit /boot/grub/menu.lst.
  • Save the text file to a USB flash drive or something for easy recovery.
Splitting/resizing partitions:
  • Boot off the Ubuntu CD and select the first menu entry "Try Ubuntu without any change to your computer"
  • After Ubuntu is finished loading, open System, Administration, Partition Editor.
  • Right click your Ubuntu partition, click "move/resize," and change the value to reflect a 50GB+ or so deduction.
  • After you click "Move/Resize" exit the program and restart the computer.

Installing Vista:
  • Boot into the Vista DVD and continue through the setup wizard until you reach the partitions section.
  • The free space you created in the Ubuntu LiveCD will be shown as "Unallocated Space."
  • Click the link below the white space "Drive options" and create a new partition in the 50GB or so of free space.
  • Click next, enter your Activation key and such, and initiate installation.
  • After installation is complete your computer will restart and present you with your new installation of Windows Vista. When you are finished dabbling, we can get the bootloader sorted out.
Setting up the Bootloader:
More indepth explaination of the program in step one, so refer up there if you encounter any problems.

Using the Vista Bootloader:
  • Install EasyBCD by Neosmart Technologies, and launch it.
  • On the left panel click "Manage/Remove entries" which should only show "Vista Bootloader" in the selection window. At the bottom under the NeoGRUB tab click "Install NewGRUB"
  • Browse to where you saved the backup of your GRUB bootloader (Menu.lst), open it in notepad, and copy its contents.
  • Browse to C:\NST\menu.lst and paste the boot entries. ( between "## ## End Default Options ##" and "### END DEBIAN AUTOMATIC KERNELS LIST")
  • Now the Vista bootmenu will have "Vista" and "NeoGRUB" as entries during boot. Selecting "NeoGRUB" will launch the GRUB bootmenu.
Using GRUB:
  • Boot into Ubuntu liveCD environment and open Terminal
  • To enter the GRUB configuration mode, type in "sudo grub" and press Enter. Type in the following commands in sequence:
    - root (hd0,0)
    - setup (hd0)
    - quit
    - exit
  • GRUB will be installed once again, but as you may notice Vista's boot entry is absent.
  • open up another Terminal session, and type in sudo gedit /boot/grub/menu.lst
  • Type this at the bottom of the file (Below ### END DEBIAN AUTOMATIC KERNELS LIST):
    "title Windows Vista
    root (hd0,1)
    makeactive
    chainloader +1"
  • A vista entry will be present now in the GRUB menu
  • To make the bootmenu show every boot, open menu.lst again and change "hiddenmenu" to "#hiddenmenu"

I hope this may have helped someone, and saved them the time it took me to figure out all the bootmenu stuff. Thank you for looking nonetheless.


Please PM me with any input you might have

~Higgins
__________________
[Steam : teh_higgins]
- || -
Currently Playing: STALKER: SoC SMP 2.4F + L4D2 + HL2+FF CM10
| How to: Install OSX on an MSI Wind | How to: Make a Bootable USB drive | Looking for a Matrix Screensaver?|
Massive Blowout Sale
Modern Warfare 2 Bad Company 2

System: Mista PC
CPU
|AthlonII X4 620|
Motherboard
|DFI Lan Party DK 790FX-M2RS|
Memory
|4GB G.Skill DDR2 800|
Graphics Card
|CF ATI HD4830's|
Hard Drive
|1TB Seagate|250GB Maxtor|
Sound Card
|X-Fi Platinum|
Power Supply
|Silverstone 600W|
Case
|Antec 900 w/sound padding|
CPU cooling
|Arctic Cooling|Arctic Freezer 64|
GPU cooling
|Stock aftermarket coolers|
OS
|Windows 7 64bit|
Monitor
|Acer 20" x203w|

Last edited by Higgins : 03-07-09 at 04:34 PM
Higgins is offline Overclocked Account   Reply With Quote
Old 03-07-09   #2 (permalink)
P5N-E Godfather
 
dpawl31's Avatar
 
intel nvidia

Join Date: Dec 2006
Location: NH USA
Posts: 2,884

Rep: 145 dpawl31 is acknowledged by manydpawl31 is acknowledged by many
Unique Rep: 91
Hardware Reviews: 1
Trader Rating: 0
Default

Very well done,will really answer some questions! rep+ deserved.

EDIT- Might want to also throw in there how to uninstall a dual boot setup
__________________
4.2 Ghz Pentium D820 on Air Click Here
Email me @ dpawl31@overclocked.net

FOLDING ON THESE RIGS:
D820@4.2Ghz--E2180@3.33Ghz--3600X2@2.5Ghz--PS3

System: Can this board push the D higher?
CPU
D820 2.8 300x14 = 4.2Ghz (50%OC)
Motherboard
P5QC
Memory
4GB (2x2) Ballistix Tracers
Graphics Card
BFG 7600GT OC (Need recommendations)
Hard Drive
320 West.Dig. SATA
Sound Card
Onboard (Use Digital-out to 900w Yamaha 5.1)
Power Supply
Ultra X-Finity 600W SLI
Case
Antec 900 (See Gallery!)
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Side of Case-Mounted 120mm
OS
XP-SP3/Ubuntu-Ibex/Win7
Monitor
19" Acer WS & 42" Plasma
dpawl31 is offline Overclocked Account dpawl31's Gallery   Reply With Quote
Old 03-07-09   #3 (permalink)
Overclocker in Training
 
Swazi88's Avatar
 
amd nvidia

Join Date: Nov 2008
Location: Iowa
Posts: 2,308

Rep: 52 Swazi88 is acknowledged by some
Unique Rep: 49
Trader Rating: 0
Default

i take it that it will be about the same if i want to put them on two different drives?
__________________
Gaming, moding and Everything to do with the puter is my bag baby



System: Lauren
CPU
Phenom X4 9750
Motherboard
Asus M3N-HT Deluxe/Mempipe nForce 780a
Memory
4GB 1066Mhz PC8500 Corsair Dominator Dual Channel
Graphics Card
EVGA GeForce GTX 260 Core 216 SC Editon
Hard Drive
(2)500 GB WD (1) 1TB WD
Sound Card
Sound Blaster X-Fi Xtreme Audio
Power Supply
Ultra X3 850 Watt
Case
Cooler Master HAF 932
CPU cooling
Cooler Master V8
GPU cooling
Accelero XTREME GTX 280
OS
(Pri)Win 7 64-bit
Monitor
Samsung T220 22" Widescreen@1680x1050
Swazi88 is offline Swazi88's Gallery   Reply With Quote
Old 03-07-09   #4 (permalink)
Wannabe Audiophile
 
Higgins's Avatar
 
amd ati

Join Date: Dec 2005
Location: Michigan
Posts: 4,957

Rep: 342 Higgins is a proven memberHiggins is a proven memberHiggins is a proven memberHiggins is a proven member
Unique Rep: 280
Hardware Reviews: 7
Trader Rating: 14
Default

Thank you sir, and that is what the guide is for.. the members.

I will definitely put in how to uninstall, but maybe tomorrow

EDIT: if i'm not mistaken having two seperate partitions would act the same as two drives.. atleast on the user end.
__________________
[Steam : teh_higgins]
- || -
Currently Playing: STALKER: SoC SMP 2.4F + L4D2 + HL2+FF CM10
| How to: Install OSX on an MSI Wind | How to: Make a Bootable USB drive | Looking for a Matrix Screensaver?|
Massive Blowout Sale
Modern Warfare 2 Bad Company 2

System: Mista PC
CPU
|AthlonII X4 620|
Motherboard
|DFI Lan Party DK 790FX-M2RS|
Memory
|4GB G.Skill DDR2 800|
Graphics Card
|CF ATI HD4830's|
Hard Drive
|1TB Seagate|250GB Maxtor|
Sound Card
|X-Fi Platinum|
Power Supply
|Silverstone 600W|
Case
|Antec 900 w/sound padding|
CPU cooling
|Arctic Cooling|Arctic Freezer 64|
GPU cooling
|Stock aftermarket coolers|
OS
|Windows 7 64bit|
Monitor
|Acer 20" x203w|

Last edited by Higgins : 03-07-09 at 01:23 AM
Higgins is offline Overclocked Account   Reply With Quote
Old 03-07-09   #5 (permalink)
Overclocker in Training
 
Swazi88's Avatar
 
amd nvidia

Join Date: Nov 2008
Location: Iowa
Posts: 2,308

Rep: 52 Swazi88 is acknowledged by some
Unique Rep: 49
Trader Rating: 0
Default

Quote:
Originally Posted by Higgins View Post
Thank you sir, and that is what the guide is for.. the members.

I will definitely put in how to uninstall, but maybe tomorrow

EDIT: if i'm not mistaken having two seperate partitions would act the same as two drives.. atleast on the user end.
woot woot thats what i thought thanks and off to install
__________________
Gaming, moding and Everything to do with the puter is my bag baby



System: Lauren
CPU
Phenom X4 9750
Motherboard
Asus M3N-HT Deluxe/Mempipe nForce 780a
Memory
4GB 1066Mhz PC8500 Corsair Dominator Dual Channel
Graphics Card
EVGA GeForce GTX 260 Core 216 SC Editon
Hard Drive
(2)500 GB WD (1) 1TB WD
Sound Card
Sound Blaster X-Fi Xtreme Audio
Power Supply
Ultra X3 850 Watt
Case
Cooler Master HAF 932
CPU cooling
Cooler Master V8
GPU cooling
Accelero XTREME GTX 280
OS
(Pri)Win 7 64-bit
Monitor
Samsung T220 22" Widescreen@1680x1050
Swazi88 is offline Swazi88's Gallery   Reply With Quote
Old 03-07-09   #6 (permalink)
P5N-E Godfather
 
dpawl31's Avatar
 
intel nvidia

Join Date: Dec 2006
Location: NH USA
Posts: 2,884

Rep: 145 dpawl31 is acknowledged by manydpawl31 is acknowledged by many
Unique Rep: 91
Hardware Reviews: 1
Trader Rating: 0
Default

Yes, two drives is really two seperate partitions anyway, just @ two locations.
Will work just the same. Ran my dual boot Ubuntu/XP like that, two drives.
Because I didn't trust the 80gig seagate I had Ubuntu on and didn't want it to take my XP with it lol.
__________________
4.2 Ghz Pentium D820 on Air Click Here
Email me @ dpawl31@overclocked.net

FOLDING ON THESE RIGS:
D820@4.2Ghz--E2180@3.33Ghz--3600X2@2.5Ghz--PS3

System: Can this board push the D higher?
CPU
D820 2.8 300x14 = 4.2Ghz (50%OC)
Motherboard
P5QC
Memory
4GB (2x2) Ballistix Tracers
Graphics Card
BFG 7600GT OC (Need recommendations)
Hard Drive
320 West.Dig. SATA
Sound Card
Onboard (Use Digital-out to 900w Yamaha 5.1)
Power Supply
Ultra X-Finity 600W SLI
Case
Antec 900 (See Gallery!)
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Side of Case-Mounted 120mm
OS
XP-SP3/Ubuntu-Ibex/Win7
Monitor
19" Acer WS & 42" Plasma
dpawl31 is offline Overclocked Account dpawl31's Gallery   Reply With Quote
Old 03-07-09   #7 (permalink)
*cough* Stock *cough*
 
intel ati

Join Date: Jun 2007
Location: Saint John, NB
Posts: 2,913

Rep: 135 SyncMaster753 is acknowledged by manySyncMaster753 is acknowledged by many
Unique Rep: 127
Trader Rating: 15
Default

i'm too afraid to mess up the 550gb's used on my HDD, but this does answer does quell the curiosity
__________________
Yeah.....i still play WC3 TFT, so what....

System: My Casual Obsession
CPU
q6700 @3.8, 1.45v(bios)
Motherboard
ASUS P5E-X38 (W/ vdroopMod/Deluxe bios)
Memory
4x2gb g.skill ddr-1012
Graphics Card
HIS 4870 + vTek 4870 (815/1000)
Hard Drive
2 x 500gb Seagate 7200.10 RAID-0
Sound Card
X-fi XtremeMusic
Power Supply
PC P&C Silencer 750w
Case
CM Stacker 830
CPU cooling
True + 2x FM121
GPU cooling
Stock (duorb broke)
OS
Win7 Pro x64
Monitor
Samsung 245t
SyncMaster753 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 05:50 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.18988 seconds with 8 queries