General :: Putting The Password In Lilo.conf?

May 27, 2009

I wanted to put password in lilo.conf file. I added this line but doesn't seem to work out Code: password=vickey. I also did Code: lilo -v Is there any thing missing

View 8 Replies


ADVERTISEMENT

Server :: Putting IP Blocking In A Separate Conf File?

Jan 1, 2010

Running Red Hat (not sure of the build atm) and I need to be able to put all of the IP blocking in a separate file. It will eventually be uploaded to a large number of hosting accounts, and modified from time to time...so it isn't feasible to modify that many httpd.conf files each time we need to add an IP to be blocked. In httpd.conf I can add the "Deny from" line to the following directive and blocks it just fine:

Code:

<Directory "/var/www/html">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

[code]....

There is an include to pick up all *conf files in ../conf.d, and everything else in there is working just fine. I created a file called robots.conf; it currently has a set of mod_rewrite rules which work. So I added this to that file:

Code:

<Directory "/var/www/html">
Order allow,deny
Allow from all
Deny from 123.456.789.098
</Directory>

It is not blocking access from the IP with it in there.I've done all of the usual things; restarted Apache, cleared browser cache etc. I can also block it using that same directive in a local .htaccess.

View 2 Replies View Related

Slackware :: Can't Add Ubuntu Into Lilo.conf

Jan 10, 2011

I finally installed Slackware and now I have Windows, Slackware and Ubuntu in my laptop. I installed Ubuntu at the last order and at that time GRUB the default loader. But I feel that I'd like to use lilo more, so I booted into Slackware and run "lilo" and then lilo became the default loader.But then I cannot access Ubuntu anymore. Because in lilo there're no information about Ubuntu. So I added some information about Ubuntu according to that of Windows in lilo. But that failed. I still cannot access Ubuntu. I searched for the posts about this problem, and this is what they say:

Quote:

image=/ub/vmlinuz
label=ubuntu
read-only
root=/dev/sda7
initrd=/ub/initrd.img-2.6.28-13-generic

or something like this. But in my slack I cannot find the image or the initrd.

View 1 Replies View Related

Slackware :: Can't Add Ubuntu Into Lilo.conf?

Jan 10, 2011

My thread "Can't add Ubuntu into lilo.conf" was merged with this one.That problem has been solved, As I solved that problem, I got several more questions: When applying the changes by run "lilo", there's a warning about "large-memory". How come and how to solve? When loading into lilo, there's a capital character "U" in front of "Ubuntu". At the same time, there's nothing in front of Slackware or Windows. I wonder why. And, now that lilo read the booting info from slackware, if sometimes slackware get collapsed, could I still be able to access lilo? If I can access lilo, can I still boot into the other OSes?

View 4 Replies View Related

Ubuntu Networking :: How To Tamed Resolvconf From Putting Stale/old Info In Resolv.conf

Feb 3, 2010

I have resolvconf installed to prevent multiple programs from fighting to update /etc/resolv.conf at the same time an corrupting it.From what I understand resolvconf a package found in the repos is suppose to act as the gatekeeper to /etc/resolv.conf and all programs must go thru it to update resolv.conf. Hence /etc/resolv.conf is written in a orderly manner.

from time to time though something goes awry and resolvconf writes old, wrong stale into /etc/resolv.conf, for a connection that may be down or no longer exists along with the correct info for the current connection.Usually i would fix this by uninstalling and reinstalling the resolvconf package.I was tired of this so i went digging around in

/etc/resolvconf and found the subdirectory
/etc/resolvconf/run/interface

This is where it looks like resolvconf caches interface info that goes into

/etc/resolv.conf

I think what happens is resolvconf is suppose to clean this up in an orderly way but sometimes old interface files may be left here.So for instance in mine were the files eth0 and wlan0.with dns info for each stored in the relative file. I no longer have an eth0 only a wlan0 so resolvconf was still pulling info from both

/etc/resolvconf/run/interface/wlan0 and /etc/resolvconf/run/interface/eth0

with the result of an incorrect dns info in /etc/resolv.conf To make a long story short I just deleted /etc/resolvconf/run/interface/eth0 and was good to go. So if you are using resolvconf and run into this problem you may use this work around.

View 2 Replies View Related

Ubuntu :: Unable To Find Lilo.conf File In /etc?

Aug 7, 2010

i have dual boot system with windows7 and ubuntu 9.04 i am unable to find lilo.conf file in /etc. what's this file? what to do?

View 2 Replies View Related

Ubuntu Installation :: /etc/lilo.conf File Not Found In 11.04?

Jun 20, 2011

I am trying to install kernel 2.6.39.1 on ubuntu 11.04I am fllowing this link But may this link is little oldIt mentions a file /etc/lilo.conf to edit but this file is unavailable.where I can find this file r if the page which I mentioned is old then can anyone give me the link which guides me correctly abt how to install kernel 2.6.39.1 in ubuntu 11.04?

