Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Dual booting Linux and Windows

- - - - -

  • Please log in to reply

#1
hawklord

hawklord

    Member

  • Member
  • PipPipPip
  • 400 posts
This tutorial or "how to" deals with one way of dual booting Linux and Windows,
This is how its done on mine,
Ammendments and slight adjustments will be needed for other pc's,

For this tutorial i will be using the Mandriva linux operating system and Windows xp operating system,

First - as this process involves opening the body of a pc then only more advanced people familiar with the internals of a pc should attempt this,

The tools needed--

  • An anti-static wrist strap,
  • A working tower or desktop pc with windows xp installed to an ide drive,
  • A spare ide drive (with 4 screws),
  • A phillips (crosshead) screwdriver,
  • A copy of mandriva linux on cd,
  • About an hour of time,

Mandriva linux will need to be downloaded from here http://www.mandriva..../downloads/one/,
It will be downloaded as an image file (.iso) so will need to be burnt to cd,
A "how to" on burning a disk image can be found here http://www.geekstogo...SC-t177373.html,
Thanks to Troy

Now that you have your Mandriva linux cd leave it in the cd tray and shut down your pc,
Turn off the power supply unit and switch the power off at the wall,

Removing the windows xp hdd

Unscrew the (usualy) 4 screws at the back of the pc and take the side covers off your pc case,
Connect the anti-static strap to your wrist and the pc case,
Locate the xp hdd,
Remove the white molex power supply connector from the back of the hdd,
Remove the ide cable from the back of the hdd,
Unscrew the 4 screws (2 on each side) on the hdd and take out the hdd
This hard drive needs to be changed from master (or cable select) to slave using the jumper (a little plastic 'cap') located at the back of the hdd,
There should be a diagram on top of the hdd to show the positions,
Put the hdd in a safe place as it won't be needed for about another hour.

On the spare ide hdd

Make sure the jumper is set to master,
Locate the hdd in the pc,
Screw in the 4 screws (2 on each side),
Connect the end of the ide ribbon cable to the hdd (noticing the raised section that locates into the cut out at the back of the hdd),
Connect the white molex power connector,
Switch the power on at the wall and power supply unit,
Take the anti-static strap off,
Turn the pc on.

If your pc does not boot into the Mandriva linux cd then you will need to change the boot order in your bios to boot from cd/dvd first
(there are different ways of doing this, as this "how to" is for the more advanced user then i suspect that the user will know how to do this)

When you have booted to Mandriva linux, double click on 'live install' and follow the instructions,
Note - use the whole disk at default settings
A reboot will be needed (and prompted) to complete and finish install
Write down the 2 passwords (1 x user and 1 x root)
Shut down your pc when install is complete

Dual booting

Turn off the power supply unit and switch the power off at the wall,
Connect the anti-static strap to your wrist and the pc case,
Locate the Windows xp hdd in the pc,
Screw in the 4 screws (2 on each side),
Connect the middle of the ide ribbon cable to the hdd (noticing the raised section that locates into the cut out at the back of the hdd),
Connect the white molex power connector,
Take the anti-static strap off and remove it from your pc,
Replace the side covers on your pc and screw the 4 screws back in,
Switch the power on at the wall and power supply unit,
Turn the pc on.

You will now boot into Mandriva linux again,
Click on K (where the start button is in Windows)
Navigate to Applications > Tools > Terminal
In the Terminal window type
su
Press enter
You will be asked for your root password, type it in (you will see nothing happening in the Terminal window)
Press enter

Now type
kwrite /boot/grub/menu.lst
Press enter

kwrite (linux version of notepad) will open with your menu.lst (lst = list not first)
Leaving a line at the bottom of the list type (the title can be anything you want, windoze is just what i use)
title Windoze
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
save and exit

Type
reboot
Press enter

When your pc boots up you will now have an extra option called 'windoze',
By default you will boot into Mandriva linux (this can be changed),
Use the up and down arrow and enter on your keyboard to choose Windows.

This is the way that i boot,
I make no promises that this will work for everyone,
Modify your pc at your own risk,
Thank you for listening
  • 0

Advertisements


#2
calvert

calvert

    Member

  • Member
  • PipPip
  • 58 posts
just been reading this tutorial and it has an out of date link, so here's a new link for mandriva

http://www.mandriva..../downloads/one/
  • 0

#3
admin

admin

    Founder Geek

  • Community Leader
  • 24,639 posts
Thanks, I updated the link in the original post.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP