13.37 64bit Raid 5 (3x2To) new installation initrd boot failed
1 Attachment(s)
I'm trying to setup a new raid NAS with 3x2To following README_RAID.TXT generic kernel with initrd crash and computer freeze, i'm trying to google different message but i'm stuck need help please.
|
here is more detail what i've done:
partition created with cfdisk: Code:
/boot sd[abc]1 md3 100m (bootable) Code:
sfdisk -d /dev/sda | sfdisk /dev/sdb Code:
mdadm --stop /dev/md[0123] (else i can't use mdadm --create) Code:
- When asked about additional "append=" parameters, RAID 0 and Code:
Start by switching into your actual installation directory: Code:
Typically, a user switches to a generic kernel by booting the system, and i have followed the README_RAID.TXT to build the same computer in RAID 1 with two drive of 2To and everything went fine. I'm searching google as much as i can and don't find any solution, can anyone tell me what I have missed? Thanks in advance. |
Can you post the exact contents of your lilo.conf file?
As for the word "indent", that means "put some amount of whitespace at the front of the line of text." I know that some computer languages (Python is famous for this) use the amount of indentation to indicate blocks of code. For example, in Python this bit of code... Code:
for x in range(chunks): Code:
for x in range(chunks): I suspect lilo works the same way, judging from the comment you posted (I use grub, myself). |
Hello,
thanks for your answer, i'm not at home, i'll post my lilo.conf tonight, i haven't put any whitespace in front of the line. I started a fresh install again yesterday. regards. |
From the screen shot, you got the terminating error because the root device wasn't mounted - as indicated in teh previosu warning line that mount could not find the entry in /etc/fstab so you might start there.
|
i've started a fresh install yesterday with 3 partition instead of 4 with no bootable, i've read somewhere that when lilo is in MBR it doesn't need the boot flag, i end up with the same screenshot error
my lilo.conf: Code:
# LILO configuration file Code:
MODULE_LIST="ext3" Code:
Edit /etc/lilo.conf, and find the line at the very end that says: Code:
/dev/md1 swap swap defaults 0 0 Code:
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] |
1 Attachment(s)
Hello NyteOwl, thx for the idea, i have attached my fstab and an updated version of the screenshot error with 3 partition. Is it normal that my /etc/mdadm.conf is entirely commented ?
|
Hello,
It works, problem seems to be an incomplete mkinitrd.conf, i'll post the complete configuration tomorrow and pass the thread solved, but need some sleep first ;) |
Hello,
finally after some sleep and a new fresh install this morning my complete setup RAID 5 on 3x2To following README_RAID.TXT, hope that it can be useful to someone ^^ Run Slackware 13.37 64bit install from USB/DvD, partitioning with cfdisk: Code:
/boot 100Mo sda1 DA RAID 1 md3 Code:
sfdisk -d /dev/sda | sfdisk /dev/sdb - see wich "mdx"(x=0,1,2...) array may be up from an eventually previous install Code:
cat /proc/mdstat Code:
mdadm --stop /dev/mdx Code:
/: mdadm --create /dev/md0 --level 5 --raid-devices 3 /dev/sda2 /dev/sdb2 /dev/sdc2 --metadata=1.2 Code:
mkswap -f /dev/md2 Code:
mkfs.ext4 /dev/md0 - Install LILO "simple" setup - OS/2 Boot Manager found: NO - Additional append parameter: root=/dev/md0 - Install LILO in MBR - EXIT setup Switch to installation directory with chroot: Code:
chroot /mnt/ Code:
# Start LILO global section Code:
- cd /boot Code:
cp /etc/mkinitrd.conf.sample /etc/mkinitrd.conf Code:
# mkinitrd.conf.sample Code:
mkinitrd -F Code:
lilo Code:
reboot. Code:
echo MAILADDR your-mail@somewhere.com >> /etc/mdadm.conf |
Quote:
The old kernel auto detect (which needs "fd") is no longer used, it has been replaced by mdadm in the initrd scanning the disks and assembling the arrays instead. See :- https://raid.wiki.kernel.org/index.php/RAID_Boot |
Quote:
|
@Wildwizard,
Thx for the confirmation. @Caduqued, it's the less i can do, whithout LQ my computer running windows ;) EDIT: few test later, some recovery test Code:
/boot 100Mo sd[a,b,c] 1 md3 DA RAID 1 Code:
root@1337-64r:~# cat /proc/mdstat Email alerte received, computer work perfectly. Power off, connect new drive in place of /dev/sdb, reboot and verify: Code:
root@1337-64r:~# cat /proc/mdstat Verify with cfdisk disk partitions: Code:
cfdisk /dev/sda Copy partition to sdb with sfdisk: sfdisk -d /dev/sda | sfdisk /dev/sdb Code:
root@1337-64r:~# sfdisk -d /dev/sda | sfdisk /dev/sdb Code:
mdadm --add /dev/md0 /dev/sdb2 Code:
root@1337-64r:~# cat /proc/mdstat Don't reboot until recovery is complete. |
All times are GMT -5. The time now is 12:45 AM. |