LinuxQuestions.org
Register a domain and help support LQ
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 09-17-2012, 08:16 PM   #16
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,298

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722

You're missing a line in your lilo.conf file specifying the initrd. Boot with your install CD, mount your encrypted+unencrypted partitions (mount /dev/sda1 under /boot since that's what you have in your lilo.conf file), mount /proc and /sys (and maybe `mount --bind` /dev) , chroot into the system and run lilo. Your lilo.conf file should look like this:
Code:
image = /boot/vmlinuz
  initrd = /boot/initrd.gz
  root = /dev/cryptvg/root
  label = Slackbox
  read-only
 
Old 09-17-2012, 08:44 PM   #17
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
My kernel is 2.6.37.6-smp that's why I' executing so.
I found one of my mistakes, where is my mind I forgot about:
initrd=/boot/initrd.gz

Now I'm getting: Fatal:Linux experimental device 0x04x needs to be defined
the errors are the same but I think I'm close to it : )
But I'm really sleeping at the moment. Have a good night and thank you very much for your efforts. I'm really appreciating it.
Long live Slackware!
 
Old 09-18-2012, 01:21 AM   #18
fdeak
LQ Newbie
 
Registered: Jan 2007
Distribution: Slackware-14.0, Slackware-current
Posts: 21

Rep: Reputation: 2
Quote:
Originally Posted by funboy View Post
Because I chroot-ed the my /mnt/cryptslack I copied the generated initrd.gz to the first unencripted partition - /dev/sda1 - where is actually my lilo bootloader.
When I run lilo I recieve one:
Fatal: Linux experimental device 0x04x needs to be defined
I think it is useless to reboot (and hope it will be good) until you see this when executing lilo.

Have you got the same error message if you do the following?

mount <your_root_dev> /mnt/hd
mount -o bind /dev/ /mnt/hd/dev
mount -o bind /sys/ /mnt/hd/sys
mount -o bind /proc/ /mnt/hd/proc
chroot /mnt/hd
mount /boot
lilo
 
1 members found this post helpful.
Old 09-18-2012, 01:32 AM   #19
fdeak
LQ Newbie
 
Registered: Jan 2007
Distribution: Slackware-14.0, Slackware-current
Posts: 21

Rep: Reputation: 2
One thing I would try is to make a new install in a virtual machine (kvm, virtualbox) - if you have a capable machine.

I would open the mentioned doc, and follow the steps one by one. It's enough to install a minimal slackware
with a, ap, l categories. You can make a full test in a few minutes.

If it succeeds you can do some things better/different.

fdeak
 
Old 09-18-2012, 07:50 PM   #20
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
Hi all,

I did not mentioned that I'm using virtualbox for this experiment. I also added the mptspi:shpchp to the initrd but still no succes.
I will try to change the /boot fs type to ext2. I've strictly follow the steps, provided by the txt in the installation CD.

Thank you for your help!
 
  


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
extend crypted lvm volume imitis Linux - General 4 06-12-2010 07:55 AM
vmware slackware13 guest with lvm root -> no boot :-( cosmonate Slackware 2 11-17-2009 07:04 AM
Setup slack13 over 2 dm-crypted lvm hdds carlitoco Slackware 4 09-24-2009 03:18 PM
Problem with crypted LVM after Debian installation setkos Linux - Newbie 7 12-28-2008 07:30 AM
dm-crypted root with filesystem checking /y0shi Slackware 3 02-16-2008 07:55 AM


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