View 9 Replies View Related

Slackware :: New Encrypted Lvm Install - Cannot Open /etc/lilo.conf

Jul 25, 2010

Trying to do an install with encrypted lvm. I have made it to the end of the install and chroot /mnt and then ran mkintrd which added the modules successfully but then when I ran lilo again I got an error saying that said "fatal: can not open: /etc/lilo.conf".

View 1 Replies View Related

Slackware :: Build - Change The Picture With Lilo.conf Doesn’t Work

May 5, 2010

when i load lilo, everything is greenish and weird, i tried to change the picture with Lilo.conf, fallowing the exact instruction given by linux forum, dosnt work. the linux logo got verry strange colors has well,verry ugly.

at first i tried to install my ati driver, but my x1800 is not supported anymore, so i decided to run xconfsetup to use the default ati driver. After that i have been in the xorg.conf generated by the setup and it seem they got the right driver, it say radeon in the device section. another problem i experience is that everytime i lod KDE my default resolution suck, and when i open the control panel and click on display, everything goes right.

the last problem is more serious, when i order my computer to shutdown either by command line or with the logout button, the screen goes black and nothing happen at all. Its sad beccause so far everything else seem to work fine, i installed my network card and my sound card properly.

View 14 Replies View Related

Debian :: LILO / Chroot - "EBDA Is Big: Kernel Setup Stack Overlaps LILO Second Stage" Error After Reboot

Oct 16, 2010

I'm fairly new to linux, and a few days ago, as I was updating my system, I got the "EBDA is big ; kernel setup stack overlaps LILO second stage" error after reboot. I use a 3- boot, ( Win XP / Debian / Debian) and Windows XP works fine, but I can't launch any of the Debian. I googled the message, and I found this link :
[URL]

The only problem problem is that when I try to chroot, I got another message, "chroot: failed to run command `/bin/bash': No such file or directory" I googled this message too, but found no relevant answers. I am now using a knoppix usb drive to try to repair the lilo, but I ran out of ideas ...

View 4 Replies View Related

General :: Putting MB Of Stuff Onto The Internet?

Jan 20, 2010

Noticed the statistic from the computer that it had taken 147MB from the internet today and put 8MB out. Why did it put out so much data, 8MB, why would it need to do that? It makes me paranoid.

View 8 Replies View Related

General :: Putting Grub1 Into MBR Without Having It Installed

Jan 21, 2011

I am currently trying to install Sabayon linux, and it expects to use Grub1 for booting from usb (what am I trying to do). So I copied grub files into boot section, but now I need to "root and setup" it - and that's what I can't do, because I don't use Grub1 normally, since I am on Ubuntu which uses Grub2.

(I decided to use Grub1 instead of Grub2 because Sabayon could have some special params, and I am not that much experienced to copy them in new format to grub2 configuration file). So my question is - is there a way to copy grub1 to MBR without having it installed? (using some utility or something like that).

View 11 Replies View Related

General :: Putting A Remote Syslog Into Its Own File?

Aug 11, 2010

I have a Tomato router and it has the capability to have its logs go to a external server. syslog is the obvious choice for this. So I enabled remote logging on my linux server's syslogd (syslogd -r) and I can see all of the logs in /var/log/syslog. What I want to do is take everything that comes from the IP of my router (10.0.0.1) and divert it to its own file like /var/log/tomato to avoid polluting my syslog with external logs.

I can't find any examples of someone doing this. My only solution is to get a script together that strips out any line in /var/log/syslog with 10.0.0.1 in it and puts the line into /var/log/tomato and have the script run as a cron job, but that seems unnecessarily messy.

Unless someone knows that there is a solution, I'm 95% sure that syslog doesn't support this after reading more in-depth of the man page. So I need to migrate to syslog-ng or make a crazy script that runs with cron.

View 3 Replies View Related

General :: Putting Function Key Chars In A File?

Sep 18, 2010

Years ago on AIX I used to create a file of key strokes, including function keys (mainly F3 and F12) into a file, and used that file as input to an INFORMIX program, to automated tasks, something like this:
fglgo myprogram.fgo <keystrokefile.txt

Now, I'm using Aubit language on GNU/Linux, and I'd like to do the same kind of thing, but I can't recall how I worked out the chars for the function keys, I'm using a different emulation (xterm), and I can't work out what characters to put in the key stroke file. My $TERM variable contains "xterm". If I type "infocmp", I get this:

Code:
# Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm
xterm|xterm terminal emulator (X Window System),
am, bce, km, mc5i, mir, msgr, npc, xenl,
colors#8, cols#80, it#8, lines#24, pairs#64,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,

[Code]....

1. Is the above infocmp output the place I should get the information I need?

2. What chars do I need to put into my file to simulate me pressing F3 and F12?

3. Is there a way for me to put such chars in a file by just pressing those function keys (I tried a here document, but that doesn't work (it's as if the function keys are not even pressed)).

View 5 Replies View Related

General :: Script After Putting The File In Bashrc?

Oct 23, 2010

I have a problem with my script. The problem is the system keeps rebooting after I put the directory file in .bashrc. The intentional for putting the file in .bashrc is to run the script automatically after login as root, I don know why is this happen. It was working fine for the first time without putting the file in bashrc. I could break the loop after hitting the "ESC" key. would it be the script problems?

Here is my script
count=20
while [ $count -gt 0 ];do
sleep 1
echo Press ESC to break the operation
((count=count-1))

[Code]...

View 11 Replies View Related

General :: Getting An External 8-bay ESATA Enclosure And Putting Drives In It?

Feb 21, 2010

My Motherboard has 4 SATA ports on it, Is there a way short of buying an expensive RAID card to add more SATA drives and do a software raid still? What about getting an external 8-bay eSATA enclosure and putting drives in it? Will the OS see this and software raid? (linux)

View 2 Replies View Related

General :: Prevent Ubuntu From Putting Monitor To Sleep?

Jun 23, 2010

Ubuntu 10.04

Under Preferences > Power Management I have changed the settings to never put the computer to sleep and never to put the display to sleep.

My display still goes to sleep and I am prompted for my password when I leave the computer unattended.

I would like to be able to hit the "Lock Screen" app I added to the top panel to lock my screen, but otherwise I would like it to just stay on.

View 1 Replies View Related

General :: Task Bar - Putting Back The Original Settings?

Apr 7, 2010

I am using Ubuntu 9.10, I removed the task bar at the bottom of the screen and replaced it with a new one. The problem is when I click on Fire Fox and by default Fire Fox would drop to the bottom of the screen, now it just disappears. Is there any way of putting back the original settings.

View 1 Replies View Related

General :: Booting Without Using Grub / Lilo

Apr 21, 2010

I work in a very restrictive environment and I want to use linux on my work laptop (currently running Windows XP prof). I am planning to install linux in a dual boot mode but I dont want to install grub/lilo or any other boot loader. i cannot even modify Windows bootloader to boot into linux partition.

Is there a way I can boot into linux partition without installing new boot loader or modifying the current windows boot loader? Any boot CD etc available that can boot into linux partition from my laptops HDD?

View 3 Replies View Related

General :: Booting Fedora Dvd From Lilo?

Sep 7, 2010

I attempted to install slackware 13 on my laptop and was moderately successful. However in the process of attempting to configure it I appear to have messed something up. After reading about the problems I'm having I decided it would probably be easier to remove the current installation and start over.

I am now trying to install fedora from the dvd, but for some reason the computer will not boot the dvd. I have set the bios to boot from the drive first, and have tried burning the dvd twice, but every time the dvd spins up and shortly thereafter the computer loads lilo. Have I simply burned the dvd wrong twice? I used disk manager on mac os x and the disc reads just fine on the mac that burned it, but still no luck booting.

View 4 Replies View Related

General :: How To Fix Lilo After Intalling Windows

Aug 3, 2010

I have slackware one one partition with lilo. Today I've installed Windows 7 on another partition and now I have to fix lilo. How can I do that? Can I reinstall it from the slackdvd ?

View 1 Replies View Related

General :: Get LILO To Boot Ubuntu?

Sep 13, 2010

Old Setup: I HAD Ubuntu 10.04 (Fresh Install) and Vista. These were booted using GRUB as installed by Ubuntu.

New Setup: I have added Slackware. This has replaced Grub with LILO.

Problem: I have setup liloconfig so recognize each OS. Vista works great, so does Slackware. However, when I select Ubuntu: "Ubuntu is in Low Graphics Mode". Followed by a system crash.

Question: Ideally id like to simply stick with LILO. Is there a simple way to achieve this?

Note: some, on other sites, have suggested installing GRUB from Ubuntu LIVECD, however I am concerned, since I have no boot disk for my Vista that I might make it impossible to boot Vista if a GRUB problem is encountered. So ideally, id like to simply figure out how to work with LILO since it already works with Slackware, and Vista.

View 9 Replies View Related

General :: Adding Xubuntu 9.10 To Absolutes Lilo?

Feb 16, 2010

Triple booting. Windows 7 Evaluation, Xubuntu 9.10 and I just installed Absolute. Xubuntu uses Grub 2. I was going to do three things. Install Lilo to Absolutes /boot, go inot Xubuntu and reinstall Grub 2 to /boot and then just install GAG boot loader to load all three. Instead I was distracted and installed Lilo to the MBR by accident, which overwrote GRUB 2.

I can boot into Absolute fine and Windows 7 fine but the problem I am having is with Grub 2. The Xubuntu Live CD is not working for some reason, I mean it won't boot. I downloaded it twice and burnt it to disc both times. I am not sure why at this point.

So how do I add Xubuntu 9.10 to Lilo. If I try and do it manually or any other way it starts to boot Absolute instead and then freezes, even though I am pointing it to my Xubuntu partition. I am leaving something out. It has been a long time since I used Lilo and even then I was just as clueless.

View 1 Replies View Related

General :: Boot A System From Another Drive Via Lilo?

May 8, 2010

Slackware's lilo runs from sdb1. I installed ubuntu studio on sda3.

I can't boot it from lilo.

Code:

boot = /dev/sda
image = /boot/vmlinuz
root = /dev/sdb1
abel = Slack64-cu-sdb1
read-only

[Code]....

View 1 Replies View Related

General :: Install Grub Or Lilo To A Directory?

Feb 12, 2010

since ms dos wasn't meant to be booted from cd (it was used from floppy) and i have tried buring the contents of every ms dos floppy to a cd and no dice i am guessing that it needs a bootloader so i can boot up the setup wizard

before anyone suggests that this thread has nothing to do with linux i will just point out that this thread is asking about grub and that is a linux catagorie

View 3 Replies View Related

General :: LILO Can't Install Properly On HP Probook

Jun 14, 2011

I have a SATA boot disk with LILO installed. This disk is kinda like a recovery disk in that its supposed to boot up on any x86 PC. I'm however having trouble getting it to boot on a HP Probook laptop. I get the LILO 99 99 99 ... problem upon bootup.

I've already specified the linear option in my lilo.conf, which according to the LILO error codes might fix the problem but didn't.

Quote:

0x99: Invalid Second Stage

Mismatch between drive and BIOS geometry, or a bad map file. Some evidence that LINEAR needs to be set on the disk (see LiloNotes)

I've tried specifying the lba32 option instead, but get the same problem.

I've tried the solutions at this LILO Error Codes wiki, i.e. lilo -g and lilo -M /dev/sda

Neither solution worked.

Does anyone know how to get this working? Or recommend another BIOS independent boot loader? I was using nuni in the past for my IDE version, but nuni doesn't support SATA drives.

fyi I'm booting up the disk and running LILO on another laptop that boots it up, before plugging it into the Probook to test.

View 5 Replies View Related

General :: Neither GRUB Nor LILO Can Find Stage 2?

Nov 17, 2010

This post has been updated with new information. First, here's fdisk -l:

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[Code]....

View 8 Replies View Related

General :: Using LILO Then Moving Hard Disks Around

Jun 15, 2010

A few years ago I built a small Slackware system and, for storage, I used using a 2Gb Compact Flash card plugged into the primary IDE interface. Initially, I made a bootable CD rom, booted the new system from that, copied the file system to the CF card and then ran LILO to install a boot sector on the CF 'disk' /dev/hda. That all worked well enough.

The only trouble is that the CF card, being an early one, is rather slow and so I've just bought an Innodisk 2Gb Disk-on-Module which ought to be much faster. I have plugged that into the secondary IDE interface, I've run cfdisk to make a partition, formatted it using mkreiserfs and copied all of the contents of the CF card on /dev/hda to the new device on /dev/hdc. So far, so good. But...Now I need to run LILO from the existing CF card in /dev/hda to put a boot sector on the new /dev/hdc. Then I want to move the new device from /dev/hdc and put it in /dev/hda once it's bootable.

I'm stuck to know how to configure LILO to install a new boot sector on /dev/hdc. I don't appear to be able to make LILO understand what I'm trying to do. If I change the line 'boot = /dev/hda' in lilo.conf to 'boot = /dev/hdc', LILO aborts with an error message.

View 5 Replies View Related

General :: Want To Remove LILO On Boot Sector

Feb 24, 2011

Here's the set up.
1. Got an EXISTING LILO... VL 5.8 (/dev/hdc3)
2. Installed VL6.0 and installed its own lilo on Boot sector (/dev/hdc13)
3. Everytime I choose VL6.0 in my existing LILO (/dev/hdc3) it still goes to VL6.0's LILO. The question is, how can I remove the VL6.0 so if i choose this on my existing lILO. It will just boot straight.

VL6.0 LILO:
root:# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hdc13
#default = linux
#compact
#prompt
#timeout = 0 .....

View 3 Replies View Related

General :: Installing To One Drive And Booting From Another Lilo?

Mar 10, 2011

Im planning on installing a beta of my favorite distro to /dev/hdb from a mounted iso on an /dev/hda partition.Im not exactly a newbie, but i cant say i have ever done this before. Anyone aware of any issues i might encounter? Is lilo ok booting from one drive to another? Is it ok to just install lilo on the mbr of /dev/hda to boot a distro on /dev/hdb?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved