LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB Error (https://www.linuxquestions.org/questions/linux-newbie-8/grub-error-615878/)

Razorm 01-23-2008 09:56 PM

GRUB Error
 
First the good news: I did the Kubuntu 7.10 install and everything went as it should from the live CD.

Then I restarted...

Now the bad news: I got all of 5 seconds into the boot and it said "Loading GRUB 1.5"

Then "Error 2" -- and there my computer sits. I am typing this while running it from the live CD

I had posted earlier about the possiblity of my GEFORCE 8600GT vid card possibly causing problems, and perhaps this is the case, but any recommendations? Thank you.

andreas_skw 01-23-2008 10:33 PM

Try to install again
 
When you try installed Kubuntu, Were there any error messages? If weren't, try to install again. Format again, and if the result is error like what happen before you install it, try another live cd, maybe when you get the cd(downloaded or bought from shop), there some importance files were gone...

Razorm 01-23-2008 10:35 PM

I also have two HDs -- each one is 80G, don't know if that makes a difference...

andreas_skw 01-23-2008 11:01 PM

How did you manage your hard disk?
 
So, how did you manage your harddisk? Are you has installed another OS in your PC?

syg00 01-23-2008 11:34 PM

From a terminal session (liveCD) enter this and post the output
Code:

sudo fdisk -l
(lower case L)

Razorm 01-24-2008 08:00 AM

Okay, I will try that when I get home.

This is an out-of-the-box computer with a formatted HD -- no OS other than Kubuntu.

Razorm 01-24-2008 12:45 PM

Here is my hardware set-up:

AMD X2 6000 AM2 CPU RETAIL
2 160GB SATA-II 3GB/S 8MB 7200RPM HD
1G DDR2 PC6400 MEMORY
CM HYPER TX2 GAMING CPU COOLING FAN
BLACK LG 20X DVDRW
BLACK SONY 16X DVD
12-IN-ONE INTERNAL CARD READER
RAID-0 STRIPING
ASUS M2N-E SLI AM2 NFORCE 500
COOLERMASTER 600WATT EXTREME POWER
CREATIVE LABS AUDIGY SE BULK
GEFORCE 8600GT 512MB PCI-E

abejarano 01-24-2008 04:39 PM

Don't see a floppy listed there. Check in your BIOS settings to see that floppy disabled if it doesn't have one. If the BIOS is telling GRUB there's a floppy when there ain't, GRUB may give that error.

Razorm 01-24-2008 04:53 PM

Right, no floppy.

Research is leading me in the direction of BIOS so I think you are on to something. Thx.

Razorm 01-24-2008 06:33 PM

I checked the BIOS, the floppy is disabled. I tried messing around with the IDE, and disabling UDMA, but nothing works. So, I did the fdisk command and we see this:
Quote:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x432e17ee

Device Boot Start End Blocks Id System
/dev/sda1 * 1 18705 150247881 83 Linux
/dev/sda2 18706 19457 6040440 5 Extended
/dev/sda5 18706 19457 6040408+ 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table
This doesn't seem healthy...?

syg00 01-24-2008 06:56 PM

Quote:

Originally Posted by Razorm (Post 3033330)
I also have two HDs -- each one is 80G, don't know if that makes a difference...

????

If the system installed o.k. (can you read the hard-disk filesystem from the liveCD ???) it's probably just a matter of re-installing grub. Try this from a terminal
Code:

sudo grub
root (hd0,0)
setup (hd0)

Then reboot.
If that doesn't work, you're probably up for a re-install.

Razorm 01-24-2008 07:38 PM

I tried what you suggested -- the commands worked fine, but upon reboot, same "Error 2". I then reinstalled. Same "Error 2". I can't understand what the problem might be on a brand new system...:scratch:

Razorm 01-24-2008 07:56 PM

One problem I see is that in BIOS, it's not even recognizing the Master or Slave drive -- lists them as "none".

I imagine this would cause a problem in booting.

abejarano 01-25-2008 03:24 PM

That's OK (master/slave). Those would be IDE drives. You have the newer SATA drives. Does the BOOT section in the BIOS order your hard drive with the right one first? (If the BIOS BOOT section orders the drives.)

Could you post your /boot/grub/menu.lst? In the liveCD system you could mount the linux partition somewhere and get the menu.lst file.

The fdisk output shows only one drive is being used so far and that it has two partitions, the linux partition and an extended partition with a swap partition of several gigabytes.

Linux can use more than one swap to advantage but a swap space on the other drive would give the biggest performance boost AND with 1G of memory a swap partition larger than 1G is usually not effective.


All times are GMT -5. The time now is 11:29 AM.