LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-23-2005, 02:27 PM   #1
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
GRUB won't past Stage 2~ "Error 2" ~ FC3+XP


just thorough i'd share all the possible fixes for my problem (which isn't fixed !)

I've installed FC3 voer RHEL3 on adual boot XP{ & can't get past

GRUB Loading stage1.5
GRUB loading, pleas wait...
Error 2

Solution 1) Check that LBA Mode ~ my box does't have LBA option, whcihc didn't present a problem with RHEL3, Kernel 2.4

Solution 2a) Linux rescue
...partition check ~

/dev/hda1 ~ NTFS
/dev/hda2 ~ linux
/dev/hda3 ~ linux swap


fstab
LABEL=/ / ext3 1 2

Solution 2b) Does the entry on /boot/grub/grub.conf match fstab ~ YEP


Solution 2c) grub-install /dev/hda ~ (my GRUB is in the MBR) so this had no affect


Solution 2d)

kernel /vmlinuz-whatever root=LABEL=/ rhgb quiet
....change it to.....
kernel /vmlinuz-whatever root=/dev/hda2 rhgb quiet

ABEL=/ / ext3 defaults 1 2
....change it to.....
/dev/hda2 / ext3 defaults 1 2

~ no affect


Solution 2e)
# e2label /dev/hda2 /FC3

....and then change grub.conf to.....
kernel /vmlinuz-whatever root=LABEL=/FC3 rhgb quiet
....and then change fstab to.....
LABEL=/FC3 / ext3 defaults 1 2

~ no affect


Solution 2f) GRUB commands

# root (hd0,2)
ext2 found (mine is actually ext3..bizarre)
# kernel /boot/vmlinuz-2.6.9-1667 root=/FC3
[Linux-bzimage.....
#boot
exits from grub to shell ...I'm inLinux Rescue mode

Solution 2g) GRUB cxommands

#find /sbin/init
(hd0,2)
#find /vmlinux
Error 15 ~ my system doesn't have a symbolic vmlinuz...neither does other installs...BIZARRE
#find /boot/vmlinuz-2.6.9-1667
(hd0,2)

Solution 2h) Reinstall & Re-parition ~ done that

Solution 2i) fsck ~ all good ~ modern brand Pentium4 single disk no prbs

..well i hope this helps eveyone else..i'll try & source the latest Fedora..as i'm stuck

...well i think i've exhausted it all & bored to d... of the thing
 
Old 03-23-2005, 03:22 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
stevie_velvet: Regarding your “Solution 2g”, using Grub commands, what was returned when you requested:

find /boot/grub/stage1

Also, one thing I have learned about grub-installed run from FC Rescue is that it can really mess things up, even if grub.conf was already configured correctly.

Do you have two partitions with the same name/label? I have done that by accident using PartitionMagic and it really does a number on the boot. When in doubt, use the /dev/... definitions in grub.conf and fstab, instead of the LABEL= format. It is the first thing that I modify when setting up a fresh installation.

Unless you have already done this, make a grub boot floppy or CD (or USB flash drive) (http://www.gnu.org/software/grub/manual/grub.html) and go through the “find...”, “root...”, “setup ...” commands one time. Running them from FC Rescue will not necessarily give you the same results. The boot floppy looks at the hardware exactly the same way as the MBR Grub Stage1 call, whereas FC Rescue may be loading some drivers to see some of the drives.
 
Old 03-24-2005, 05:35 AM   #3
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Original Poster
Rep: Reputation: 15
cool..i'll try creating boot floppy, good practice

i think there's a legitmate reason for this though, maybe the MBR has had enough !
 
Old 03-29-2005, 01:55 AM   #4
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
MBR is not that hard to save restore get a grub.iso so even you can use a boot cd and restore MBR
 
Old 03-29-2005, 08:58 AM   #5
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Original Poster
Rep: Reputation: 15
...wasn't the MBR apparently...RHEL4...problem solved, probably a buggy GRUB in the FC3 intial relase (1667)
thx anyway
 
  


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
Alsa-utils failing make stage: "cannot stat `t-ja.gmo'", I think I need xgettext timkarwoski Linux - General 2 10-06-2008 03:07 PM
Boot now Hangs @ "GRUB" How do I find Stage 2's Address??? Supafast Linux - Hardware 1 07-06-2005 10:55 PM
MandrakeLinux install error: "Could not uncompress second stage ramdisk"...help! clarity7 Linux - Software 5 06-11-2005 12:23 PM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
FC3 - "Disabling IRQ # 10" error when installing godhugh Fedora - Installation 0 12-30-2004 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:23 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