Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 07-27-2004, 06:11 PM   #1
LQ Newbie
Registered: Jul 2004
Distribution: debian
Posts: 28
Blog Entries: 5

Rep: Reputation: 2
boot from software raid0 with debian

I have:

kernel 2.6
/dev/hda7 and /dev/hdc7 as /dev/md0 (raid 0) for /
/dev/hda1 for /boot

How can I configure grub that it loads the kernel from /dev/hda1 and boot the system from /dev/md0?
Or is this impossible?
I found lots of how-tos that work for raid 1, because /dev/md0 is available for grub as (hd?,?), but with raid 0, /dev/md0 isnīt available for grub.

thanks for help
Old 07-28-2004, 01:22 PM   #2
Registered: May 2004
Posts: 32

Rep: Reputation: 15
root (hd0,0)
kernel (hd0,0)/<kernel-image> root=/dev/md0
initrd (hd0,0)/<initrd-image>     <--- only use this line if you are using initrd (default kernels do)
Replace the stuff in <> with the actual filenames.

I'm telling you this without hardware to test it on but it should work.
Old 07-30-2004, 04:06 AM   #3
LQ Newbie
Registered: Jul 2004
Distribution: debian
Posts: 28

Original Poster
Blog Entries: 5

Rep: Reputation: 2
Sorry for answering that late, but it took me some time to get it working.
I had to disable the initrd (and compile a new kernel with the drivers in it) to let it boot correctly - I donīt know why, but now it works.
Thank you for your help with grub!


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
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 02:36 AM
Software RAID0 + Slack9.1 Aphex Slackware 0 11-02-2003 03:14 AM
Trouble with HD and software raid0 RC_ Linux - Hardware 0 08-07-2003 01:28 AM
Software RAID0 mess up, help! Devoras Linux - General 1 01-02-2003 12:20 AM
software RAID0 errors. repair utility? ziidle Linux - General 0 09-29-2002 11:59 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:29 PM.

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