Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a Widows XP machine that I wanted to dual boot with Fedora Core 6 but somehow I lost my Windows installation when I installed Fedora. It is not really lost, for when I do the fdisk -l command, I can see the NTFS partition. It just looks like grub doesn't see it.
From what I have read in this forum and others, XP and Fedora are not good bedfellows for dual boot systems.
Until I understand more about the boot loader and partitioning, I would like to uninstall Fedora and go back to my Windows installation and just have a dedicated machine as my Fedora box.
Is there a nice way to 'uninstall' Fedora Core 6 and by doing so, will I get the XP machine back?
Distribution: The ones that come in magazines and books.
Posts: 136
Rep:
Hey,
If you go into the boot.conf file, I think it is anyway, you can alter the file to boot Windows as well. When I installed FC6 it got it perfectly. Just a side not, are you sure that it doesn't recognize it as 'Other' in the grub menu? Make sure you hit a button to get into the boot menu as well. As far as the input goes for adding Windows, I'm not sure. Search around the forums, I'm sure you'll find something. Actually, check out member saikee. He has a link to a walk through on grub.
ignore what he said its wrong. If your using fedora then your probally using grub. To add a menu to grub do the following:
Start you fedora up
Open a terminal and type the following:
mount /boot
gedit /boot/grub/menu.lst
if it is blank then exit and
gedit /boot/grub/grub.conf
add the following lines at the end
title Windows
rootnoverify (hd0,0) (where (hd0,0) is your windows partition)
chainloader +1
makeactive
Save it
Reboot and enjoy
Just to make sure that I am doing this correctly, here is what I have in menu.lst:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,1)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Other
rootnoverify (hd0,0)
chainloader +1
menu.lst (END)
Here is my partition setup:
Code:
[root@BriansRH grub]# /sbin/fdisk -l /dev/hda
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 55370 27906448+ 7 HPFS/NTFS
/dev/hda2 55383 55575 96390 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3 55575 155056 50138865 8e Linux LVM
Partition 3 does not end on cylinder boundary.
[root@BriansRH grub]#
So, based on this, my XP addition to the menu.lst file should be the following:
title Windows
rootnoverify (hd0,0)
chainloader +1
makeactive
exactly right. Obviously reboot after this so you can enjoy . I would personally remove the bit that sais hidemenu this way you get a nice menu without pressing any buttons. Hope this helps. Edit: put the windows stuff before the end bit that sais menu.lst END. edit2: remove the bit trhat sais
title Other
rootnoverify (hd0,0)
chainloader +1
Last edited by kernel_geek; 01-07-2007 at 04:31 AM.
exactly right. Obviously reboot after this so you can enjoy . I would personally remove the bit that sais hidemenu this way you get a nice menu without pressing any buttons. Hope this helps. Edit: put the windows stuff before the end bit that sais menu.lst END. edit2: remove the bit trhat sais
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.