# refracta.freeforums.org

place to talk about refracta

Skip to content

Welcome
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

## configuring lilo

Ask your questions here.
Post a reply
10 posts • Page 1 of 1

### configuring lilo

by nadir » Sat Nov 07, 2015 12:36 am

I installed Salix. It comes with lilo.
Salix is on /dev/sda1, Gentoo is still on sda4 (there is no more sda2 and sda3).
I edited etc/lilo.conf like this:

Code: Select all
  `image = /boot/vmlinuz-4.0.5-gentoo
  root = /dev/sda4
  label = gentoo
  read-only
  `

but running

Code: Select all
  `/sbin/lilo
  `

it gives the following error

Code: Select all
  `root[~]# /sbin/lilo
  Added salix *
  Fatal: open /boot/vmlinuz-4.0.5-gentoo: No such file or directory
  `

Sure enough the file is there:

Code: Select all
  `root[~]# mount
  /dev/sda1 on / type ext4 (rw)
  proc on /proc type proc (rw)
  sysfs on /sys type sysfs (rw)
  gvfsd-fuse on /home/user/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=user)
  /dev/sda4 on /media/disk type ext4 (rw)
  root[~]# ls /media/disk/boot/
  System.map-4.0.5-gentoo config-4.0.5-gentoo vmlinuz-4.0.5-gentoo
  root[~]#
  `

thanks
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

### Re: configuring lilo

by nadir » Sat Nov 07, 2015 3:12 am

k.
I mounted the partition where gentoo is installed and pointed lilo.conf to vmlinuz with the full path, in my case:
/media/disk/boot/vmlinuz-4.0.5-gentoo
Before that i also tried a simple "vmlinuz", which seem to have ended with gentoo using the salix kernel. It booted, but else not much worked ...
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

### Re: configuring lilo

by fsmithred » Sun Nov 08, 2015 6:37 pm

I seem to recall that the kernels need to be in the same /boot directory (or on the same partition.)
Take a look at this -
http://www.brunolinux.com/05-Configurin ... _Lilo.html

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: configuring lilo

by nadir » Sun Nov 08, 2015 10:34 pm

Thanks.
But it works now. I was not clear in my last comment, the "k." was meant to indicate that it is ok now.
I booted the partition and entered the full path into lilo's config. Ran "lilo", it found the kernel and after reboot i could boot into gentoo. After choosing it.
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

### Re: configuring lilo

by nadir » Mon Nov 09, 2015 2:49 am

On another note, in case someone is wondering:
i am not very happy with gentoo nor with salix (which i use for 2 days now ... ).
Still pretty clueless what operating system to pick, just as i was when debian went systemd
(i could use debian, but then i would be just as clueless as i am now when i use gentoo or salix, because everything seems to be systemd now. I have to relearn anyway ... ).
For general usage salix seems very comfortable though. Just all those tiny things which waste time without being fun
(installation is a one click operation + entering username and password. After installation, ca 5 minutes, you have a full blown - well: bloated - distro at your hand and can remove and install packages via gui or via slapt-get, pretty similar syntax like apt-get. Duh).
To make it short: refracta is still on my list. And the winter is long ...
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

### Re: configuring lilo

by fsmithred » Mon Nov 09, 2015 1:41 pm

So, I guess I remembered wrong, or lilo has changed. Good to know.
If you're ok with a window manager and using root or sudo for shutdown/reboot, it's possible to have something like the jessie-sysv with openbox, but based on devuan instead of debian. And unlike the jessie-sysv I put together last year, you no longer have to pin certain packages to wheezy versions.
Maybe I'll do an updated openbox build with devuan.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: configuring lilo

by thwak » Tue Nov 10, 2015 7:25 am

I was similarly unimpressed when I booted the recent salix release. I'm pleased their project is still active, but... yawn.
Oh, and was it salix that left me struggling -- no docs -- to find out the live user and live root password? user = "one" and root pw is blank?
Eventually ran across those details posted to a linuxquestions.org thread
This is pretty impressive, for a "beta" release it seems very well polished

> http://forum.mepiscommunity.org/viewtopic.php?p=372232#p372232
> 08 November 2015
> MX-15 beta1 available for testing
> We are pleased to announce the first public beta of MX-15 (codename 'Fusion') based on the reliable and stable Debian Jessie (8.2)
> with extra enhancements from our packaging team.
> Just like MX-14, this release defaults to sysVinit (though systemd is available once installed for those that prefer to use it).
> Available in 32 and 64 bit. The 32 bit version (c1.1GB) ships with 2 stable 3.16 Debian kernels (pae and non-pae),
> the 64 bit (c1GB) comes with the more recent kernel 4.2-3 liquorix kernel to cater for newer hardware.
> . . .
> xfce 4.12
> firefox 42.0
> . . .

thwak
  Posts: 174
  Joined: Tue Nov 20, 2012 3:58 am

Top

### Re: configuring lilo

by nadir » Tue Nov 10, 2015 7:58 pm

> fsmithred wrote:So, I guess I remembered wrong, or lilo has changed. Good to know.
> If you're ok with a window manager and using root or sudo for shutdown/reboot, it's possible to have something like the jessie-sysv with openbox, but based on devuan instead of debian. And unlike the jessie-sysv I put together last year, you no longer have to pin certain packages to wheezy versions.
> Maybe I'll do an updated openbox build with devuan.

I figured it out by try and error, not sure if it is a good "solution".
I don't care about the GUI. openbox would be ok. And i shutdown with "shutdown -h" for ages now (hence i don't care for the GUI, most things i do either from terminal or with a command prompt, then with the program i started).
Yeah, pinning is not really my thing. In theory it sounds easy, but never really seemed to work.

> thwak wrote:Oh, and was it salix that left me struggling -- no docs -- to find out the live user and live root password? user = "one" and root pw is blank?

all correct (lack of docs, user password is one and root is ... urgh ... sudo su). Main problem for me is the init system. Else all seems straightforward. Mainly due to slapt-get.
as i don't know or want to learn systemd, and i don't know openrc neither - gentoo - i am in a shitty situation this way or the other.
Why on earth would i want to use Mepis?
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

### Re: configuring lilo

by thwak » Tue Nov 10, 2015 10:53 pm

"Why on earth would i want to use Mepis?"
MX is "mepis" in the sense that mepiscommunity.org hosts the forum, and many of the users seem to be former mepis users...
but, functionally, it's sysV + antix live-init + debian + xfce + http://github.com/AdrianTM QT-based admin tools.

> i don't know or want to learn systemd, and i don't know openrc neither - gentoo - i am in a shitty situation this way or the other.

antix15 is still solid (sysV + debian jessie)
slitaz has simple init
hg.slitaz.org/slitaz-boot-scripts/file/3da6316620ef/etc/init.d/README
slitaz.org/en/doc/scratchbook/boot-scripts.html
and tazconvert utility to import *.deb packages
devuan has, um, well... devuan has a mailing list.

thwak
  Posts: 174
  Joined: Tue Nov 20, 2012 3:58 am

Top

### Re: configuring lilo

by nadir » Wed Nov 11, 2015 12:22 am

Ah, it is MX, not Mepis.
Sounds like an option, but not for me.
So i herd u liek mudkip?

nadir
  Posts: 1160
  Joined: Wed Mar 09, 2011 4:18 am
  Location: here

Top

Display posts from previous:
Sort by

Post a reply
10 posts • Page 1 of 1

Return to Help

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred