User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 427,851 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,743 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 38914 | Replies: 18
Reply
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

Help Dual booting windows xp and fedora core 1 using grub

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

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

  #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  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

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

  #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  
Join Date: Aug 2003
Location: Austin, TX
Posts: 117
Reputation: subtronic is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 0
subtronic's Avatar
subtronic subtronic is offline Offline
Junior Poster

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

  #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  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

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

  #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  
Join Date: Aug 2003
Location: Austin, TX
Posts: 117
Reputation: subtronic is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 0
subtronic's Avatar
subtronic subtronic is offline Offline
Junior Poster

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

  #6  
Oct 19th, 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  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

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

  #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  
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation: server_crash is on a distinguished road 
Rep Power: 9
Solved Threads: 18
server_crash's Avatar
server_crash server_crash is offline Offline
Postaholic

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

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

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

  #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  
Join Date: Oct 2004
Posts: 15
Reputation: lestont is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
lestont lestont is offline Offline
Newbie Poster

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

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb *nix Software Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the *nix Software Forum

All times are GMT -4. The time now is 3:24 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC