LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-09-2006, 05:32 AM   #1
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Rep: Reputation: 15
can i make my linux box a dual boot with xp on it


if i have already installed kubuntu , is there anyway to add xp to this box or can u not do that
 
Old 08-09-2006, 05:37 AM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
yes you can, why not? install xp and then reinstall grub, lilo.
 
Old 08-09-2006, 05:37 AM   #3
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
you can do it. but thing that will happen is you will lose your grub, since the windows boot manager will overwrite it. What you would need to do is after installing winxp use the rescue disc and go to rescue mode and recover your grub, reinstall it.
there might be other ways!

edited:a few seconds late.
 
Old 08-09-2006, 05:40 AM   #4
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
no no lol i want to add xp to this system kubuntu that i already have installed wht are the steps in doin this thx..
 
Old 08-09-2006, 05:47 AM   #5
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
what do mean by add? what is it you are trying to achieve?
 
Old 08-09-2006, 05:50 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
People have pretty much told you what to do :/.

You'll need to make some room for Windows, if your entire hard drive is partitioned and there's no free space left. GNU Parted is one utility you can use to resize partitions.

Next, proceed with the installation of XP, creating a new partition out of the aforementioned free space. Windows will overwrite your MBR with its own bootloader, you aren't given a choice in this.

As above, if your distro's CDs have a "rescue" mode, use that to reinstall the bootloader to the MBR. You may have to add an entry for Windows to the config file yourself, though.
 
Old 08-09-2006, 05:51 AM   #7
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
ok sorry for not being more understanding , i have kubuntu installed right now i would like to have a dual boot with xp can i add this kind of config to my system
 
Old 08-09-2006, 05:53 AM   #8
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
ok first where is this gnu parted i cant find it
 
Old 08-09-2006, 05:54 AM   #9
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
yes you can dual boot xp with kubuntu. you will need to configure your bootloader (grub) to recognize xp also. i think i see what you meant by add. well you add it in the grub.conf and so grub can give you a nice menu to choose from as to what you want to boot.
 
Old 08-09-2006, 05:57 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Google is your friend, you know. GNU Parted. Your distro may have a package for it or a similar app.
 
Old 08-09-2006, 05:57 AM   #11
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
i dotn know how to add it to teh grub.conf , , im totally sorry for be so newbish but can u run me through complete step by step for doin all this
 
Old 08-09-2006, 06:00 AM   #12
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
like already said, Google is your friend, here's how:
http://www.google.com/search?q=grub+...en-US:official
 
Old 08-09-2006, 06:03 AM   #13
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
anyone know if there is a partition thing that comes with kubuntu
 
Old 08-09-2006, 06:06 AM   #14
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
have you got any space left in your hdd? well this is a good time to check it out. run 'fdisk -l' and compare its output to those of 'df -h' or 'mount' commands to see what partitons are used by whom. if you have a free partition left then its easy for you to go along with your plans, else you may need to resize. and
Quote:
Originally Posted by adamf4i
anyone know if there is a partition thing that comes with kubuntu
Google Knows!
 
Old 08-09-2006, 06:18 AM   #15
adamf4i
Member
 
Registered: Jun 2006
Location: kansas city,mo
Distribution: kubuntu
Posts: 95

Original Poster
Rep: Reputation: 15
root@laptop:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 54G 12G 40G 22% /
varrun 220M 84K 220M 1% /var/run
varlock 220M 4.0K 220M 1% /var/lock
udev 220M 92K 220M 1% /dev
devshm 220M 0 220M 0% /dev/shm
lrm 220M 19M 202M 9% /lib/modules/2.6.15-26-386/volatile
/dev/hdc 646M 646M 0 100% /media/cdrom0
root@laptop:~# fdisk -l

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 7132 57287758+ 83 Linux
/dev/hda2 7133 7296 1317330 5 Extended
/dev/hda5 7133 7296 1317298+ 82 Linux swap / Solaris
 
  


Reply


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
wishes to all,,how to make dual boot linux-rhel-4,win2003 and solaris-9 anandabalan Linux - General 2 06-05-2006 04:15 PM
Need Help Loading Windows XP & SuSe Linux version 8.2---to Make a Dual Boot System Howerton Linux - Newbie 7 09-23-2004 03:49 PM
installing linux on a dual boot win98/xp box hashaddict Linux - Newbie 3 03-09-2004 02:55 AM
Setting up a dual boot box gvaught Linux - Newbie 1 10-22-2003 11:23 PM


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