LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2009, 12:01 AM   #1
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
LILO fails when run from live CD after installing Slack (skipped LILO during setup)


I'm receiving the following error message when running LILO under SystemRescueCD after installing Slackware 12.2 (the slackware setup hung when installing LILO so I am trying to install manually - I have re-run setup, including formatting all drives again):
FATAL: Trying to map files from unnamed device 0x0010 (NFS/Raid mirror down?)

Windows XP is installed on a RAID0 array (sda, sdb, sdc, sdd).
A SCSI (SATA card) drive is sde:
-Linux swap is on sde1
-root is on sde2 (ext3)
-a NTFS file storage is sde3
-the rest of the file system is on ext3 drives sde4, sde5, and sde6

I have given up on installing LILO on the RAID array - I have been trying to install it in the Linux partition and using windows boot loader to call it.

I have been copying lilo.conf to /etc/lilo.conf after mounting the Slackware drive.

Here's the current lilo.conf:

disk=/dev/sda inaccessible
disk=/dev/sdb inaccessible
disk=/dev/sdc inaccessible
disk=/dev/sdd inaccessible
disk=/dev/sde3 inaccessible
boot=/dev/sde2
prompt
timeout=0
lba32
compact
vga=normal
menu-title=" Server "
image=/boot/vmlinuz
label=Linux
root=/dev/sde2
read-only

Let me know if any more information is necessary and thank you in advance for any help you can provide.
 
Old 07-20-2009, 05:13 AM   #2
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Did you chroot?
 
Old 07-20-2009, 07:35 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Welcome to LQ!

The easiest way would be to use the install cd1 to boot the system as if you were going to install.

After you get to the login then from the cli (command line);

Code:
~#mkdir /slacktemp                   #temporary mount point
~#mount /dev/your_device /slacktemp  #the device you installed to
~#chroot /slacktemp                  #change to yours
~#cd /slacktemp/etc                  #change to directory with lilo.conf 
~#vi lilo.conf                       #edit lilo.conf, if need be
~#lilo -v -t -b /dev/your_device     #sda, hda this will only test 
~#lilo -v -b /dev/your_device        #this will write to your boot device
You can 'man commands' in the above example to get a full understanding of the commands and options.
 
Old 07-20-2009, 08:22 PM   #4
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 50
Thanks, guys - the chroot got me on to the next step.

I'll try booting from the install disk (although I'm using the DVD).

LILO now installs albeit with warning messages - "'/proc/partitions' does not exist" being the most concerning one so that probably explains why I'm now getting scrolling 01s when starting up.

I can see why Linux can be frustrating for newbies - good thing I'm doing this on a spare system ;-) but I'm doing it for a learning experience. There sure is a lot of reading required!

I've got some more ideas to try and I'll let you know how I make out.

Thanks again...
 
Old 07-21-2009, 05:56 AM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
sysfce2:

If it is not necessary to enable RAID you may disable it at the bios setup.

LILO is a good boat loader, but if you get fed up with LILO you may try Grub. In your installer CD it is located at /extra/grub folder, you may install it. You may want to read a good tutorial from here http://www.dedoimedo.com/computers/grub.html

Enjoy.

Hope this helps.
 
Old 07-21-2009, 05:58 PM   #6
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
You can try to mount /proc with something like this.

mount -t proc none /slacktemp/proc

You might need to mkdir /slacktemp/proc before mounting it. And do this before you chroot.

Lilo is a PITA compared to grub in my opinion. I remember when switching from the old ATA to the new ATA layer caused problems for me. Because as I was setting up lilo /dev/sda* didn't exist. Forgot how I got to work. Was a combination of making a fake device and appending a few things to lilo to finally get it to boot the first time I think. On my other box that uses grub was no problems.

Just keep at it, you will eventually get it.
 
Old 08-03-2009, 11:57 PM   #7
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 116

Original Poster
Rep: Reputation: 50
This is just an update on my progress for those interested - Problem is now solved.

Thanks again guys - sorry it has been so long in responding, but I haven't had much of a chance to play with it recently and I just got it working now.

I gave up on LILO (after many hours of playing - but since it was a learning exercise for me, that is OK) - I think I could get it to work now anyway after playing with GRUB (although GRUB is a pleasure compared to LILO).

The eventual solution was quite complicated - I destroyed my RAID0 array and reinstalled Windows (something I wanted to do anyway). I also moved the connectors from the RAID card (onboard) over to the IDE connectors on the motherboard (mostly for ease of Windows install without making RAID driver floppies - although it did make the GRUB install easier too).

Also, I had to create a separate boot partition in order for GRUB to see my boot directory.

Another thing throwing me off was the hard drive order changed depending on what I booted in (SystemRescueCD (Gentoo live CD), Slackware install disk/HD copy of Slack, or even Windows). I eventually used Super GRUB Disk to determine what order GRUB was seeing (it was different again) and got the right drives listed.

Thanks again for your help guys.

Last edited by sysfce2; 08-04-2009 at 12:04 AM.
 
Old 08-04-2009, 12:16 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by sysfce2 View Post
LILO now installs albeit with warning messages - "'/proc/partitions' does not exist"
I'm 99% sure that I saw that same error message when I run the lilo command to install lilo in the MBR, but it does not affect my installation on a HP DL380.
 
  


Reply



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
Lilo and Grub conflict, installed Slackware but cant run the Helix Live CD mongoosecage Slackware 2 06-25-2008 09:22 PM
installing lilo from a live cd on a working computer j0ck Slackware 4 01-17-2006 06:50 PM
run /sbin/lilo after update IF you use LILO (don't know) jdblick SUSE / openSUSE 3 12-28-2004 03:06 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
installing slack on new hard disk, lilo question fobius Slackware 10 01-19-2004 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration