LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-22-2006, 07:26 PM   #1
uruloki
LQ Newbie
 
Registered: Jul 2006
Location: toluca, mexico
Distribution: fedora core 5
Posts: 2

Rep: Reputation: 0
installed fedora5 &winxp. fedora fine, can't boot winxp


Hello:
I'm new in linux but i found it more reliable than windows but my family still needs windows.

i bought a new hard disk, i installed win xp prof in the first half oh the hd and it worked fine, then in the other half i installed fedora core 5, as i knew i made one "/boot" partition, one "/" partition and one "swap" partition. the installation went just fine.
in the boot options i put winxp as the default.
in the boot options it says that it will boot win in "x" seconds or press any key for boot options if i leave it kind of boot win and then it reboots itself over and over again.
i don't know if i made something wrong or if i can fix it or if i have to reinstall all

another question, i have another hard disk with lots of music that i don't want to lose, how can i attached it so that i can access that disk from windows or linux. the hard disk is unaccesible because of a virus but the music is still there.

i would really really apreciate any help. and please let me know if i didn't explain myself clear.

Thanks
 
Old 07-22-2006, 07:45 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
From a FC5 terminal session run the following and post the output
Code:
fdisk -l
cat /boot/grub/menu.lst
Note both commands use lower case ell, not the number 1.
If the commands aren't found, go to root ("su -" followed by your root password when requested) and try again.
If menu.lst isn't found substitute grub.conf.
 
Old 07-22-2006, 10:41 PM   #3
uruloki
LQ Newbie
 
Registered: Jul 2006
Location: toluca, mexico
Distribution: fedora core 5
Posts: 2

Original Poster
Rep: Reputation: 0
[root@localhost ~]# fdisk -l

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2431 19526976 7 HPFS/NTFS
/dev/hda2 2432 2456 200812+ 83 Linux
/dev/hda3 2588 4998 19366357+ 83 Linux
/dev/hda4 2457 2587 1052257+ 5 Extended
/dev/hda5 2457 2587 1052226 82 Linux swap / Solaris

Partition table entries are not in disk order
[root@localhost ~]# cat /boot/grub/menu.lst
# 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/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,1)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
 
Old 07-23-2006, 12:39 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Well looking at that menu.lst, FC (not Windoze) should be the default boot-up.
Don't know FC at all, so can't help. Hopefully someone else will pipe up with a solution.
 
Old 07-23-2006, 01:00 AM   #5
sr_25
Member
 
Registered: Nov 2005
Location: Colorado
Distribution: Debian
Posts: 133

Rep: Reputation: 16
Well, first off for XP to be default you need to change the default line to:
Quote:
default=1
I think you may need to add the line 'makeactive' between rootnoverity and chainloader +1. Anyhow, I am a linux newbie but this is how my menu.lst file is.

/edit
As for getting rid of the virus, I think we'll need a little more info. like the name of the infection, before we can help you. Have you tried your favorite AV website for an automated removal tool?

Last edited by sr_25; 07-23-2006 at 01:17 AM.
 
Old 07-23-2006, 10:12 AM   #6
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Makeactive is what you need to add

sr_25 is correct. I have a machine that boots Ubuntu,FC5 and win XP. If you are going to play around with different distros get use to changing menu.lst aka grub.conf. Keep a copy of what works you will need it. Most of the time grub will boot the last operating system installed and then it will be up to you to edit the grub configuration file to get the other(s) functional again.

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
 
  


Reply



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
Fedora & WinXP - XP won't boot clemrick Linux - Newbie 5 09-20-2004 11:32 AM
How do I install Fedora on my comp running WinXP Pro, WinXP Home and Win2000 Server pureheartedsoul Linux - Newbie 3 03-30-2004 02:45 PM
Problems w/Grub (WinXP, WinXP & SUSE) worldofaaron Linux - Newbie 12 01-24-2004 06:26 PM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 12:00 PM
WinXP & RH7.1 > WinXp &RH7.2 Dual Boot Jondalar Linux - Software 14 01-25-2002 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 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
Open Source Consulting | Domain Registration