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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-09-2008, 07:21 PM
|
#1
|
|
LQ Newbie
Registered: May 2008
Location: Daytona Beach, FL
Distribution: Fedora
Posts: 4
Rep:
|
Dual Boot for Windows XP/Fedora 8
Hello,
I'm very new to linux and I just installed Fedora onto my laptop. I partitioned my hard drive for the install, and it installed successfully. I get the dual boot screen for Fedora, and my allocated space for Windows XP, which is at the moment labled as "Other". When I chose the "Other" option, I am taken to a system recovery program, which I do not have a cd for instead of starting up XP. I definitely know that I didn't install over the Windows OS. Fedora doesn't even recognize the Windows partition.
From what I have gathered from the forums I've searched is that I need to do something in the grub directory, but I'm not getting a clear answer, or maybe I'm just not understanding correctly.
All I want is to be able to have the option to boot from either Linux or Windows XP. Could I please get step by step instructions on how to do this? Or am I not going to be able to access Windows anymore because I did something wrong in the Fedora installation?
I appreciate the help in advance.
|
|
|
|
05-09-2008, 07:42 PM
|
#2
|
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
You say you are taken to a system recovery program. Is this a windows recover program or a linux/fedora recovery program. Also list the output of
Code:
sudo /sbin/fdisk -l
to make sure you ntfs partition is still there for windows
Also post the contents of your grub.conf file. Mine is at /boot/grub/grub.conf
Code:
cat /boot/grub/grub.conf
|
|
|
|
05-09-2008, 07:42 PM
|
#3
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
I am hoping you resized partitions so pls expand on that point pls.
a live cd is excellent tool to look at your partitions, resize them and fix any issues
2) assuming you resized you can follow these points from the grub at mbr stage and see the theory in my signatures
bios boots to grub
press c for commands
(press enter at end of each line)
root (hd0,0)
makeactive
chainloader +1
boot
-----
this assumes c is still there and was resized correctly.
if it was a ntfs (journalised system) hopefully fedora resized using ntfsresize tool
3) let us know if you have a live cd and if you have ample download bandwith or small
leaping ahead....80 megs will get you recoveryispossible cd 120 megs systemrescue 700megs knoppix cd 4.2G knoppix dvd
|
|
|
|
05-09-2008, 07:52 PM
|
#4
|
|
LQ Newbie
Registered: May 2008
Location: Daytona Beach, FL
Distribution: Fedora
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by aus9
I am hoping you resized partitions so pls expand on that point pls.
a live cd is excellent tool to look at your partitions, resize them and fix any issues
2) assuming you resized you can follow these points from the grub at mbr stage and see the theory in my signatures
bios boots to grub
press c for commands
(press enter at end of each line)
root (hd0,0)
makeactive
chainloader +1
boot
-----
this assumes c is still there and was resized correctly.
if it was a ntfs (journalised system) hopefully fedora resized using ntfsresize tool
3) let us know if you have a live cd and if you have ample download bandwith or small
leaping ahead....80 megs will get you recoveryispossible cd 120 megs systemrescue 700megs knoppix cd 4.2G knoppix dvd
|
I defragmented my C drive, and used Acronis Disc Director in Windows to do the partition. I gave Fedora 8GB, because I'm not planning to do too much work in it. The rest of the C drive is Windows(ntfs), so should this solution work? I installed Fedora from a live CD.
|
|
|
|
05-09-2008, 08:00 PM
|
#5
|
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
Yes, this works and is how it is done (at least the beginning). The step by step instructions are simple:
1. Install Windows (already done)
2. Partition hard drive so there is room for Fedora (already done)
3. Install Fedora (already done, usually grub will be configured in this step as well).
4. Boot off of HD
Since you have already completed the stuff that needs to be done, we are past step by step instructions and need to troubleshoot. Please post the output from fdisk -l, the contents of your grub.conf, and exactly what recovery screen you are getting (windows recovery screen, oem hp/dell/gateway windows recovery screen, fedora screen).
|
|
|
|
05-10-2008, 03:53 AM
|
#6
|
|
LQ Newbie
Registered: May 2008
Location: Daytona Beach, FL
Distribution: Fedora
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by jonlake
Yes, this works and is how it is done (at least the beginning). The step by step instructions are simple:
1. Install Windows (already done)
2. Partition hard drive so there is room for Fedora (already done)
3. Install Fedora (already done, usually grub will be configured in this step as well).
4. Boot off of HD
Since you have already completed the stuff that needs to be done, we are past step by step instructions and need to troubleshoot. Please post the output from fdisk -l, the contents of your grub.conf, and exactly what recovery screen you are getting (windows recovery screen, oem hp/dell/gateway windows recovery screen, fedora screen).
|
[root@localhost ~]# sudo /sbin/fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b36bdea
Device Boot Start End Blocks Id System
/dev/sda1 * 894 8791 63440685 7 HPFS/NTFS
/dev/sda2 1 893 7172991 b W95 FAT32
/dev/sda3 * 8792 9729 7534485 83 Linux
Partition table entries are not in disk order
--------------------------------------------------------
[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,2)
kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.23.1-42.fc8.img
title Other
rootnoverify (hd0,1)
chainloader +1
-----------------------------------------------------
For the recovery screen I get a system restore program from my laptops's manufacturer, Gateway. Not a trace of anything Windows is to be found.
|
|
|
|
05-10-2008, 05:49 AM
|
#7
|
|
Member
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118
Rep:
|
Nomnom, you could try this:
When the grub menu appears, highlight the "other" entry and press "e", and "e" again. Backspace on the line "rootnoverify (hd0,1)" and change (hd0,1) to (hd0,0) and hit enter, then hit "b" and see if it boots into Windows. [None of this editing is permanent or changes anything - if it works, you'll have to edit a file, if it doesn't, you are exactly where you were.]
|
|
|
|
05-10-2008, 09:23 AM
|
#8
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
and if none of the above advice works....did you try to boot back into xp before installing linux?....if it failed that points to a bad partition table.
a live cd can use cfdisk and rescue your partition table.
|
|
|
|
05-10-2008, 04:28 PM
|
#9
|
|
LQ Newbie
Registered: May 2008
Location: Daytona Beach, FL
Distribution: Fedora
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by Honeysuckle
Nomnom, you could try this:
When the grub menu appears, highlight the "other" entry and press "e", and "e" again. Backspace on the line "rootnoverify (hd0,1)" and change (hd0,1) to (hd0,0) and hit enter, then hit "b" and see if it boots into Windows. [None of this editing is permanent or changes anything - if it works, you'll have to edit a file, if it doesn't, you are exactly where you were.]
|
Thanks, I did this and it worked! After changing the menu.lst in the grub folder, everything was pretty self explanatory.
|
|
|
|
05-10-2008, 07:17 PM
|
#10
|
|
LQ Newbie
Registered: May 2008
Location: Los Angeles
Distribution: To Install Fedora 8
Posts: 1
Rep:
|
Installing Fedora 8 on Windows XP
Quote:
Originally Posted by Nomnom
Hello,
I'm very new to linux and I just installed Fedora onto my laptop. I partitioned my hard drive for the install, and it installed successfully. I get the dual boot screen for Fedora, and my allocated space for Windows XP, which is at the moment labled as "Other". When I chose the "Other" option, I am taken to a system recovery program, which I do not have a cd for instead of starting up XP. I definitely know that I didn't install over the Windows OS. Fedora doesn't even recognize the Windows partition.
From what I have gathered from the forums I've searched is that I need to do something in the grub directory, but I'm not getting a clear answer, or maybe I'm just not understanding correctly.
All I want is to be able to have the option to boot from either Linux or Windows XP. Could I please get step by step instructions on how to do this? Or am I not going to be able to access Windows anymore because I did something wrong in the Fedora installation?
I appreciate the help in advance.
|
I have thought about installing Fedora for years and I have been put off by its complexity. Now I am going to try again, if I can get some help. I am very much of a newbie and I would really like to use Fedora. I am about to partition my hard drive in Windows XP Pro to a 50-50 GB split between Fedora and Windows. After I re-download Fedora 8 and partition my hard drive I will then see if there is help available before continuning.
|
|
|
|
05-10-2008, 09:07 PM
|
#11
|
|
Member
Registered: Dec 2006
Location: Perth Amboy, NJ, USA
Distribution: Fedora 9
Posts: 87
Rep:
|
Quote:
Originally Posted by compris
I have thought about installing Fedora for years and I have been put off by its complexity. Now I am going to try again, if I can get some help. I am very much of a newbie and I would really like to use Fedora. I am about to partition my hard drive in Windows XP Pro to a 50-50 GB split between Fedora and Windows. After I re-download Fedora 8 and partition my hard drive I will then see if there is help available before continuning.
|
it's really very simple. he only had a little truble because of the extra recovery partition, grub thought this was the OS, so instead of loading the first partition (hd0,0) it booted the second one (hd0,1). don't be put off by the complexity, yes it is more of a challenge at first, but you learn alot about your computer. any linux distro in invisible in that you can see everything being done.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|