Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-22-2006, 04:56 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Grub Error 21 after Debian Install

I installed Debian onto a USB drive and grub quit on the main drive.

The error message is:

GRUB Loading stage1.5
GRUB loading, please wait...
Error 21

The disks partitions are:

hda1: Windows XP
hda2: Linux ext3, Debian Stable
hda5: Linux Swap
sda1: Linux ext3
sda2: Linux swap

It used to boot to hda using GRUB. After installing Debian on sda, I just get Error 21.

How can I get the computer to boot again?
Old 10-23-2006, 10:34 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,240
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Error 21 means Hard Disk not found..

So SDA is an external USB Hard Drive ? Maybe this how-to will shed some light on what you need to do to fix it. The How to is for Installing Ubuntu on a USB Hard drive. Ubuntu is basically Debain so the process should be the same.
Old 10-23-2006, 08:47 PM   #3
LQ Newbie
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Originally Posted by farslayer
So SDA is an external USB Hard Drive ? Maybe this how-to will shed some light on what you need to do to fix it.
Yes, SDA is an external USB drive.

I don't see how that HOWTO helps. The only GRUB reference to SDA is in where /dev/hda defines hd0 and /dev/sda defines hd1. I don't see a reference to hd1 in menu.lst.

Here is my menu.lst, without comments:
default 0

timeout 5

color cyan/blue white/blue

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.8-2-386

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.8-2-386

title Other operating systems:

title Microsoft Windows XP Home Edition
root (hd0,0)
chainloader +1

It all looks OK to me, but I still get an error.
Old 01-24-2007, 01:43 PM   #4
LQ Newbie
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0

hello, this is my first post, and I am from Argentina. I have a problem after installing the Debian Etch on a USB disc, Grub says: "Grub Error 21". I can't see the menu.lst and /boot doesn't even exist. Could somebody help me? Thanks


boot loader, grub, laptop, toshiba

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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Urgent: Installing debian etch on a new hdd but grub won't install (fatal error) MrInept Debian 4 09-14-2006 09:54 AM
grub error when installing debian Mathsniper Linux - Software 1 06-17-2006 07:21 AM
Debian Sarge - Grub Boot Error 16: arunkk Debian 3 05-16-2006 02:15 PM
grub 17 error post debian install teh_zero Linux - Newbie 1 11-16-2004 05:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration