Dual booting windows xp and fedora core 1 using grub

Reply

Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Dual booting windows xp and fedora core 1 using grub

 
0
  #1
Oct 13th, 2004
I had fedora core 1 installed in hdb2 and windows xp in hda1.But I then reinstalled windows xp and the Master Boot Record was cancelled so I cannot boot fedora core 1 but I only access windows xp.I tried to install GRUB In hdb2(from cd) but I get an error that no kernel is present in that drive.
Can anybody please help ,I do not know what's wrong here.

Thank you.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #2
Oct 13th, 2004
Hello,

Did you by chance make the fedora Emergency Boot Disk? if so, you might be able to edit that text file on the disk,and then boot to Linux, and then run the grub utilities from within your linux environment.... wait... you had this working, so your emergency disk should already be ready to go.

Christian
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #3
Oct 15th, 2004
Originally Posted by kc0arf
Hello,

Did you by chance make the fedora Emergency Boot Disk? if so, you might be able to edit that text file on the disk,and then boot to Linux, and then run the grub utilities from within your linux environment.... wait... you had this working, so your emergency disk should already be ready to go.

Christian
Hi.
Yes I managed to create a boot disk and I can access fedora now.But where and how can I manage to change the grub utilities?Sorry I'm new to linux,I tried reading the grub manual but I can't really get what I'm trying to do.Your help will be appreciated...
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 117
Reputation: subtronic is an unknown quantity at this point 
Solved Threads: 1
subtronic's Avatar
subtronic subtronic is offline Offline
Junior Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #4
Oct 15th, 2004
Originally Posted by lestont
Hi.
Yes I managed to create a boot disk and I can access fedora now.But where and how can I manage to change the grub utilities?Sorry I'm new to linux,I tried reading the grub manual but I can't really get what I'm trying to do.Your help will be appreciated...
First, you should type in the command as root: grub-install. Then, you should make changes to grub.conf (usually found at /boot/grub/grub.conf or /boot/grub/menu.lst, though I've also seen it at /etc/grub.conf as well) to reflect where your partitions are.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #5
Oct 19th, 2004
I tried to install grub but I get an error that grub and grub-install commands are not found! What could be the problem here?
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 117
Reputation: subtronic is an unknown quantity at this point 
Solved Threads: 1
subtronic's Avatar
subtronic subtronic is offline Offline
Junior Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #6
Oct 20th, 2004
Originally Posted by lestont
I tried to install grub but I get an error that grub and grub-install commands are not found! What could be the problem here?
they are either not in your PATH (which could mean you're trying to execute them as a non-root user) or they are not.. um... installed ?

% which grub-install
/sbin/grub-install

on my system
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #7
Oct 30th, 2004
Both grub and lilo are installed in my linux.I manage to access grub in /sbin and run it but I get no desired results.My grub.conf file is located at /boot/grub but I cannot run grub there.Here is how I tried it for linux and windows booting->linux is in hdb2 and windows in hda1:

For Linux

#./grub
grub> root (hd1,1)
grub> kernel /boot/vmlinuz-2.4.22.2115.nptl
grub> initrd /boot/initrd-2.4.22-1.2115.nptl.img
grub> boot

For Windows

#./grub
grub> rootnoverify (hd0,0)
grub> chainloader + 1
grub> makeactive
grub> boot

and this is what appears on screen:

Probing devices to guess BIOS drives.This may take a long time.

Nothing happens after this!
Somebody suggested that I check my Master Boot Record but I do not know how to go about doing that.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #8
Oct 31st, 2004
Usually lilo plays nicer than grub when you want to dual boot with xp.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 32
Reputation: dontcare is an unknown quantity at this point 
Solved Threads: 0
dontcare dontcare is offline Offline
Light Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #9
Nov 11th, 2004
Originally Posted by lestont
Both grub and lilo are installed in my linux.I manage to access grub in /sbin and run it but I get no desired results.My grub.conf file is located at /boot/grub but I cannot run grub there.Here is how I tried it for linux and windows booting->linux is in hdb2 and windows in hda1:

For Linux

#./grub
grub> root (hd1,1)
grub> kernel /boot/vmlinuz-2.4.22.2115.nptl
grub> initrd /boot/initrd-2.4.22-1.2115.nptl.img
grub> boot

For Windows

#./grub
grub> rootnoverify (hd0,0)
grub> chainloader + 1
grub> makeactive
grub> boot

and this is what appears on screen:

Probing devices to guess BIOS drives.This may take a long time.

Nothing happens after this!
Somebody suggested that I check my Master Boot Record but I do not know how to go about doing that.
Login under root type this command "fdisk -l" then post your results, then maybe i can help you. I don't think that your root linux partition is on (hd1,1) it's probably (hd0,1) or [(hd0,x) 0<x<1000] but I could be wrong if I could see your partition table then I would know.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Re: Dual booting windows xp and fedora core 1 using grub

 
0
  #10
Nov 16th, 2004
Originally Posted by dontcare
Login under root type this command "fdisk -l" then post your results, then maybe i can help you. I don't think that your root linux partition is on (hd1,1) it's probably (hd0,1) or [(hd0,x) 0<x<1000] but I could be wrong if I could see your partition table then I would know.
I tried "fdisk -l" but it says that the command is not found although I was able to view its manual! Anyway, here is how Partition Magic 8.0 in windows show my partitions,there 2 in the 1st disk and 4 in the 2nd:

DISK 1:
C Size: 37 675.8MB
Unallocated Size: 486.3MB

DISK 2:
F Size: 68 291.9MB
Linux Ext3 Size: 8 699.3MB
/home Linux Ext3 Size: 1 019.8MB
SWAPSPACE2,Linux Swap Size: 517.7MB

I hope that will help. Thanks.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC