LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-02-2006, 01:29 AM   #1
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
grub sucks!!!!


hi.... i've installed Fedora Core 5...after a clean install when i boot using grub it says "grub loading please wait" and then i immediately get "error 25".. n now at this place my system hangs. i have 3 hardisks

hda --------->4 partitions,windows---fat32

hdb --------->4 partitions,backup,no OS---fat32

hdd --------->20 gb,2 partitions,first partition---->Fat32,,,,,2nd partition--->swap,ext3 which has / mount point.

in grub.conf

#boot=/dev/hda
default = 1
timeout = 10

splashimage=(hd2,5) /grub/splash.xmp.gz
title xxxxxxxxxxxxxxxxx
root (hd2,5)
kernel /vmlinuz-xxxxxxx ro root=LABEL=/ rhgb xxxx
initrd /initrd-xxxxxx.img

title DOS
rootnoverify (hd0,0)
chainloader +1


cud any 1 pls help me with this prob????
 
Old 07-02-2006, 03:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://www.linuxselfhelp.com/gnu/gru...r/grub_13.html

says there it's a read error... did you read the manual to reaserch the code already?

i'd have to wonder why on earth you're trying to boot from a logical partition, that's a bit odd really... you should use a dedicated /boot partition on the first partition of the drive if you want to do things nicely.
 
Old 07-03-2006, 09:13 AM   #3
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Quote:
Originally Posted by praveen_2003
hi.... i've installed Fedora Core 5...after a clean install when i boot using grub it says "grub loading please wait" and then i immediately get "error 25".. n now at this place my system hangs. i have 3 hardisks

hda --------->4 partitions,windows---fat32

hdb --------->4 partitions,backup,no OS---fat32

hdd --------->20 gb,2 partitions,first partition---->Fat32,,,,,2nd partition--->swap,ext3 which has / mount point.

in grub.conf

#boot=/dev/hda
default = 1
timeout = 10

splashimage=(hd2,5) /grub/splash.xmp.gz
title xxxxxxxxxxxxxxxxx
root (hd2,5)
kernel /vmlinuz-xxxxxxx ro root=LABEL=/ rhgb xxxx
initrd /initrd-xxxxxx.img

title DOS
rootnoverify (hd0,0)
chainloader +1


cud any 1 pls help me with this prob????

I am not a Grub expert, but the line "root (hd2,5) refers to the sixth partition on the third hard drive.

I see that you have three hard drives, but it is not clear that you have six partitions on that drive.

I have an FC5 installation on my hard drive with only a
/ partition and a swap partition that works with no problem. But, I use Lilo, so I can't be of much more help.

Good luck, jimbo
 
Old 07-03-2006, 09:56 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hd(2,5) is *NOT* the 6th partition at all. it is the second partition within any extended partitions which, should you have three primary partitions and an extended partition, would then be the 6th partition, but even if you have no primary partitions at all, the first logical partition would be hd(?,4)
 
Old 07-04-2006, 07:05 AM   #5
sharma.kashyap
Member
 
Registered: Apr 2006
Posts: 41

Rep: Reputation: 15
try to reinstall grub on the mbr again...............than c wat happens..
 
Old 07-04-2006, 07:12 AM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
hdd --------->20 gb,2 partitions,first partition---->Fat32,,,,,2nd partition--->swap,ext3 which has / mount point.
What did I miss? I read "two partitions", then "first partition FAT32", then "second partition swap, ext3 with / mount point". Now wait a minute..how can you have both SWAP and root partition on the same partition? Huh? Either I read wrong, you've done a very odd partition, that's a typing error or out communication just isn't working. If you have both SWAP and root partition on hdd, plus the FAT32-partition, shouldn't you then have three partitions there? Or did you mean you have configured SWAP to be inside a swapfile rather than a swap partition?
 
Old 07-04-2006, 07:37 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by b0uncer
What did I miss? I read "two partitions", then "first partition FAT32", then "second partition swap, ext3 with / mount point". Now wait a minute..how can you have both SWAP and root partition on the same partition? Huh? Either I read wrong, you've done a very odd partition, that's a typing error or out communication just isn't working. If you have both SWAP and root partition on hdd, plus the FAT32-partition, shouldn't you then have three partitions there? Or did you mean you have configured SWAP to be inside a swapfile rather than a swap partition?
i would have interpreted that as two logical partitions inside an extended.
 
Old 07-04-2006, 09:19 AM   #8
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
hd(2,5) is *NOT* the 6th partition at all. it is the second partition within any extended partitions which, should you have three primary partitions and an extended partition, would then be the 6th partition, but even if you have no primary partitions at all, the first logical partition would be hd(?,4)
Right, excuse the lapse of logic. BUT, there is still a question about how the third drive is partitioned. OP says two partitions, so why would he need an extended partition? And he mentions a Fat, swap and / partition. I still think he has something wrong with the way the third HD is partitioned or has / partition wrong in Grub.

Good luck, jimbo
 
Old 07-05-2006, 12:33 AM   #9
steve-alexander
LQ Newbie
 
Registered: Mar 2005
Location: Ohio
Distribution: FC6->F7
Posts: 23

Rep: Reputation: 16
OK the grub docs clearly state that grub-install cannot accurately determine the bios enumeration of the drives - so it must guess. For this reason it is sometimes necessary to manually edit the /boot/grub/devices.map file after installing grub.

My guess is that the entry for hd2 is NOT the correct disk (/dev/hdd). Pretty common problem. It *may* be the case that your hdd disk should be described as "(hd2) /dev/hdd" in the device.map file, but the bios remapping is a strange and mysterious thing.

You can edit this file from the rescue option of the FC5 installation disk.

I seldom use logical partitions - so you are on your own wrt that issue and the partition (hd2,5). If FC5 allowed logical partition installation for the root file syste, then it's probably OK.
 
Old 07-05-2006, 02:01 PM   #10
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
hey!!

hey guys sorry 4 d late rely... i've already tried reinstalling d grub on my MBR but still am struck up wit d same prob... i've installed FC5 on my 20 Gb hdd... primary partion is win-FAT32... workin 5n... but extended is my / and swap partitions..n other 2 primary hardisks r win fat32 which is working normally...20 gb hdd is my sec slave drive..now i guess u guys mite get a fair idea abt my IDE config's n abt my Partition table as well....
i don wanna disturb my primary partion of d 20GB drive cos i've got some important data in it.so without disturbin it i've installed FC5 on my extended partition..i knw its a bad idea to install Linux on extended disk but i hav no choice 2 secure my data...
 
Old 07-05-2006, 02:25 PM   #11
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by praveen_2003
hey guys sorry 4 d late rely... i've already tried reinstalling d grub on my MBR but still am struck up wit d same prob... i've installed FC5 on my 20 Gb hdd... primary partion is win-FAT32... workin 5n... but extended is my / and swap partitions..n other 2 primary hardisks r win fat32 which is working normally...20 gb hdd is my sec slave drive..now i guess u guys mite get a fair idea abt my IDE config's n abt my Partition table as well....
i don wanna disturb my primary partion of d 20GB drive cos i've got some important data in it.so without disturbin it i've installed FC5 on my extended partition..i knw its a bad idea to install Linux on extended disk but i hav no choice 2 secure my data...

How about posting the output of fdisk -l as root so people can get an idea of what partitions are on the drives. You can always use something like this if you hit the c key when the grub splash screen comes up.

Code:
root (hd2,1)
kernel /boot/vmlinuz root=/dev/hdc2 ro
boot
This would boot the default kernel on the third HD in the system second partition change it around for your setup.
 
Old 07-05-2006, 04:19 PM   #12
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Quote:
Originally Posted by praveen_2003
hey guys sorry 4 d late rely... i've already tried reinstalling d grub on my MBR but still am struck up wit d same prob... i've installed FC5 on my 20 Gb hdd... primary partion is win-FAT32... workin 5n... but extended is my / and swap partitions..n other 2 primary hardisks r win fat32 which is working normally...20 gb hdd is my sec slave drive..now i guess u guys mite get a fair idea abt my IDE config's n abt my Partition table as well....
i don wanna disturb my primary partion of d 20GB drive cos i've got some important data in it.so without disturbin it i've installed FC5 on my extended partition..i knw its a bad idea to install Linux on extended disk but i hav no choice 2 secure my data...
The output of fdisk for all of your hard drives would be helpful. (fdisk hda, fdisk hdb, fdisk hdc, fdisk hdd). Use option "p" for each hard drive and post the results.

But, you have hda, hdb and hdd? Where is hdc? And on the 20 GB hard drive (hdd) you say you have a primary partition, a swap partition and a / partition. If swap and / are logical partitions, you would have hdd1 as the primary, and hdd5 and hdd6 as swap and / partitions. You don't say which partition is / and which is swap. So your root partition could be either hdd5 or hdd6. And I still want to know where/what hddc is.

Good luck, jimbo
 
Old 07-06-2006, 11:03 AM   #13
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
hey hdc is my DVD writer... n i wud soon post my fdisk layout!!!
 
Old 07-06-2006, 02:25 PM   #14
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
#1. Great idea "censoring" various stuff in your grub.conf. Everybody knows you can consider your box owned if someone gets a hold of the complete info in grub.conf

Quote:
title xxxxxxxxxxxxxxxxx
..
kernel /vmlinuz-xxxxxxx ro root=LABEL=/ rhgb xxxx
initrd /initrd-xxxxxx.img
#2. Just because YOU can't figure out what went wrong with a cirtain piece of software doesn't mean that piece of software sucks.
 
Old 07-07-2006, 09:51 AM   #15
jimbo-62
Member
 
Registered: May 2005
Location: Utah
Posts: 102

Rep: Reputation: 15
Quote:
Originally Posted by praveen_2003
hey hdc is my DVD writer... n i wud soon post my fdisk layout!!!
Is hdc, the DVD W, setup as master? I believe when you put a CD/DVD and HD on the same IDE controller, the HD should be master and the CD/DVD should be the slave. Since your DVD is hdc, it appears to be setup as master.

Then again, maybe with Linux it makes no difference.

Good luck, jimbo
 
  


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
Ntp Sucks!!! tunasashimi Linux - Networking 10 04-14-2012 04:50 PM
Yast SUCKS little_penguin SUSE / openSUSE 17 07-13-2005 01:35 AM
9.2 Sucks johnson_steve SUSE / openSUSE 17 04-27-2005 02:25 AM
FF Blocker Sucks jmr0311 Mandriva 3 07-28-2004 03:01 PM
IT still SUCKS! This Sucks General 10 02-26-2004 10:52 AM

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

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