LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 08-11-2009, 07:14 AM   #1
illnamiqui
LQ Newbie
 
Registered: Aug 2009
Posts: 1
Thanked: 0
Dual boot install - ubuntu studio 9.04 - GRUB error 21


[Log in to get rid of this advertisement]
Hi everyone,

I am new tu Linux and this is my first install.

I wanted to install Ubuntu Studio 9.04 in a Dell precision 670 Workstation. I have Windowx xp installed so I wanted to have both.

During the installation everything seemed fine, but when rebooted i get the error:
GRUB Loading stage1.5

GRUB Loading, please wait...
Error 21

I have 2 hard drives in a RAID array
CERC 2s#0-#0 ARRAY0

During the installation it asks if i want to activate Serial ATA Raid devices, i chose: yes

The partitions look like this:

/dev/sda1
/dev/sda2
/dev/sdc1
/dev/sdc2
/dev/sdc5 (root file system)
/dev/sdc6 (SWAP)

I have tried entering in rescue mode and reinstall GRUB boot loader
but then i don't know which option i should use
(hd0) - /dev/hda
(hd0,1) - /dev/hda2
(hd2,4) - /dev/sdc5
(fd0) - /dev/fd0

I have searched for the GRUB 21 error, and read about changing something in the bios or something like that but i have no idea what to do...
Can anyone guide me please?

Thanks for your time!
illnamiqui is offline  
Tag This Post , , , ,
Reply With Quote
Old 08-12-2009, 08:35 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Posts: 1,043
Thanked: 91
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:

sudo grub
root (hd2,4)
setup (hd0)
quit

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.
yancek is offline     Reply With Quote
Old 08-13-2009, 11:40 PM   #3
sysfce2
LQ Newbie
 
Registered: Jul 2009
Distribution: Slackware
Posts: 22
Thanked: 1
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).

Last edited by sysfce2; 08-13-2009 at 11:46 PM..
sysfce2 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Ubuntu studio 4.09 error 18 on grub boot? joey45 Ubuntu 4 05-16-2009 09:06 AM
Grub Error 17 on Install dual Boot Ubuntu 8.10 marvinjean Linux - Newbie 8 01-17-2009 12:08 PM
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 10 12-26-2008 10:57 PM
Ubuntu 8.03a3 New Install: GRUB Error 21 after new dual-HDD, dual-boot install tvdxer Ubuntu 1 01-29-2008 02:08 PM
Grub error 17 after XP-Ubuntu dual install Grrblt Linux - General 12 09-17-2007 06:00 PM


All times are GMT -5. The time now is 06:37 PM.

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