LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > sjampoo
User Name
Password

Notices

Rate this Entry

LILO - What a fix?

Posted 05-24-2009 at 02:14 PM by sjampoo
Updated 05-24-2009 at 04:42 PM by sjampoo

Since I still want LILO to get onto my MBR, booted aLive-cd(Ubuntu), mounted /dev/sda2 to /home/slack and did a man lilo in /home/slack/sbin

There the option/error that I got during installation is mentioned under the -P section: Something about partition table and wrong values or..

Should do a /sbin/lilo -P ignore as far as I understand?

Hmm..
Quote:
ubuntu@ubuntu:~/slack/sbin$ lilo -P ignore
Fatal: Cannot open: /etc/lilo.conf
Thus:
Quote:
ubuntu@ubuntu:~/slack/sbin$ pwd
/home/ubuntu/slack/sbin
ubuntu@ubuntu:~/slack/sbin$ lilo -P ignore -C /home/ubuntu/slack/etc/lilo.conf
Fatal: open /dev/sda: Permission denied
damnit.. sudo then?

Quote:
ubuntu@ubuntu:~/slack/sbin$ sudo lilo -P ignore -C /home/ubuntu/slack/etc/lilo.conf
Fatal: Trying to map files from unnamed device 0x0012 (NFS/RAID mirror down ?)
damnit.. what now?
cd to ~/slack/etc
read the man lilo a bit more.. and wait: I do have to specify I want lilo to be in the MBR...

-M didn't do the trick: which device? An../dev/sda

Quote:
ubuntu@ubuntu:~/slack/etc$ sudo lilo -C /home/ubuntu/slack/etc/ -P ignore -M /dev/sda
returns:
Quote:
Backup copy of /dev/sda in /boot/boot.0800
The Master Boot Record of /dev/sda has been updated.
Now, for a reboot, see what happens..

I did notice via a ' cat lilo.conf ' that there were changes made by the setup of slackware, so it's just the writing of the mbr that failed.

This ( see below) does look like a list adopted to my machine: sda1 = vista, sda2 = slackware sda3 = swap.
Quote:
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only
# Linux bootable partition config ends
--
Update:
gave it a try. Nope.. damnit.. Windows Vista again.
Will try the FIX option,. which may just f*ck up all partitions.. but hey.. I got to take some risk don't I ?
(besides: what's there to lose? an almost clean vista + office 07 installation without major adjustment or changes )

--
Update:
Damnit. still nothing. Again Vista.. found something, somewhere that could be an option, but since there just the command, no explanation, I will 'man' it up ( booting to my ubuntu-live cd ones more!)
lilo -r /newroot ?

--
Update:
Stupid me.
boot with slackware-dvd
at boot: hugesmp.s /dev/sda1 initrc thingy =ro and voila: slackware boot from hdd.
sbin/Lilo -> error
-P ignore-> some output + error + added windows/linux (must be okay!)
-P fix -> some output + error + added windows/linux

lets test: Yes.! Works.

Now to get KDE to go 1280x1024 instead of 1024x786
Posted in Uncategorized
Views 2934 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



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