LinuxQuestions.org
Help answer threads with 0 replies.
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 01-13-2005, 05:25 PM   #1
Armageddon00
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
Grub


Hey Folks im real new hear and my last experince with linux was rather negative so I want to get information from another human being rather than an html file.

Question:

How EXACTLY do i install GRUB from a WinXP operating system. I need step by step instructions because the grub-install doesnt seem to like me in the Fedora Core 3. I think I probably need all the files to so if u could tell me which ones to download from the GRUB website that would be awsome (whats the diffrence between GRUB legacy and GRUB 2?)

Answer:

Thats ur job!
 
Old 01-13-2005, 06:20 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I don't think you can install grub from Windows. What are the errors you get when you try and install grub with Fedora Core. During the installation you need to install grub to the master Boot Record (MBR). If you can boot into Fedora Core and your master hard drive is /dev/hda the as root, do
#grub-install /dev/hda
A list of detected drives will be shown and grub will will install to the MBR. to boot windows make sure you have an entry called "DOS" or "Windows" in /boot/grub.conf or /boot/grub/menu.lst.
 
Old 01-15-2005, 03:47 AM   #3
mabus92920
Member
 
Registered: Jan 2005
Posts: 48

Rep: Reputation: 15
Here's a suggestion, but it's assuming that you created a boot disk upon installation of your fedora.

1. boot you fedora using boot disk.
2. login as root.
3. type int grub-install /dev/(the partition of your fedora)
4. then reboot. it will install grub bootloader
 
Old 01-15-2005, 05:13 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Even if you don't have a boot floppy, you can use your Fedora rescue cd or your first installation disk by doing,

boot: linux rescue
chroot /mnt/sysimage
grub-install /dev/hda
 
Old 01-15-2005, 12:17 PM   #5
Armageddon00
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Problem is that fedora core 3 didn't install GRUB correctly when i last used grub-install nor when i did the main installation of fedora. Fedora is on hdb1 so maybe thats my problem.

O and the problem with grub is that after installing when i boot the Computer I see the DELL screen (i think that is BIOS) then i see GRUB and thats all it does for the next millennia or two.

Last edited by Armageddon00; 01-15-2005 at 12:21 PM.
 
Old 01-16-2005, 08:04 AM   #6
aus9
LQ Guru
 
Registered: Oct 2003
Distribution: Fedora 25 Gnome (Wayland)
Posts: 5,132

Rep: Reputation: Disabled
assuming you can do some typing at the word grub on your screen .....you are at the grub command centre.

you now type
rootnoverify (hd0,0)
makeactive
chainloader +1
with ENTER presses AT each line.....you should be booted into windows and so you know what to have in your linux file /boot/grub/menu.lst when we boot into that.

now reboot back to that nasty grub and see my troubleshooter here
http://www.linuxquestions.org/questi...hreadid=237511

we now get into linux thru a bit of detective work
commands
find /etc/fstab
response will be something like (hd1,4) or (hd1,X) where X is 0,1,2,...etc

eg if (hd1,4)
New command is
root (hd1,4)
cat /etc/fstab

will output your file system table and we are looking for one or two entries

eg
/dev/hdb1 /boot ext3 and other junk
/dev/hdb5 / ext3 and other junk

BUT you may have the /boot folder as a sub-folder of / so you will only find
/dev/hdb5 / ext3

See the tut for amending those names into grub speak /dev/hdbX = (hd1, (X minus 1) )

We now use that info to set the pathway to /boot partition/sub-folder
root (hd1,0)
kernel / AND PRESS THE TAB KEY to see what files are there
response should be a vmlinuz..........we also need to specify the / partttion so we then complete the command
kernel /vmlinuz root=/dev/hdb5

You may also need an initial ram disk image so try
initrd / AND PRESS THE TAB key

if you get a file called initrd.img or something like that then to boot its
root (hd1,0)
kernel /vmlinuz root=/dev/hdb5
initrd /initrd.img

MODIFIERS

some distros want the kernel line and the initrd line as including /boot like this
kernel /boot/vmlinuz root=/dev/hdb5

well you get the drift
 
Old 01-16-2005, 08:06 AM   #7
aus9
LQ Guru
 
Registered: Oct 2003
Distribution: Fedora 25 Gnome (Wayland)
Posts: 5,132

Rep: Reputation: Disabled
then last command is
boot

once you are in amend your menu.lst file to save those commands, you will need root access to overwrite.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM


All times are GMT -5. The time now is 07:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration