LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can i make my linux box a dual boot with xp on it (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-make-my-linux-box-a-dual-boot-with-xp-on-it-472237/)

adamf4i 08-09-2006 04:32 AM

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

prozac 08-09-2006 04:37 AM

yes you can, why not? install xp and then reinstall grub, lilo.

w3bd3vil 08-09-2006 04:37 AM

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.

adamf4i 08-09-2006 04:40 AM

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..

prozac 08-09-2006 04:47 AM

what do mean by add? what is it you are trying to achieve?

Nylex 08-09-2006 04:50 AM

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.

adamf4i 08-09-2006 04:51 AM

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

adamf4i 08-09-2006 04:53 AM

ok first where is this gnu parted i cant find it

prozac 08-09-2006 04:54 AM

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.

Nylex 08-09-2006 04:57 AM

Google is your friend, you know. GNU Parted. Your distro may have a package for it or a similar app.

adamf4i 08-09-2006 04:57 AM

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

prozac 08-09-2006 05:00 AM

like already said, Google is your friend, here's how:
http://www.google.com/search?q=grub+...en-US:official

adamf4i 08-09-2006 05:03 AM

anyone know if there is a partition thing that comes with kubuntu

prozac 08-09-2006 05:06 AM

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!

adamf4i 08-09-2006 05:18 AM

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


All times are GMT -5. The time now is 03:19 PM.