•
•
•
•
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
![]() |
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 5
Solved Threads: 0
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.
Can anybody please help ,I do not know what's wrong here.
Thank you.
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
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
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 5
Solved Threads: 0
•
•
•
•
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
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...
•
•
•
•
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.
•
•
•
•
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
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 5
Solved Threads: 0
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.
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.
•
•
Join Date: Jun 2004
Location: H4x0rville
Posts: 2,105
Reputation:
Rep Power: 9
Solved Threads: 18
•
•
Join Date: Oct 2004
Posts: 32
Reputation:
Rep Power: 5
Solved Threads: 0
•
•
•
•
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.
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 5
Solved Threads: 0
•
•
•
•
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb *nix Software Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple blog bluray browser computer core crack dell development dual dvd erp systems fedora india install intel internet layer leopard linux mac media microsoft mobile network news office open operating os photo project project management security server software software selection sony source spyware system technology evaluation ubuntu unix upgrade vista web windows xp
- Accesing windows xp files from fedora core 1 (*nix Software)
Other Threads in the *nix Software Forum
- Previous Thread: Error Message When Copying File/folder
- Next Thread: Solaris



Linear Mode