LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 03-09-2011, 02:13 PM   #1
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Problems installing lilo with RAID/LUKS/LVM - 13.1(64)


Basic Problem: I have been trying to install 13.1 (64-bit) and have not been able to get lilo to install.

Procedure:

1) partitioned drive /dev/sdc 1GB (Linux RAID) and 499GB (Linux Raid)
2) copied partitioning scheme to /dev/sdd
3) set up RAID-1 arrays md0 (sdc1-sdd1) and md1 (sdc2-sdd2)
4) write random data to partitions
5) set up LUKS on md1 (swluks)
6) set up LVM on swluks (80GB /, 375GB /home, 20GB swap)
7) ran setup, chose partitions, installed software
8) setup lilo (mbr, selected /)
9) TRIED to install lilo

Now the problem. The installation screen for lilo just sits there, no response. When one eventually ctrl-c's out of it lilo.conf has been written.

10) run mkinitrd and edit /etc/lilo.conf (md0 unencrypted is /boot)
11) run lilo

Apparently no /etc/fstab is being written and if you then try an boot all you get is LI 01 99 99 99 ...

All procedures were followed per the appropriate readme files (RAID/CRYPT/LVM/initrd). The same occurs trying to do a 32-bit install.

It's probably me missing something but for the life of me I don't know what.

Any thoughts or suggestions (polite ones ) are appreciated.
 
Old 03-09-2011, 02:57 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
I haven't tried lilo from the install screen procedure recently. I recall having a similar problem once, however, which was solved by rebooting from the DVD, manually mounting raid, luks etc, chrooting and running lilo from the console.

However, these days I use grub (found in /extras) which works great, and supports RAID-0 on boot also.

Hope that helps, a bit.
 
Old 03-09-2011, 03:13 PM   #3
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Original Poster
Rep: Reputation: 139Reputation: 139
Thanks for the reply. The mkintrd and editing lilo.copnf were done from chroot. I tried rebooting from the DVD and working thorugh, run lilo manually but get the same result.

Never tried grub as all I've ever needed is a basic bootloader like lilo. RAID-0 is a non-starter (actually not even properly RAID but that's another topic )
 
Old 03-09-2011, 04:49 PM   #4
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
I've not had much experience with LUKS on RAID but usually have no issues with Lilo on RAID.

I always chroot in to the new install to set up the initrd and lilo.

Something like this usually works for me.

Code:
raid-extra-boot = /dev/sda,/dev/sdb
boot = /dev/md0
 
Old 03-11-2011, 04:09 PM   #5
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Original Poster
Rep: Reputation: 139Reputation: 139
yes, those are usually im my lilo.conf when using raid1 as well.

I have tried everything I can think of and I cannot get Slack to finish its install by installing lilo.

The last time I tried it appears that there was no /etc/fstab created either.
 
  


Reply

Tags
lilo, luks, lvm, raid


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
[SOLVED] Combining LUKS and LVM... LILO fails to boot STDOUBT Slackware - Installation 4 06-10-2010 10:58 PM
[SOLVED] Fresh Slackware64-current RAID-1 + LVM + LUKS: pvcreate not working gargamel Slackware 6 03-23-2010 03:24 PM
Encrypted root with LUKS on LVM and RAID-1: How? gargamel Suse/Novell 5 03-20-2010 05:30 PM
Slackware 12.2 + RAID-1 + LVM + LUKS encrypted root gargamel Slackware 35 12-17-2009 12:25 PM
Luks/Lvm after dd duplication brodo Slackware 10 03-12-2009 04:56 PM


All times are GMT -5. The time now is 04:38 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