Jul 20, 2008

How To Install Winxp And Linux To The Same Compute - a double boot

Free Web Hosting, No Ads > CONTRIBUTE > Tutorials
Pages: 1, 2

free web hosting

How To Install Winxp And Linux To The Same Compute - a double boot

guangdian
when I install a double boot linux/winxp, I always want to keep the Windows boot menu to choose the operating symtem. This is what I usually do:

-Install Winxp
-Install linux (if you dont have space to create a new partition for linux, you have to use partition magic to reduce the size of the WinXP partition and leave some space to create the partition for linux. You can create the partition during the linux setup.
- During the linux setup, choose to install the boot manager (lilo or grub) in the boot sector of the partition where you are installing linux (not in the MBR).
- When you finish the linux installation you wont be able to boot Linux so you have to boot with the linux cd and when you get the prompt create a file with the first sector of the partition where you installed linux
(let's suppose that the partition is hda2, and the file containing the 1st sector is linboot.sec):

dd if=/dev/hda2 of=linboot.sec count=1

you will need to copy this file to the partition (root directory) where you installed WinXP, so copy the file to a floppy (I think you wont be able to mount the WinXP partition to copy directly)
-Restart, boot WinXP, copy linboot.sec to c:\ , Modify the file C:\boot.ini (you will need to change its attributes, it is usually hidden and read only). You have to add a line for linux, the file should be like this:
QUOTE
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
C:\linboot.sec="Linux"

Restart and you should see the menu to choose the operating system. If you choose linux, you will see then the linux boot manager (grub or lilo), just configure grub or lilo to boot linux directly without prompting...

Ok, that's all... maybe too complicated (there should be an easier way.. probably using the linux boot manager to choose the OS)

Notice from KuBi:
I believe this belongs in the tutorial section. Moved. GJ btw.smile.gif

 

 

 


Reply

Galahad
Wow, that's pretty complicated smile.gif for begginers at least smile.gif

When I installed Linux on an XP machine, setup prompted me to install LILO boot loader, so, I just say OK smile.gif

It set's everything up, and I don't have to worry about boot sectors, and stuff smile.gif

But this is also very useful to know, in case LILO screws up or something... Great thing to know smile.gif

Reply

bureX
If LILO screws up, you can always use the GRUB or GAG boot loader... Personally, I prefer LILO over the Windows boot menu because LILO can look very nice if you apply a good theme on it! I think that the newer versions of LILO can also support animated boot screens! (Although I haven't tried it yet, but they seem to look very nice on various screenshots)

Links:
Animated LILO boot screens: http://www.gamers.org/~quinet/lilo/index-en.html

GRUB: http://www.gnu.org/software/grub/

GAG: http://gag.sourceforge.net/

Reply

snlildude87
If you want to get a feel of Linux but still have a taste of Windows, you can go with Ubuntu: http://www.google.com/url?sa=U&start=1&q=h...B9oZ5X34563KOQw.

It sends out free CDs, and you can order as much as you like. smile.gif

Reply

tuddy
biggrin.gif If you got Linux, why would you want Windows?

Can you download LILO from anywhere, or can you only get it from the installtion CD?

Does it have the option to password protect your HDD?
OR/AND
Does it have a feature that allows you to press a shortcut (ie. Ctrl+Shift), to access another operating system, with not having pressed the shortcut, still just boot to a default operating system?

Lost yet?

Is it hard to configure is themes, or is messy like goingt o a directory playing around with this code and etc.?

Tuddy

Reply

bureX
QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
biggrin.gif  If you got Linux, why would you want Windows?


Because many major programs and games that people really need run on Windows and some cannot be emulated by using WINE... Unfortunately...

QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
Can you download LILO from anywhere, or can you only get it from the installtion CD?


You can download it from anywhere, but you must install it from Linux.
The introduction: http://www.acm.uiuc.edu/workshops/linux_install/lilo.html

The download page: http://www.icewalkers.com/Linux/Software/59430/lilo.html

The documentation:
http://tldp.org/HOWTO/LILO.html
http://www.control-escape.com/linux/lilo-cfg.html

QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
Does it have the option to password protect your HDD?


I think so! But I am pretty sure that GAG has this option (it can password protect any operating system listed on the boot screen)

QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
Does it have a feature that allows you to press a shortcut (ie. Ctrl+Shift), to access another operating system, with not having pressed the shortcut, still just boot to a default operating system?


I don't know. Some third party boot loaders have this option, maybe LILO has it! In the lilo.conf configuration file, there is a line that says "prompt", if that line is removed, LILO boots the default operating system and doesn't display the boot screen. Maybe there is a shortcut key combination to stop it from booting if you want to access the boot screen.

QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
Lost yet?


Not yet! biggrin.gif

QUOTE(tuddy @ Jul 12 2005, 04:48 AM)
Is it hard to configure is themes, or is messy like goingt o a directory playing around with this code and etc.?


As far as I heard, if you have the right LILO version and a selected theme, all you have to do is type a few lines in the Linux terminal/console (whatever).

 

 

 


Reply

tuddy
Thanks

That was a great help, biggrin.gif

Reply

FuChelle
Thanks guangdian for starting this topic, and thanks to everyone who has replied. I have to install Linux onto my Win XP computer soon because I'll be studying programming in Linux this semester at Uni. I wasn't sure how to do it...I had an idea, but wasn't sure if it was right...So, thanks everyone. Now I know for sure how to install Linux on my computer. YAY! smile.gif

Reply

rvovk
First you should install Windows XP. Then you should start installing Linux, when prompted to install LILO boot loader, just say yes. You will have double boot with LILO for Linux so everything is fine.

Reply

areawe
I have 3 operating systems on one of my machines. I had to have Linux and Windows Server 2003 for two classes that I had at the same time. I started with Windows XP, installed Red Hat Linux, then Windows Server 2003. Fun fun fun! I decided to use a boot disk to boot into Linux and use Windows XP's boot.ini whenever I want to switch from the default OS to Windows Server 2003. The important thing when multibooting is to plan what partitions you'll need ahead of time. Partition Magic is a life saver - it wil allow you to keep your existing OS and still be able to partition. Also, it automatically calculates based upon which OS's you want to install how many and what kind of partitions you need.

Reply

Latest Entries

engalex
good good
biggrin.gif

Reply

Dragonfly
Thanks for the tutorial but why do I need to install linux at this point when I actually can do virtually everthing using Linux, (this is in response to the one who said 'why one need windows when linux is already installed). Linux has not been a common man's operating system, its awed (I use this) interface doesn't look impressive at all.

Besides like some members have said, I have to agree that some games and software programs do not work in Linux as well.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. install win xp and linux on the same hard disk - 31.17 hr back. (1)
Similar Topics

Keywords : install, winxp, linux, compute, double, boot

  1. [linux] How To Manually Install Flock System Wide
    (0)
  2. Linux On Ps3
    (0)
    I'm still new to this as well. In this tutorial I'll teach you how to add Linux Ubuntu to
    your PS3. You can still use default PS3 operating system as well Linux, So don't worry about
    that it is very easy to switch back and forth. You will need to download Ubuntu 7.10 Gusty Gibbon.
    CODE
    http://cdimage.ubuntu.com/ports/releases/gutsy/release/ubuntu-7.10-desktop-powerpc+ps3.iso
    You will need- -USB Keyboard -USB Mouse -DVD Burner/1 DVD disc Download the file its around 600mb,
    Once downloaded you need to burn I used poweriso to burn mine. Now spli....
  3. Install An Aef Forum Onto The Trap17
    From a zip file (11)
    Installing an AEF Forum on the Trap17 Server Preparation for Installing the AEF Forum
    The following items are required for the installation of the packaage onto your site: 1. - a copy
    of the AEF Forum zip package from http://anelectron.com/download.php 2. - a MySql Database 3. - a
    Database User 4. - a password for the Database User 5. - Privileges allowed for the Database User
    The details for ensuring that you have all of these items are as follows: 1. - a copy of the AEF
    Forum zip package from http://anelectron.com/download.php . Simply browse to t....
  4. How To Install Php Scripts
    for people who don't like uploading all the time (0)
    OK. Here's what you need: 1. Web hosting that has FTP 2. A script or something to install 3.
    A program called SmartFTP I'll use my site for an example... 1. Enter your FTP login info
    2. When you login in your files, images, and stuff will show up. 3. Now that you're logged in
    you have to choose what file you want to import into your website. Go to "My Documents" and right
    click on the file you want to put on your site and select "copy". 4. Next you got to open put the
    dictionary that your website is in. Ok what that means the place where the "i....
  5. How To Install Phpbb?
    (8)
    QUOTE Here are the steps: Download the latest version of phpBB2. Currently it can be
    found at http://www.phpbb.com/downloads.php . I prefer the .tar.gz files, and winzip has no
    problems dealing with them. Decompress the files to a directory on your local system, making sure
    that you maintain the relationship between directories. I'll suggest that you decompress them to
    c:\webupload Now, within C:\webupload, you should have a phpBB2 directory, full of
    goodies. Open up your FTP client, and connect to where your web host tells you to go for up....
  6. 2nd Method Of Disabling Safe Mode On Winxp
    Check this one out too (2)
    Another method to disable safe mode is to remove the registry key: Backup the key before deleting
    it, of course. This method does not remove the boot menu. However, it disables Windows' ability
    to actually boot to safe mode. Attempting to boot to safe mode will cause a quick Blue Screen of
    Death (BSOD) and restart.....
  7. Disabling Safe Boot On Windows Xp
    Learn how to do it (1)
    I know that there has been many at times, when for some reason or the other, people would want to
    disable the ability of Windows XP to boot into safe mode. Even though that this is not a very thing
    advisable thing to do, but still, people, due to some reasons best known to them would always want
    to do this. The other day, a friend of mine who works in (manages is the right word) a cyber cafe
    was heads over toes, trying to figure out to to disable the safe mode boot in Windows XP. His
    reason..... customers are hacking into their computers and browsing free of charge by b....
  8. Install A Simple Machines Forum
    (11)
    If you want to have your own Simple Machines running up without any ADs of any kind , sign up at
    Trap17 and posting until you have enough credits then post an application form and then wait to be
    approved. After that , do like this and you will have your own forum setting up : 1.Download
    Simple Machines You can get it at Simple Machines download page , click here to get one
    2.Upload SMF to the Server This step is too long so be patient , log in to Trap17 forum then log in
    to your own cPanel , click on File Manager. A pop up Explorer will appear , then click on ....
  9. How To Install An Openoffice Dictionary Manually
    adding the new dictionary by yourself (3)
    How To Install An OpenOffice Dictionary Manually Introduction The Tutorial
    What's OpenOffice? Introduction Before you all rant at me and tell me that there is a
    wizard to install dictionaries for you, it can sometimes not work. I know this because on my copy of
    OpenOffice Writer, it doesn't. This tutorial is very easy to follow and it's for those
    whose wizard is broking, just like mine or people who like to be difficult and do things the hard
    way /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
  10. How To Install S9y Weblog Software
    (0)
    Right , here's my guide at how to install S9Y ( www.s9y.org ) 1. Download the version of S9Y
    you want from the website above 2. Extract the rar file 3.Upload all the files to a Web host 4.
    Go to you domain/subdomain , also at this point make sure all the files are CHMOD 775 5. S9Y's
    Installer should start and give you an overview of you system's setup 6. Make sure there is
    nothing in red and click Simple Install 7. Fill in all the spaces , with you Database name ,
    Password , etc ... From here on S9Y is very easy to set-up ! Just use it as ....
  11. Installing Linux On An Ipod
    Ipod Linux Simple Tutorial. (43)
    Installing Linux on an iPod! (Doom, Videos on Nanos, Photos, even 4th Gen or Minis!)
    Recently I've been toying around with my friends iPod Nano, and my 5th Gen Video so, I decided
    to share the wealth. Pre-Tutorial Glossary iPod Linux - The iPod Linux OS we will install.
    Podzilla - Another name for iPod Linux The Apple OS - The orginal menu system on your iPod iPod
    Linux is a firmware installation that will run ALONG with Apples OS. So, you may be thinking, whats
    so great about this iPod Linux? Heres whats so great. Play videos on Nanos, P....
  12. Linux Info/howto
    Info about working with linux part1 (6)
    Linux on your desktop?! What kind of hardware do i need to run Linux? Linux will
    basically run on almost all hardware you can think of. from a usb-memorystick up to a big mainframe.
    For modern distro's a PentiumIII/Celeron or Athlon computer with 128mb ram (256mb recommended)
    are good enough to use. I thought Linux was free but there also packages for sale? Thats correct
    you can get Linux for free from the internet but there is also a option to buy it at a store. When
    you buy (for instance) suse linux at a store you will be provided with a handbook an....
  13. How To Sync A Sony Clie In Linux
    any distro with KDE (0)
    Ok, so everyone knows that sony realy outdid themselves with the clie, but one problem: You
    can't sync it outside windows. Or can you? Look, Up in the sky, It's a bird, it's a
    plane, No, it's Psychiccyberfreak! Come to save the day!!! /laugh.gif'
    border='0' style='vertical-align:middle' alt='laugh.gif' /> Ok, so here we go. First, you need to
    get a sync program. I use Jpilot, I reccomend it. If your distro has a cross between KDE and GNOME,
    use anything... Ok, now it should work, Most cases only network sync will work, that's ok. ....
  14. Podcasting For The Absolute Newb
    simple, works on windows, mac and linux (5)
    Ok, so I found out about podcasting on iTunes, and I fell in love with it. It was probably the
    coolest thing ever to happen. Now it's a big thing, and anyone can do it. This will cover just
    the basics of using MP3 file, tagging them, and uploading them in a directory on a web server with
    dircaster installed. If you want to get advanced I reccomend getting a book on it. This is only the
    basics, because I am running a windows computer at the time, and you can only have enhanced
    podcasting in mac at the time of me writing this... Let's get started. First things fir....
  15. Automatic Login
    in WinXP (5)
    Ever wanted to just turn on our computer and when you get back it's already on the desktop?
    (Rather then having to login at the welcome screen) Now some computer have this feature by default,
    but what if it gets broken, try this. On an Administrator account goto start >> Run, and type
    "control userpasswords2" (without the quotes) Uncheck the box that "Users must enter a Username and
    Password to use this computer", then press Ok. You will be prompted to enter a default user and
    their pasword, then next time you restart the computer it will automaticaly login to that....
  16. Install Php 5 To Work With Mysql
    (0)
    hi, all php 5 is new to all people a long time( actually, I forget how long...). it introduced a
    more object-oriented design to developer. like, access type(public, private, protected), abstract
    type(classes that can't create objects), interface support, and more . althrought it is
    widerly available, someone still can't get it running with mysql. every time the php is starting
    up. a message prompted stated that some xtensions can not be found, and therefore, not loaded. so, I
    have written this to help other and newbie get it start quickly. note: thi....
  17. How To Install A Favicon
    Yup, a favicon. (40)
    Ok, you know those little icons that are to the left of a web address? |_ /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> http://www.domain.com_| Well that is called a
    favicon, folks. If you want one, simply do the following: 1.) Make sure your favicon is in .ico
    format. Name it favicon.ico 2.) Upload the favicon.ico to the same folder as your main index.html or
    index.php or index.asp, whatever. Basciaaly, you should have: http://domain.com/blah/favicon.ico
    http://domain.com/blah/index.___ , whatever you have. 3.) Put this into the head....
  18. How To: Create And Install Your Own Cursor
    a step by step guide (14)
    How To: Create And Install Your Own Cursor a step by step guide using animation shop (a
    program free with paint shop pro) Requirements: Animation Shop (can be found on the same disk
    as Paint Shop Pro) Any image Are you displeased with the cursor you've got? Are you
    dissatisified with those cursors you downloaded from that site? Then this tutorial's for you.
    Read on... Create or download your favourite image off the web. Open it in some image editing
    software (ie Paint Shop Pro) and resize it to 15x15. In Paint Shop go to Image --> Resize.....
  19. How To: Install Scripts And Create Database
    preinstalled scripts, own scripts (2)
    How to install php scripts using MySQL,phpMyAdmin on Trap17 using preinstalled script/auto
    installation cPanel > Preinstalled scripts > "Addon Scripts" or "Fantastico" or "phpBB" or the
    scripts which you wanted to install screenshot - >
    http://i6.photobucket.com/albums/y222/haalaaluu/5.jpg explaination: this method is auto install
    the scripts in public_html folder, database name and granted database user respect to its database.
    note: by Addon Scripts, you can not choose other folder structure. by fantastico you can choose the
    folder structure and it is good ....
  20. How To Make Bootable Cd-roms?
    In Linux (1)
    QUOTE You must have an 1.44 MB bootable floppy-disk. Create an exact image of this floppy-disk
    by issuing the command dd if=/dev/fd0 of=boot.img bs=18k Place this floppy image into the
    directory holding the collection of your files (or into a subdirectory of it, just as you like).
    Tell mkisofs about this file with the option '-b' and also use '-c'. For details
    read the file README.eltorito in the mkisofs-distribution. An interesting application for a custom
    bootable CD is as a virus safe DOS- or Windows-system. It saves you the money for the har....
  21. How To Install Php-nuke
    How to install PHP-Nuke manually (12)
    Download PHPNuke (www.phpnuke.org) and unzip it into a directory. Now go to where your web server is
    installed (or web hosting ftp)! Create a folder and call it phpnuke. Now upload everything from
    the HTML folder into the phpnuke folder you created. Than go to the config file of phpnuke
    (\phpnuke\config.php) Ok now, if you have phpedit installed than this will be easier than
    using Notepad. Go to line 32 and you sould see this: $dbhost = "localhost"; $dbuname =
    "root"; $dbpass = ""; $dbname = "nuke"; $prefix = "nuke"; $user_....
  22. ----> Boot Winxp Fast <----
    Fast booting winXP (8)
    So here we go follow the steps below. CODE 1. Open notepad.exe, type "del
    c:\windows\prefetch\ntosboot-*.* /q" (without the quotes) & save as
    "ntosboot.bat" in c:\ 2. From the Start menu, select "Run..." & type
    "gpedit.msc". 3. Double click "Windows Settings" under "Computer
    Configuration" and double click again on "Shutdown" in the right window. 4. In the new
    window, click "add", "Browse", locate your "ntosboot.bat" file & click
    "Open". 5. C....
  23. Install New Fonts
    on Windows XP / 98 (5)
    Having a great arsenal of fonts is a must in web design. If you have a personal web page, having
    unique fonts on your site will set your site apart from all the other personal web sites out there.
    Downloading new fonts is simple. Browse Google for some sites that have free fonts. To download
    the font, click the appropriate system type (usually pc or mac) that you'll have the font on.
    Fonts normally come compressed as either .zip or .rar . Extract the fonts to a directory on your
    desktop named "New Fonts." Note : Supported font types for Windows are .ttf, .f....
  24. Installling Linux On Windows By Only Using 2gb
    :) (5)
    Ok here it goes, First of all you need an ISO or a Linux Disc if you have one, if you don't have
    a disc you can download a ISO by searching in google Linux ISO and go to the first one i think then
    go to www.microsoft.com once you have downloaded the ISO (Might have 4/3/2/1 Discs) then download
    the 45 Day free trial or the full version if you can of Virtual PC 2005 Beta /smile.gif'
    border='0' style='vertical-align:middle' alt='smile.gif' /> Now once you have installed Virtual PC
    2005 Beta create a new Virtual PC by going to the button Labelled New, in one stage i....
  25. Suse Linux
    (3)
    I made a small quick guide for SUSE Linux: Click Here! xboxrulz....

    1. Looking for install, winxp, linux, compute, double, boot

Searching Video's for install, winxp, linux, compute, double, boot
advertisement



How To Install Winxp And Linux To The Same Compute - a double boot



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE