944,126 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Oct 13th, 2004
0

Dual booting windows xp and fedora core 1 using grub

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lestont is offline Offline
15 posts
since Oct 2004
Oct 13th, 2004
0

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

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
Team Colleague
Reputation Points: 121
Solved Threads: 57
Posting Virtuoso
kc0arf is offline Offline
1,629 posts
since Mar 2004
Oct 15th, 2004
0

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

Quote 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...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lestont is offline Offline
15 posts
since Oct 2004
Oct 15th, 2004
0

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

Quote 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.
Reputation Points: 44
Solved Threads: 1
Junior Poster
subtronic is offline Offline
117 posts
since Aug 2003
Oct 19th, 2004
0

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

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lestont is offline Offline
15 posts
since Oct 2004
Oct 20th, 2004
0

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

Quote 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
Reputation Points: 44
Solved Threads: 1
Junior Poster
subtronic is offline Offline
117 posts
since Aug 2003
Oct 30th, 2004
0

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

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lestont is offline Offline
15 posts
since Oct 2004
Oct 31st, 2004
0

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

Usually lilo plays nicer than grub when you want to dual boot with xp.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Nov 11th, 2004
0

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

Quote 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.
Reputation Points: 10
Solved Threads: 0
Light Poster
dontcare is offline Offline
32 posts
since Oct 2004
Nov 16th, 2004
0

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

Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
lestont is offline Offline
15 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Error Message When Copying File/folder
Next Thread in Linux Applications and Software Forum Timeline: Solaris





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC