LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-24-2009, 02:27 PM   #1
santana
Member
 
Registered: Sep 2004
Distribution: FC, ubuntu, OpenSuse
Posts: 112

Rep: Reputation: 16
fake raid doesn't boot on its own, grub??


Hi,
setting up my fake raid and installing ubuntu, on an intel mobo that has "matrix raid" support.

Issue, I get a bios error that "no bootable devices were found". I do have the raid selected in the bios, and before I did this XP was installed and running on the raid.

After the error, I went to boot from the ubuntu CD, and the option "boot from fist hard disk" actually works, grub loads and then ubuntu as normal, off from the raid.

Hopefully, you can help me figure out how to fixup so that the bios finds grub without the live cd?

Here is more info:

Code:
burlen@lian:~$ sudo fdisk -l /dev/mapper/isw_bhahffdbbc_raid

Disk /dev/mapper/isw_bhahffdbbc_raid: 1500.3 GB, 1500315648000 bytes
255 heads, 63 sectors/track, 182402 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1f111f10

                          Device Boot      Start         End      Blocks   Id  System
/dev/mapper/isw_bhahffdbbc_raid1   *           1       31871   256003776    7  HPFS/NTFS
/dev/mapper/isw_bhahffdbbc_raid2           31872       35761    31246425   82  Linux swap / Solaris
/dev/mapper/isw_bhahffdbbc_raid3   *       35762      182402  1177893832+  83  Linux
and


Code:
title           Ubuntu 9.04, kernel 2.6.28-11-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/isw_bhahffdbbc_raid3 ro quiet splash
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/isw_bhahffdbbc_raid3 ro  single
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, memtest86+
root            (hd0,2)
kernel          /boot/memtest86+.bin

title           Windows-XP-Pro
rootnoverify    (hd0,2)
makeactive
chainloader + 1
 
Old 06-24-2009, 02:36 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You need to make sure that "dmraid" is run in your initrd. I don't think that the generic initrd.img includes that, necessarily. Make sure you follow the directions here:
https://help.ubuntu.com/community/FakeRaidHowto
See in particular item 10.
 
Old 06-24-2009, 02:56 PM   #3
santana
Member
 
Registered: Sep 2004
Distribution: FC, ubuntu, OpenSuse
Posts: 112

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by mostlyharmless View Post
You need to make sure that "dmraid" is run in your initrd.
My only question in regard to your solution is why is the grub menu not coming up? If as you say I botched step 10 (entirely possible BTW) why am I getting a bios error not a grub or kernel error?

If the problem was as you say wouldn't I at least get a grub prompt? I should be able to boot XP?

Thanks, for helping me understand! I'll redo step 10, and see if that doesn't fix.

Last edited by santana; 06-24-2009 at 03:02 PM.
 
Old 06-24-2009, 04:08 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Have you tried, in the RAID BIOS, making only the Linux partition bootable? You also need to set the PC BIOS to actually boot from the array.
 
Old 06-24-2009, 05:06 PM   #5
santana
Member
 
Registered: Sep 2004
Distribution: FC, ubuntu, OpenSuse
Posts: 112

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
Have you tried, in the RAID BIOS, making only the Linux partition bootable? You also need to set the PC BIOS to actually boot from the array.
Thanks man, before I did the ubuntu install I was booting XP on the raid, and have the bios configured as per intel docs. I am confident on that end.

I'm pretty much convinced it's an issue with how I installed grub, which I did by the howto link above.

I rarely have had to deal with grub, and never on a fake raid. Just worried that I will hose things beyond repair, the last thing I want to do is waste time installing XP again!
 
Old 06-24-2009, 06:32 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I was looking over your information again. I guess I missed that it was specifically a *bios* error message, so you are right, grub must not be configured right.

I'm a little unclear about what level raid you've implemented and how many disks you have. That might be relevent.

You could try booting the CD again, boot into the live system and reinstall grub using the directions starting at (l.) Don't copy grub back on again, just use the grub on the CD to install onto the raid array using the files it finds on the raid array. Don't upgrade-grub or remake menu.lst. Sometimes the drive mapping isn't right when you're running grub from the installed system.
 
  


Reply



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
mount existing ntfs SATA RAID 0 on RHEL4 VIA fake RAID tmoble Linux - Hardware 10 11-13-2009 07:49 PM
Recover data from RAID 0 (fake RAID) from Win XP KiAnKo Linux - Hardware 4 04-23-2009 12:28 PM
How to install Fedora 7/soft RAID-1 on a MB with built-in HW(fake) RAID-1? bozhulich Fedora - Installation 3 08-15-2007 08:04 AM
Unique Grub Issues (RAID 1 --fake-- involved) TruANTOlogy Ubuntu 1 07-05-2006 03:30 PM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration