manc39 Posted July 11, 2005 Report Share Posted July 11, 2005 Hi, I want to uninstall Kubuntu from a computer with XP on a separate partition, or at the very least make XP the default OS when it boots up.How do I do this?Thanks in advance. Quote Link to post Share on other sites
shanenin Posted July 12, 2005 Report Share Posted July 12, 2005 (edited) it is easy to make xp boot first. you need to edit your file called /boot/grub/menu.lst . To show you how I will show you my filedefault 0timeout 20title=gentooroot (hd0,1)kernel (hd0,1)/bzImage root=/dev/hda5 title=ubunturoot (hd0,5)kernel (hd0,5)/boot/vmlinuz-2.6.10-5-386 root=/dve/hda6initrd (hd0,5)/boot/initrd.img-2.6.10-5-386title=FreeBSDroot (hd0,0,a)kernel /boot/loadernoitice the first line that is labled default 0, this means it will boot the first OS in my list, which is gentoo. If I changed the line to default 1, this would boot ubuntu(the second in the list) first. You will have to change it to the number that corresponds to your windows XP install. Edited July 12, 2005 by shanenin Quote Link to post Share on other sites
manc39 Posted July 12, 2005 Author Report Share Posted July 12, 2005 it is easy to make xp boot first. you need to edit your file called /boot/grub/menu.lst . To show you how I will show you my filedefault 0timeout 20title=gentooroot (hd0,1)kernel (hd0,1)/bzImage root=/dev/hda5 title=ubunturoot (hd0,5)kernel (hd0,5)/boot/vmlinuz-2.6.10-5-386 root=/dve/hda6initrd (hd0,5)/boot/initrd.img-2.6.10-5-386title=FreeBSDroot (hd0,0,a)kernel /boot/loadernoitice the first line that is labled default 0, this means it will boot the first OS in my list, which is gentoo if I changed the line to default 1, this would boot ubuntu(the second in the list) first. You will have to change it to the number that corresponds to your windows XP install.<{POST_SNAPBACK}>Works perfectly, thanks Quote Link to post Share on other sites
shanenin Posted July 12, 2005 Report Share Posted July 12, 2005 your welcome :-) Quote Link to post Share on other sites
shanenin Posted July 14, 2005 Report Share Posted July 14, 2005 (edited) sorry, I did not mean to delete your(murtu52) post . My mod powers got the best of me.could you have accidently erased your windows partition?what does the output of the commandmountshow you?edit added later///I accidently erased murtu52's post about editing grub to boot windows 2000. That is what this post is trying to answer. Edited July 14, 2005 by shanenin Quote Link to post Share on other sites
murtu52 Posted July 14, 2005 Report Share Posted July 14, 2005 sorry, I did not mean to delete your(murtu52) post . My mod powers got the best of me.could you have accidently erased your windows partition?what does the output of the commandmountshow you?edit added later///I accidently erased murtu52's post about editing grub to boot windows 2000. That is what this post is trying to answer.<{POST_SNAPBACK}>I'll try that now....i'll post back afterwards. Will Ubuntu recognize FAT32? Quote Link to post Share on other sites
shanenin Posted July 14, 2005 Report Share Posted July 14, 2005 how many drives do you have?if you have just one, do:sudo /sbin/cfdisk /dev/hdaif you have more then one, do:sudo /sbin/cfdisk /dev/hdasudo /sbin/cfdisk /dev/hdbthen cut and paste that info. I am assuming you are using ide drives.also cut and paste your file /boot/grub/menu.lst Quote Link to post Share on other sites
murtu52 Posted July 14, 2005 Report Share Posted July 14, 2005 how many drives do you have?if you have just one, do:sudo /sbin/cfdisk /dev/hdaif you have more then one, do:sudo /sbin/cfdisk /dev/hdasudo /sbin/cfdisk /dev/hdbthen cut and paste that info. I am assuming you are using ide drives.also cut and paste your file /boot/grub/menu.lst<{POST_SNAPBACK}>Well, moving the files to this computer (the laptop doesn't have internet--really hard for me to set it up, one of the reasons i've decided to quit linux for now) might be a problem, i'll see what i can do...Booting up my computer is really hard. As i said, its old and has a lot of errors, so when it boots up and has these errors, it'll try fix the problem and won't boot up. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.