LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-03-2006, 11:47 AM   #1
Rexxars
LQ Newbie
 
Registered: Dec 2005
Location: Kristiansand, Norway
Posts: 6

Rep: Reputation: 0
Question Slackware 10.2 boot from SATA RAID1?


Hi there, first post, hope this is not too dumb a question.

I'm new to RAID and Linux, but I want to learn. Been wanting to set up a fileserver for a while, and I decided to try to set it up using Slackware 10.2.

I want to have a RAID1 setup for my most important files, along with the OS (which I hope is possible). Already made a RAID1 array of two equally big Seagate SATA disks, and booted the Slackware installation using sata.i - it installs fine, but when I get to setting up LILO, I seem to have messed up.

Is it even possible to install and boot an OS on a RAID1 setup? I tried to have Slackware set it all up for me, which resulted in a L 09 09 09 error when I rebooted. Not sure wether I should set it up on the MBR or on disk either, concidering it's a RAID setup and all. Tried to find some info on this on the net, but most of the information I find seem to be about software-RAID, or how to set up LILO properly on already running Linux distributions. This doesn't help a lot when I can't edit lilo.conf

I guess my real questions on this subject are:
Can I boot Linux from a RAID1 setup?
How do I set up LILO to boot from said RAID1 setup?
How would you have set up the partitions (seperate partition for /boot?)

Any help with this would be well appreciated. Thanks in advance!
 
Old 01-04-2006, 03:18 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010

Rep: Reputation: 45
Can I boot Linux from a RAID1 setup? yes
How do I set up LILO to boot from said RAID1 setup? either
How would you have set up the partitions (seperate partition for /boot?) no

when you were asked what kernel you wanted to install on the system, are you sure you chose the sata.i ?

also we will want to check the /etc/lilo.conf file to make sure the correct device information is in there
 
Old 01-06-2006, 11:04 AM   #3
Rexxars
LQ Newbie
 
Registered: Dec 2005
Location: Kristiansand, Norway
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the answer.

Yes, I'm very sure I installed sata.i. The slackware setup seems to choose whichever kernel you picked when you booted from CD. And I've tried to install it several times, only to have the same result thrown at me every time.

I actually tried to install Ubuntu today (hoping it would setup lilo for me correctly so I could rip its configuration), but it seems that Ubuntu use GRUB, not to mention that after installing, it rebooted and just stopped while displaying "GRUB" on screen.

I'm not sure what I'm doing wrong. Ubuntu didn't even let me configure anything (thats actually why I tried to use it, hoping it would "do the right thing", so I couldn't have messed up any settings related to the installation either.

Here's how my fdisk -l shows my setup:

Code:
Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device    Boot  Start  End       Blocks    Id  System
/dev/sda1 *     1      1206     9767488+   83  Linux
/dev/sda2       1217  20023   151067227+   5   Extended
/dev/sda5       1217   1341     1004031    82  Linux swap
/dev/sda6       1342   6204    39062016    83  Linux
/dev/sda7       6205   7420     9767488+   83  Linux
/dev/sda8       7421  20023   101233566    83  Linux

Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table
Hmm, does this mean that my mirroring isen't set up correctly?
Shouldn't partitioning sda also partition sdb in the same way?

I tried to partition sdb the same way as sda, didn't make any difference.

The lilo.conf that liloconfig produce is:
Code:
boot = /dev/sda
prompt
timeout = 50
vga = normal
image = /boot/vmlinuz
  root = /dev/sda1
  label = slackware
  read-only
Am I supposed to use sata.i? or raid.i?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Slackware 9.1 from VIA VT8237 SATA RAID1 array thefiddler Slackware 3 06-20-2009 08:06 AM
FC3 with SATA RAID1 09kevin77 Linux - Hardware 1 09-26-2005 10:16 AM
raid1 on mandrake 10 with 2x SATA drives karelvdm Linux - Hardware 0 09-08-2004 04:56 AM
raid1 on mandrake 10 with 2x SATA drives karelvdm Mandriva 0 09-07-2004 08:27 AM
A Hardware Sata RAID1 on Linux szeroki3xl Linux - Hardware 2 06-28-2004 10:32 PM


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

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration