Debian :: Grub Error 21 After Installation
Feb 8, 2011After finishing installation of Debian to a USB drive with XP on disk0 , the system does not boot and reports the Grub error 21. I tried install for 2 times with same results.
View 1 RepliesAfter finishing installation of Debian to a USB drive with XP on disk0 , the system does not boot and reports the Grub error 21. I tried install for 2 times with same results.
View 1 RepliesAfter one year of squeeze use without problem (and without upgrade) on a laptop and I decided to upgrade everything today. During the upgrade, I was asked what partition grub should handle. There was 2 choices /dev/sda and /dev/sda1. I checked only the last one and this is I think the source of my problem.
Now restarting the system, grub fails and reports
Entering rescue mode... error: the symbol `grub_xputs` not found and leave a useless prompt grub rescue>
I don't have a rescue cd at hand right now. I have a usb key with some old version of eeebuntu (my laptop is not a eeepc) and surprisingly I can boot on it.
I recently did a single boot install of Lenny-xfce on a Compaq Armada laptop. There were no errors and grub indeed found that Lenny was the only OS on the hard drive and installed itself on the MBR. My problem is that I'm getting an error 18 when booting the freshly installed system from hard disk. I booted into rescue mode and started a shell to take a look around. There are files on the drive and /etc/grub exists. device.map shows dev(0,0) as being mapped to /dev/hda. A search on the forum for "grub error 18" came up with nothing.
View 2 Replies View RelatedI have a dual boot system with ubuntu 9.10 x64 and Windows 7. Everything has been working fine for a a long time but yesterday I tried to delete an unused partition through the Disk Utility in ubuntu (System->Adminstration->Disk Utility) and everything was messed up. I used to get the "Grub error: Unknown filesystem". I managed to create an ubuntu bootable usb and followed some tutorials for fixing grub but all i managed to do is to get another error: "Grub error: No such disc". After some experimentation i got
"Grub stage 1.5" which gave me a grub> command prompt./dev/sda is the drive containing Windows and Ubuntu.
Code:
[ Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
[code].....
I just installed debian from debian-live-8.2.0-amd64-standard+nonfree.iso and after installation, which finished without problems, I cannot boot the system. I get the error:
Code: Select allfile '/boot/grub/i386-pc/normal.mod not found
From grub-rescue via ls command I see that I don't have the i386-pc folder inside /boot/grub. I have only two files:
unicode.pf2 and grub.cfg
I cannot count how many times I have re-installed squeeze, and do all kinds of fixes to grub, but no joy. Every time, there is this ntoskrnl.exe error, and to re-install it. I thought my WIN XP may be corrupted, so I reinstalled it, and updated it with sp3 and all updates. Then I re-installed squeeze (reformatting all partitions). At the end, the installer ask if I want to install grub to mbr. I replied yes. After reboot, only the 2.6.32.3-amd64 and the recovery kernels show up on the grub screen, no winxp.OK, I booted into squeeze kernel and looked at the /boot/grub/grub.cfg file, and there winxp is not included in /etc/grub.d/30_os-prober section. In terminal, I typed
#os-propber and it found winxp in /dev/sda1
then I typed
#update-grub
and now /etc/grub.d/30_os-prober now show winxp.I rebooted, and winxp shows on the grub screen, and I chose winxp.It came back with "ntoskrnl.exe ...error... re-install ntoskrnl..."Here are the details:
fdisk -l
root@SHUM-AMD64:/home/shum# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
[code]....
I have been following this tutorial [URL]. When I get to the end of the installation and try to install GRUB to the /boot partition I have set up it throws a fatal error at me. No explanation other than it can't write to the specified location. I double checked all the partition settings which were the same as the tutorial then skipped the GRUB installation and finished. The only thing I can think of that might be wrong is that the 250MB partition size specified for /boot in the tutorial is too small.
View 2 Replies View RelatedI had Ubuntu installed, i installed Debian and there was no dual boot. So i formated all the hard disk to install only Debian. It installed but at boot i get error: no such device and the grub rescue> prompt. i googled for a solution and nothing worked:
- i tryed reinstalling grub, not worked
- i did the windows cd fixmbr trick, not worked
- reinstalled debian with fixmbr the first step and nothing
- tryed deleting with dd the mbr, not worked
- reinstalled grub from debian rescue, not worked
what should i do? i can't access my computer? please tell me how should i fix it? the google guys will kill me because i put their servers on fire
I installed lilo and it boots. How do I installed grub again. Do I just use synaptic manager to uninstall lilo and install grub?
[code]....
I know grub2 does not work, giving me error: ntoskrnl.exe missing or corrupt. I did install grub-legacy and it worked, but I had to re-install squeeze due to other problems. So, now I want to replace lilo with grub legacy.
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
I tried to install Open Office following a guide in OpenOffice.org but after several attempts debian refused to boot properly. I decided to re-install Debian 5.0. When we came to the installation of the boot loader GRUB refused to be installed. I stopped the installation expecting to go back to the beginning. But now it tries to boot saying:Grub loading stage 1.5.
Grub loading, please wait...
Error 15
This is an old Toshiba 3110 with Windows 98SE installed which I have successfully customized and do not want to loose. What can I do to get back into W98SE and then re-install Debian properly?
I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:
[Code]....
I am trying to install debian 6.0.1a in an old COMPAQ 1255 (amd-k6, 160 MB ram, 4.3 Gbyte AT33.33 MB/s Cyl 6568 Heads 6 bytes per sector 512 HardDisk). I am using the netinstall CD_ROM , I just want the base system (the last option in the list you are presented) I got installed debian 5.0.8 , base package plus fluxbox plus a light browser plus a light pdfviewer, and I got really surprised what an useful system I got from such and old hardware.
With 6.0.1a everything goes well during the install process, the net is recognized, also the disk, formatting an partitions are created, apt-get configured, repositories contacted, etc. I only select base system (may be I am confused with the name, it is the last option in the list), and I select the install using the whole hard disk (i also tryed the install using a separated home partition but I had the same problem). I am installing the system in spanish, using latinamerican keyboard layout.
the installer then asks to take away the CD-ROM, I do, I reboot and then I got "GRUB Read Error Operating System not found". Just before the message, the machine search the floppy. If I press a key, I got the same behaviour, noise in the floppy, error message.
I can boot the CD_ROM in rescue mode, and I can select /dev/hda1 and get a console. i can do ls and cd and navigate the tree. It looks like everything is there, the /etc, the /home, all of the directories. if I do fdisk /dev/hda i got a warning because dos compatible mode is deprecated with option p of fdisk i got:
15 heads, 63 sectors/track 8944 cylinders. (different of the specifications?)
device boot Id system
/dev/hda1 * 83 Linux
[code].....
i can do less grub.cfg, and I got lot of information. I think this part could be relevant to the problem
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid
I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.
View 3 Replies View RelatedI'm trying to install Fedora for the first time on my Desktop. Unfortunately, upon restart once the installation is complete I get the following error:
Code:
This is from Fedora 12 x86_64 DVD. I presume that this obviously has to do with my disk selection during partitioning, during which I deselcted the two drives that I didn't want to be part of the install and left the one that I did selected. I also selected "use entire disk". The drive had copies of both Ubuntu and Windows 7 on it, which I expect were wiped out during install.
I know that the details are sparse...but that's all I did. I'm happy to go back into the installer to retreive any necessary information that may be needed/to reinstall.
I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.
Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.
Today I got an error saying GRub Loading Stage2 read error.
I installed squeeze with 2 drives, one for squeeze (2.6.32-3-amd64 using 120GB hdd), and one for my old winxp. I used LVM with ext4 on /root, /home, and ext2 for /boot. The install gave me grub 1.98.
When booted, screen says
Loading Grub
Welcome to Grub
I installed GRUB 2 for someone, and I made a mistake, and did not specify the right place (/dev/sda3 for me) when it asked. Now I can't do anything. I can't boot GRUB, can't do nothing.
View 1 Replies View RelatedHow do I fix this error
Error: fd0 read error
Debian squeeze install, two hard drives, one partition on each which make up a software raid1.
I installed Debian squeeze amd64 (using LVM with ext4 for /, /home, and ext2 for /boot). This is on a whole hdd on its own. Before I installed it, I have win7 on it. There is also another hdd with winxp. The dual boot loader is in the hdd. After I installed Debian, grub 1.98 was installed. After reboot, grub says "welcome", and after 10 seconds, it says "error: no such disk". It went on to display the menu with a choice of my debian and MS windows.
There does not seem to be any effect of this "error:no such disk". However, after I chose Debian to boot, gnome comes on, and I typed in the username and password. The screen goes blank for about 30 seconds before my desk top comes on.
I have 2 questions:
1. How do I fix my grub "error:no such disk" message?
2. Is there something wrong with a 30 seconds delay for the desktop to show after typing username and password, and if so, what can be done?
I recently pulled out my old computer and decided I would install linux on it so I could get online. The specs aren't the greatest (Pentium II processor, 94 MB RAM, and an 8 GB HDD). I chose AntiX 8.0 as my OS. Anyways, I got through the installation just fine, but when it said "Try rebooting your computer without the CD"...So I did, and what happened? I got that error. I've tried rebooting with different Live CDs to no avail. Is there anything I can do to get back up and running?
View 4 Replies View RelatedI just (for the first time ever) installed a version of Ubuntu. It is 10.04. I installed off of the Live Disk. I was having a great time until the first time I went to boot into it and I got the message
"Error: No such device: "long number" Grub Rescue> "
[Code]...
Ive installed about 50+ boxes with ubuntu/mint/fedora/etc but f15 is giving me a real headache...
I tried a fresh install over f14 with this drive (sdb, sda is my backup disk)
Installed obviously in part7
After rebooting (successful copied live image on hdd)
Code:
After another couple of installs (with lvm & w/o lvm) & even disconnecting the second harddrive -> same issue
Typing 'ls' in the rescue grub prompt returns
Code:
Cant 'ls /' into a single them - unknown filesystem (grub is installed in mbr of sdb) 'linux rescue' (wanted to try manual grub installation) command didnt work either.
Now again on fedora 14, same installation procedure, works fine. (and i wont bother doing a full distro upgrade from f14)
i got a dual-boot. both are debian. yesterday i upgraded one of them to debian-squeeze and to grub2.that installations boots just fine.but for the second i get the error message from the thread title:"render error detected"after the grub-menu.if i choose single user mode it boots and hangs waiting for the root file system.i found this results at google (which i am not allowed to post yet) but i don't understand them.
View 8 Replies View RelatedI used proprietary software (acronis trueimage) to clone an Opensuse 11.1 machine, onto another machine with somewhat distinct hardware (different motherboard, less memory). I expected to have to change entries in /boot/grub/menu.lst, /etc/fstab, etc. I was told a good way to do this was to use the Opensuse DVD's "repair installed system" feature.
When I ran the repair, I was informed that "bootloader configuration file contains errors". I attempted to re-install the bootloader, but received this unhelpful error: "An error occurred during boot loader installation. Retry boot loader configuration?". When I boot the system, I just see the text "GRUB ", followed by a flashing underscore character.
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
A few days ago I booted up my computer as normal and loaded vista. It loaded fine, but then froze at the login window. I restarted my computer but this time when I tried to load vista I got the "Error 13" message. Ubuntu still loads up fine however.
I'm fairly certain that I'm using Grub - Legacy, and since most posts that I see post the contents of the menu.lst file, I will too Code: # menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
code....
I have downloaded NETINSTALL disk from debian.org burned it and during installation it says that error and inst will not continued. This disk havent error replace disks and reburned them. On this computer debian 6 has been installed two weeks ago. "Running post-installation trigger fontconfig" on this stage i have fail.
View 6 Replies View RelatedI have a dual boot computer. I seem to be having a bit of a problem with Grub lately. Every time I do any kind of update in Debian Lenny AMD 64 it borks my Grub. The first time I had to change a few lines in menu.lst (hd1,1 to hd0,1), no problem. The second time, things went downhill fast and G-Parted was giving me errors on my NTFS partitions. I had to do an XP repair, fixboot, and I had to reinstall Grub completely to the MBR.
Now, I having a "Grub Loading stage1.5. Grub loading, please wait.... Error 22". All I did was update Debian Linux and shut down. From my initial searches this is an error relating to not finding the correct partition. I have booted with a G-Part CD and it shows all my partitions. I do have a Windows XP Home boot cd if I need it. Here is my partition outline if you need it:
/dev/sda1 NTFS (Windows) flags--boot
/dev/sda2 Ext3 (Linux)
/dev/sda3 FAT32 (shared space between Windows and Linux)
/dev/sda4 extended
/dev/sda5 linux-swap
I'm running Debian testing and after a recent software update, suddenly I can no longer boot into my single Linux kernel image anymore. I did look at the software update before I did it and I don't believe that it removed any software packages. When I try to boot into my linux 2.6.26-1-amd64 image, I get the following message from grub:"error: unknown command `initrd'"..The same error appears if I try to boot into single-user mode. I have a Windows XP partition on the same hard disk and I am still able to boot into that from grub. I've searched the net and haven't really found my same problem replicated anywhere. I would imagine that the problem is just that somehow the initrd package got removed in my last software update, but again I don't recall seeing any software that the update planned to remove.
Any thoughts on how I would go about fixing this problem? Since I'm unable to get into Linux at all, I imagine I'll have to use a LiveCD to get in and fix the problem, but I don't know where to begin looking.