kanotix.com

Installation - Grub error after install

Lilac_Haze - 17.10.2006, 14:17 Uhr
Titel: Grub error after install
Hi
Hope someone can help a klutz like me. Have just completed an install on my PC, but grub shows this when I boot my system:

GRUB Loading stage 1.5.

GRUB loading, please wait...
Error 21


I am a complete idiot when it comes to anything like this. I have had a look here in the forum for any answers, but have not found anything. Please if anyone can help i need every tiny step explained to me.

Thanks in advance
ockham23 - 17.10.2006, 14:23 Uhr
Titel: RE: Grub error after install
How old is your computer? Please boot it off the LiveCD and post the output of the following shell commands:
Code:
lspci
sudo fdisk -l

Lilac_Haze - 17.10.2006, 14:33 Uhr
Titel: RE: Grub error after install
Hi ockham23

Thanks for your help. My PC is getting on abit now must be about 4 yrs old. Ok this is what comes up:

knoppix@1[knoppix]$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8375 [KM266/KL266] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
0000:00:09.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 40)
0000:00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

knoppix@1[knoppix]$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4674 37543873+ c W95 FAT32 (LBA)

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes



Device Boot Start End Blocks Id System
/dev/hdb1 1 7649 61440561 7 HPFS/NTFS
/dev/hdb2 7915 14593 53649067+ f W95 Ext'd (LBA)
/dev/hdb5 7915 14593 53649036 83 Linux


Hope this helps
hey_ian - 17.10.2006, 14:54 Uhr
Titel: Re: Grub error after install
Lilac_Haze hat folgendes geschrieben::
Hi
Hope someone can help a klutz like me. Have just completed an install on my PC, but grub shows this when I boot my system:

GRUB Loading stage 1.5.

GRUB loading, please wait...
Error 21


I am a complete idiot when it comes to anything like this. I have had a look here in the forum for any answers, but have not found anything. Please if anyone can help i need every tiny step explained to me.

Thanks in advance

This error comes only if GRUB cannot load. Did you have any Linux distributions before? Did you put GRUB into MBR when installing or was it the ROOT partition?
ockham23 - 17.10.2006, 15:05 Uhr
Titel: RE: Grub error after install
grub error 21 means that the disk referred to in /boot/grub/menu.lst is not present. There are three possible causes for this error:
1. Your computer's BIOS doesn't handle drives > 80 GB correctly, so grub cannot read the boot configuration files that are located in /boot/grub on partition hdb5. Suggested fix: A BIOS update might solve the problem. Alternatively, you could try to install Kanotix on partition hdb1 to move the boot configuration files to the very beginning of the hard drive.
2. You rearranged drive setup after installing Kanotix by adding, removing or switching drives. Possible fix: Restore initial drive configuration or reinstall Kanotix.
3. Something went wrong during the installation. Possible fix: Check KanotixCD for errors with cheat code testcd, then install again.
Lilac_Haze - 17.10.2006, 15:07 Uhr
Titel: RE: Re: Grub error after install
Hi hey_ian
Yes I did have a linux distro before......Red Hat 9. I put Grub into MBR

Does this help?
Lilac_Haze - 17.10.2006, 15:13 Uhr
Titel: RE: Re: Grub error after install
Hi ockham23

1. Could be the bios as you said.
2. Have not moved anything since install as can't boot anything.
3. Will check CD now and come back to you.

Sorry, but where do I check out the CD from? Is this in Konsole again?

Thanks
ockham23 - 17.10.2006, 15:25 Uhr
Titel: RE: Re: Grub error after install
Append testcd to the line of boot commands at the bottom of the boot screen that has the 30 seconds countdown on it.
Lilac_Haze - 17.10.2006, 15:28 Uhr
Titel: RE: Re: Grub error after install
Thanks, ockham23

I'll let you know what transpires
hey_ian - 17.10.2006, 15:28 Uhr
Titel: Re: RE: Re: Grub error after install
Lilac_Haze hat folgendes geschrieben::
Hi ockham23

1. Could be the bios as you said.
2. Have not moved anything since install as can't boot anything.
3. Will check CD now and come back to you.

Sorry, but where do I check out the CD from? Is this in Konsole again?

Thanks


If the GRUB error remains I recommend you to test LILO
Lilac_Haze - 17.10.2006, 15:39 Uhr
Titel: RE: Re: RE: Re: Grub error after install
Back again.

Grub says that testcd is not a recognised command and gives me an error 27

Any other ideas?
ockham23 - 17.10.2006, 16:08 Uhr
Titel: RE: Re: RE: Re: Grub error after install
Boot from LiveCD and change this line
Code:
ramdisk_size=100000 init=/etc/init lang=us-utf8 apm=power-off nomce quiet acpi=off nodma vga=791 splash
to
Code:
ramdisk_size=100000 init=/etc/init lang=us-utf8 apm=power-off nomce quiet acpi=off nodma vga=791 splash testcd

Lilac_Haze - 17.10.2006, 16:39 Uhr
Titel: Re: RE: Re: RE: Re: Grub error after install
Hi again,

I just went to

ockham23 hat folgendes geschrieben::
Boot from LiveCD and change this line
Code:
ramdisk_size=100000 init=/etc/init lang=us-utf8 apm=power-off nomce quiet acpi=off nodma vga=791 splash
to
Code:
ramdisk_size=100000 init=/etc/init lang=us-utf8 apm=power-off nomce quiet acpi=off nodma vga=791 splash testcd


but I dont have this on my cd. acpi is on and I cant find "vga=791" either.

Thank you for your patience Verlegen
ockham23 - 17.10.2006, 16:47 Uhr
Titel: RE: Re: RE: Re: RE: Re: Grub error after install
This is just an example where to append testcd. Take the line that you see when you boot off the LiveCD and add testcd to it.
Lilac_Haze - 17.10.2006, 17:09 Uhr
Titel: RE: Re: RE: Re: RE: Re: Grub error after install
Sorry about that, I don't try to be thick it just comes naturally.

Right have done that and CD checks out OK
Lilac_Haze - 20.10.2006, 16:14 Uhr
Titel: RE: Re: RE: Re: RE: Re: Grub error after install
Just thought you might like an update. I've tried doing another install an I still get the same "Error 21" message so I think it must be a bios problem. So I guess I'll just stick with the live disk for now as I'm hoping to upgrade my computer in a couple of weeks.

I would like to take this opportunity to thank you all for your help, though. I really appreciate it. Smilie
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007