Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Grub Error 21: Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.
If your root filesystem for UBuntu is indeed on sdc5, issuing the following commands from a command line from your Ubuntu Installation CD:
What happened to sdb? Did you have another dirve attached during the install? The error above indicates Grub is looking for its boot files on a disk no longer attached, or at least not correctly named in menu.lst file. I don't use RAID so I don't know what impact that might have.
How bad do you want to keep your RAID array?
I believe it is possible to install on a RAID array, but it is much more difficult.
I tried for a couple of days and couldn't get it to work (keep in mind I am a Linux newbie), so I destroyed the RAID array and reinstalled Windows and Linux on separate hard drives. It was relatively easy at that point.
EDIT: Installing Linux on RAID is one thing - no problem. Using the RAID drive to boot from is where I ran into problems - a possible solution is to use a non-RAID device to boot (or maybe the windows boot manager).
Similar Problem - Grub Error 21 on a SiI RAID Setup
This thread looked the most relevant to my situation.
I am trying to install Ubuntu Feisty Fawn onto my old A7N8X motherboard PC when Windows XP packed up for good. I've basically no idea what I'm doing, but the install seemed to go ok until I tried to restart and got the dread "Grub error 21".
I suspect it's something to do with the fact that I've two 500 gB disks in a striped Silicon Image RAID from the preceding thread, but I'm guessing really.
I can't undo the RAID as when I boot up and do F4 into the RAID setup, the keyboard will not respond - no, not even with a PS/2 keyboard which I've tried.
fdisk -l gives this list if that helps:
Device Boot Start End Blocks Id System
/dev/sda1 1 8585 68958981 83 Linux
/dev/sdb1 1 30256 243031288+ 82 Linux swap / Solaris
/dev/sdb2 * 30257 60329 241561372+ 83 Linux
/dev/sdb3 60330 60801 3791340 5 Extended
/dev/sdb5 60330 60801 3791308+ 82 Linux swap / Solaris
I don't know anything about RAID so I don't know what impact that has if any. You said you had two 500GB drives yet your fdisk output only shows one drive and that is sdb which generally means the second drive. When you install Ubuntu, the partition manager which usually says Allocate Drive Space, has a Device for Bootloader installation and there is a drop down box. You can select either drive you have to install to its master boot record or you can select a partition. If Ubuntu is all you have, you would want grub in the master boot record of whichever drive is set to first boot priority in the BIOS.
Are both your drives recognized in the BIOS?
I don't know which number version Feisty Fawn is but if it is earlier than 9.10, it would have Grub Legacy, later would be Grub2.
You could go to the site below and download and run the bootinfoscript to gather detailed information on your system and boot files and post it here: