LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-14-2005, 04:50 PM   #16
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0

Thanks for all info. I was away tonight, just got back and I'll try to fix my problem tomorrow.

Good night
 
Old 07-15-2005, 02:53 AM   #17
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, update for now:

This morning I removed all non NTFS partitions from my system using partition magic and left the space just like that (on my primary slave). After that I booted from the FC4 cd again and followed all the steps as described in the manual (again). The partitioning is done by the choosing the 'automatic' paritioning option (http://fedora.redhat.com/docs/fedora...titioning.html). I only wanted to have Disk druid alter my primary slave drive, so I only selected that one. At the part where it asks for installing the bootloader, I doublechecked and made sure that the bootloader would be installed to the MBR of hda. I set my Windows XP (on hda1) as my default boot choice. So far so good, picked some other options (installing fedora as a personal desktop) and started installing again. No errors whatsoever during the process, and it asked to reboot after a while. But then the same thing happened as happened yesterday. The system simply boots to my Windows XP and does not show the Grub bootloader like it should?

I read some of the tips in this thread. There is a rescuecd for FC4, I already downloaded and burned that one, but then I'd have to use some commands.

Quote:
i'm not sure if the FC disk gives a command prompt when booting to it, but if it does, you just need to run 'grub'
then type "root (hd1,0)", which tells grub that linux is installed on hdb, then type "setup (hd0)" which will install grub on the mbr of hda.
As I understand correctly, this tells grub to install to the MBR of hda (where it already should be) and then I tell grub that my FC4 install is on hdb (does it matter that there are other partitions (non linux) on that drive as well? I really would like to know what I'm doing and not just type those commands and 'hope' for it to have a happy ending, can someone give me some more info about what to do (and especially why to it) when booting from the rescuecd?

Again: I'm a total newbie if it comes to linux, that's why I picked an 'out of the box' distro to start with. If any of you give any hints/tips please be clear about what commands to type in etc.

Many thanks in advance
 
Old 07-15-2005, 03:45 AM   #18
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by PTrenholme
Perhaps more detailed instructions would help: See, for example, this entry
Ok, so in my situation I just boot from the rescueCD

type 'grub' and hit <enter>
type 'root (hd1,0)' and hit <enter>
type 'setup (hd0)' and hit <enter>
type 'exit' and hit <enter>

after that it should install GRUB and that will show on boot? Will it then also show my Windows XP install in GRUB ??

And what does the '(hd1,0)' mean? My FC4 install is on my hdb, there already exists a ntfs partition on that before the free space .. that free space is partitioned by the FC4 installer (just looked it up with partition magic and there first is 102MB of linux ext3 and after that there is almost 15gb (rest of the free space) of type 8E ??) Do I have to alter some of the parameters in the 'root (hd1,0)' command now?
 
Old 07-15-2005, 07:14 AM   #19
BiLLie-
LQ Newbie
 
Registered: Jul 2005
Location: the Netherlands
Distribution: Fedora Core 4
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, I think I fixed my problem for now. I did the booting from rescue CD, run grub, root (hd1,1), setup (hd0) and now grub shows on boot

Only 'weird' thing is that Fedora is shown twice in the bootmenu now? I'm now in windows XP to see if that still worked :P
 
Old 07-16-2005, 03:09 PM   #20
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally posted by BiLLie-
Ok, I think I fixed my problem for now. I did the booting from rescue CD, run grub, root (hd1,1), setup (hd0) and now grub shows on boot

Only 'weird' thing is that Fedora is shown twice in the bootmenu now? I'm now in windows XP to see if that still worked :P
O.K. -- First, the HD0, HD1 stuff: GRUB, like many system-level programs starts counting at zero, not one. So, if you have two drives, they are hd0 and hd1. It also counts partitions starting with zero, so, for example, the "root (hd1,1)" command specifies that the "root" is on the second partition of the second drive. Once you've started linux, that would be /dev/hdb2.

Second, what you see in the GRUB menu is what's in /boot/grub/grub.conf, which is a simple text file you can edit (if you have superuser access -- i.e., log in a root or use sudo <command> if you've set yourself up as a "sudoer")

Each time you do a "setup" in GRUB or install a new kernel, the GRUB menu is (usually) updated, and I suspect that your "duplicate" grub entry is from something like that.

Anyhow, welcome to Fedora Don't forget to run up2date fairly often -- The "Red Hat Network Alert Icon" only shown when critical updates are released.

Enjoy.
 
  


Reply



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
grub bootloader johnny_00 Linux - Software 5 10-14-2005 04:17 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 06:34 PM
GRUB bootloader !! maseby Red Hat 3 10-27-2003 03:34 AM
GRUB bootloader dbaker Linux - Software 1 06-11-2003 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration