LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices



Reply
 
Search this Thread
Old 02-19-2005, 12:19 PM   #1
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Rep: Reputation: 15
software raid 1 setup


hi,

i have to reboot the system with this kernel parameters:
"md=0,/dev/hdc1 root=/dev/md0" ...and i don know where to put them.

im setting a software raid 1 with two disks with mdadm
my system is on hda, and i just set array on hdc

now i have problems booting form hdc and add hda to raid array since
hdc in not a first disk

any suggestion?

bye
 
Old 02-19-2005, 12:36 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
You put them on the kernel command line in your bootloader (GRUB or LILO). You need to figure out which bootloader you are using, and edit /etc/grub.conf or /etc/lilo.conf as appropriate. In the section for your kernel, you should be able to put:

append="<your options>"

to add the options to the kernel command line. If you're using LILO, you also have to run /sbin/lilo -v before you reboot the system.
 
Old 02-19-2005, 01:30 PM   #3
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
im using LILO bootloader:

# LILO configuration file
boot = /dev/md0
raid-extra-boot = mbr
message = /boot/boot_message.txt
prompt
timeout = 1200
change-rules
reset

vga = 771
image = /boot/vmlinuz
root = /dev/md0
label = Linux
read-only

..then i used command: #lilo
and got this output:

Warning: LBA32 addressing assumed
Using BIOS device code 0x81 for RAID boot blocks
Reading boot sector from /dev/md0
Warning: /dev/md0 is not on the first disk
Fatal: map file must be on the boot RAID partition

....my computer is still booting from hda (root=/dev/hda1)

i also tried to put command append="md=0,/dev/hdc1 root=/dev/md0" on lilo prompt but not woorking
 
Old 02-19-2005, 02:46 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Hmmm ... do you have your /etc/raidtab file set up correctly? FYI this pahge has some example config files (you should read the rest of the guide too, if you haven't already).
 
  


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
Software RAID-5 Setup Help ryoojin83 Linux - Software 5 08-27-2005 05:50 PM
Software Raid Setup How To... Help globaltekit Linux - Software 2 06-05-2005 02:40 AM
setup software raid ust Linux - Distributions 1 05-04-2005 09:01 AM
Software RAID setup KevinGuy Linux - General 5 03-24-2004 02:40 PM
Software RAID Setup scottpioso Linux - Software 4 07-16-2003 04:56 PM


All times are GMT -5. The time now is 08:32 PM.

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