SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I have a new computer with 3 disks connected in a raid-0 system with two arrays. I create the arrays using Intel (Intel Rapid Storage Technology) utility, press crtl+I during boot.
I install windows without a problem, is running just fine.
I install Slackware64 -current in a device named /dev/md126p5 and it went well.
My problem was with installing Lilo. It gave me a raid fatal error.
Thanks for the reply, but the main idea for my system is to have a greater performance.
Create a array raid1 was not in my idea.
I have search for information about raid and Linux, can some share experience.
For instance I think that my raid system is a firmware raid.
But there exists software raid and hardware raid.
In Intel page its said to use the intel program at boot to create the arrays and Linux using mdadm will support the arrays.
Like I said, you need a little (1-4GB) RAID1 partition, mounted on /boot, and LILO installed on this partition, to be able to successfully boot your RAID0/RAID10/RAID5 partition and operating system.
As final note, LILO and GRUB can boot ONLY from a RAID1 partition.
Last edited by Darth Vader; 01-31-2011 at 11:29 AM.
You'll need am mdadm version 3.x.x for this support.
Software raid works very well and from my experience actually works better than BIOS level (Not pure hardware) RAID.
BIOS level raid is probably the best option if you need to share data between your Linux and Windows partitions.
Yes. LILO don't known how to assemble the raid devices from fake RAID or software RAID. LILO is not a kernel with device drivers, only a bootloader and work in REAL MODE, like old good MS-DOS.
The RAID1 is a special case, because every partition used is a identical copy. Really, LILO see only the /dev/sda1 or /dev/sdb1, depending which device is booted.
2. Here can I find information about lilo and raid?
How about README_RAID.TXT from Slackware installation kit?
3. And the other question is best software Raid or bios fake Raid?
Technically, the Linux software RAID always get best performances than the BIOS fake RAIDs. And it is more versatile. Of course, the best results have the Hardware RAID, with dedicated raid cards.
Here you have my /etc/lilo.conf, used to boot a partitionable RAID0 array, using a RAID1 partition for /boot.
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# Append any additional kernel parameters:
append="console=tty1 vt.default_utf8=1 video=1280x1024-24@60.0"
boot = /dev/md0
map = /boot/boot.map
raid-extra-boot = mbr
# default = Linux-generic
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
#bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
#bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
#bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
#bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1280x1024x64k
vga=794
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.37-bigmem64
root = /dev/md1p1
label = LX2.6.37-BM64
initrd = /boot/initrd-2.6.37-bigmem64.gz
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.36.3-bigmem64
root = /dev/md1p1
label = LX2.6.36.3-BM64
initrd = /boot/initrd-2.6.36.3-bigmem64.gz
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.35.10-smp
root = /dev/md1p1
label = Linux-generic
initrd = /boot/initrd-2.6.35.10-smp.gz
read-only
# Linux bootable partition config ends
In my setup using Software RAID, /dev/md0 is the RAID1 array, using the 0.90 metadata version, and /dev/md1 is the partitionable RAID0 array, using 1.2 metadata version. Of course, /dev/md1p1 is 1st partition from the partitionable array.
Also, I use an initrd to assemble the RAID arrays, before the real system boot.
Grub, unlike LILO, can use a RAID0 array to boot, you'll need an initrd to setup the array though. In fact, I have Slackware 13.1 dual booting with WinXP off of such an array.
Yes. LILO don't known how to assemble the raid devices from fake RAID or software RAID. LILO is not a kernel with device drivers, only a bootloader and work in REAL MODE, like old good MS-DOS.
The RAID1 is a special case, because every partition used is a identical copy. Really, LILO see only the /dev/sda1 or /dev/sdb1, depending which device is booted.
2. Here can I find information about lilo and raid?
How about README_RAID.TXT from Slackware installation kit?
3. And the other question is best software Raid or bios fake Raid?
Technically, the Linux software RAID always get best performances than the BIOS fake RAIDs. And it is more versatile. Of course, the best results have the Hardware RAID, with dedicated raid cards.
Here you have my /etc/lilo.conf, used to boot a partitionable RAID0 array, using a RAID1 partition for /boot.
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# Append any additional kernel parameters:
append="console=tty1 vt.default_utf8=1 video=1280x1024-24@60.0"
boot = /dev/md0
map = /boot/boot.map
raid-extra-boot = mbr
# default = Linux-generic
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
#bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
#bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
#bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
#bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1280x1024x64k
vga=794
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.37-bigmem64
root = /dev/md1p1
label = LX2.6.37-BM64
initrd = /boot/initrd-2.6.37-bigmem64.gz
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.36.3-bigmem64
root = /dev/md1p1
label = LX2.6.36.3-BM64
initrd = /boot/initrd-2.6.36.3-bigmem64.gz
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.35.10-smp
root = /dev/md1p1
label = Linux-generic
initrd = /boot/initrd-2.6.35.10-smp.gz
read-only
# Linux bootable partition config ends
In my setup using Software RAID, /dev/md0 is the RAID1 array, using the 0.90 metadata version, and /dev/md1 is the partitionable RAID0 array, using 1.2 metadata version. Of course, /dev/md1p1 is 1st partition from the partitionable array.
Also, I use an initrd to assemble the RAID arrays, before the real system boot.
Like I'm using fake raid, do I need a initrd special?
And another question. I have 3 disk. One array and two volumes with Raid0.
Can I make another volume with raid1 with the same disks?
Grub, unlike LILO, can use a RAID0 array to boot, you'll need an initrd to setup the array though. In fact, I have Slackware 13.1 dual booting with WinXP off of such an array.
Can you confirm that this tutorial is close to what you have?
Close enough, but I'm running Slackware so the procedure to set it up is different, and I had Windows installed first. Once it's setup, it's relatively easy to change distro. I had Slackware 12.1 when I set it up, tried OpenSUSE 11.3 and now am on Slackware 13.1; I didn't have to repartition, or reinstall Windows...
Last edited by mostlyharmless; 02-02-2011 at 08:18 AM.
Reason: More info
Close enough, but I'm running Slackware so the procedure to set it up is different, and I had Windows installed first. Once it's setup, it's relatively easy to change distro. I had Slackware 12.1 when I set it up, tried OpenSUSE 11.3 and now am on Slackware 13.1; I didn't have to repartition, or reinstall Windows...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.