LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-12-2004, 10:17 PM   #1
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
request for GRUB with RAID devices only info


Hi

for general info on raid try here
http://wiki.linuxquestions.org/wiki/..._Hardware_RAID

for a good intro to partitioning and raid try here
http://www.linuxhomenetworking.com/linux-adv/raid.htm

another basic way with lots of good grub references
http://www.linuxsa.org.au/mailing-li...3-07/1270.html



I don't intend to use raid as I use partimage. But I would like to update my grub howto for those seeking help with their menu.lst.

I would like to know
1) your ide setup as primary or slave controller 1 to 4 etc
2) your sata has separtate controllers so
3) are you hardware (bios) or software raided?
4) either your working or non-working /etc/fstab
5) either your working or non-working menu.lst (/etc/grub.conf) file
6) either your working or non-working /boot/grub/device.map file

This may help others and with luck will grow over time with working and non-working solutions? I will start the ball rolling

some posts for IDEs have /etc/fstab entries /dev/hde and hdf or hdg
This I assume means
hde set as master
hdf set as slave on (first controller)

hdg set as master (second controller)
hdh set as slave.

In theory hde with hdf should still be (hd0) and (hd1) in grub speak.

spot the errors and hopefully build up the knowledge?

when we have some working examples I will edit my grub file howto and post the link

Last edited by aus9; 10-08-2005 at 03:24 AM.
 
Old 10-13-2004, 11:53 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
mandrakeuser.org user anon says in bios select RAID to auto detect ATA if probs
http://mandrakeusers.org/index.php?s...rub++raid++dev
 
Old 10-13-2004, 12:03 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
Great link on sata but not on lilo or grub
http://www.linuxmafia.com/faq/Hardware/sata.html
 
Old 10-13-2004, 12:07 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
http://mandrakeusers.org/index.php?showtopic=12720&hl=
user benno mentions kernel appends in grub of either
acpi=off or noapic or nolapic
 
Old 10-13-2004, 12:18 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
a gentoo user has success with grub and raid 1 and puts grub into both drive mbrs
http://forums.gentoo.org/viewtopic.p...ight=grub+raid
 
Old 10-13-2004, 12:20 PM   #6
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
another gentoo user finds the issue is a kernel re-compile.....groan
http://forums.gentoo.org/viewtopic.p...ight=grub+raid
 
Old 10-18-2004, 09:21 AM   #7
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
Bearing in mind that the above Gentoo user has success with grub and raid heres some bad news for those using Medley Raid..... Medley is a BIOS-assisted software RAID
http://www.infowares.com/linux/
 
Old 11-01-2004, 09:07 PM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
Apparently HARDWARE raid that need no software are seen as ONE drive by the bios.

This means if you have eg 2 sata as hardware raid and one scsi, and bios boot order is sata then scsi then scsi is (hd1) and not as I would have originally thought as (hd2)
 
Old 10-04-2005, 11:31 PM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
http://gentoo-wiki.com/HOWTO_Install...D_using_dmraid

howto by LQ user jakertberry
 
Old 10-05-2005, 04:07 PM   #11
reg_the_geza
LQ Newbie
 
Registered: Sep 2005
Posts: 15

Rep: Reputation: 0
if i install it an a pata ide hard drive, can i then find the correct drivers then migrate the whole OS onto the sata hard drive
 
Old 10-06-2005, 04:01 AM   #12
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
thankyou for your question but I do not use raid as per my top post.

try going to hardware and doing a post there if you have hardware raid or going to your distro and trying there?
 
Old 10-06-2005, 11:44 PM   #13
Deltabweb
LQ Newbie
 
Registered: Jul 2005
Distribution: Suse 10.0 x86_64
Posts: 21

Rep: Reputation: 15
I got my config working with Raid 0 (Using an nforce 4 chipset so it is software with bios authentification raid)
This is the howto I used with some modifications to adapt it to Suse, my config and without boot partition as I didn't want to do one :
http://gentoo-wiki.com/HOWTO_Gentoo_...(Onboard)_RAID

My working fstab
Code:
/dev/mapper/nvidia_gdfbdadc3            /                    ext3       acl,user_xattr        1 1
/dev/sdb6            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/dvd             /media/dvd           subfs      noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrecorder      /media/cdrecorder    subfs      noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/mapper/nvidia_gdfbdadc6 /mnt/Data vfat rw,user 0 0
My working menu.lst (failsafe isn't setted up correctly)
Code:
# Modified by YaST2. Last modification on lun oct  3 08:55:51 TAHT 2005

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
    root (hd0,2)
    kernel /boot/vmlinuz root=/dev/ram0 init=/linuxrc real_root=/dev/mapper/nvidia_gdfbdadc3 vga=0x317 selinux=0 splash=silent
    initrd /boot/initrdraid

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
    root (hd0,2)
    kernel /boot/vmlinuz root=/dev/hda2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 edd=off 3
    initrd /boot/initrd
(I use a patch you can have with the Tutorial I gave, and had to force the major and minor numbers of the linuxrc. Also recompile the kernel with nv sata driver and device mapper module as statically)

My working device.map : (looks weird as it has nothing specific with raid 0, i needed to force the number of sectors and other stuff to get it work without using a boot partition)
Code:
(hd2)	/dev/sda
(hd3)	/dev/sdc
(hd1)	/dev/sdb
(hd0)	/dev/hda

Good luck helping other people !
Cordially,
Delta

Last edited by Deltabweb; 10-09-2005 at 12:40 AM.
 
Old 10-07-2005, 06:30 AM   #14
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
Deltabweb
thankyou for your link and fstab info

I don't use raid but can you explain why you are not trying a root=/dev/ram No in failsafe menu?

Last edited by aus9; 10-08-2005 at 03:07 AM.
 
Old 10-07-2005, 06:34 AM   #15
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Original Poster
Rep: Reputation: Disabled
here is a software gentoo howto
http://gentoo-wiki.com/HOWTO_Gentoo_..._Software_RAID



Last edited by aus9; 10-10-2005 at 05:04 AM.
 
  


Reply


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
request info on burning floppies to cdr aus9 Linux - Newbie 9 11-11-2005 09:52 PM
Kaffeine Broadcasting info request Falsehope Mandriva 0 10-02-2005 02:07 AM
request for VL specific security info aus9 VectorLinux 1 12-11-2003 06:43 PM
request info best board freeBSD / openBSD aus9 *BSD 5 10-06-2003 04:38 AM
Boot Error Info. Request question. rvijay Linux - Newbie 1 09-30-2003 12:45 AM


All times are GMT -5. The time now is 09:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration