LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-18-2012, 03:40 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Question LILO does not take change after modifying lilo.conf


setup:

1. installed LILO in MBR (hda)--windows
2. linux HD is in hdc
3. OS/LILO installed good.
4. edited lilo.conf to change the timeout and labels; run lilo command.. returned good.
5. reboot
6. upon rebooting, the changes in the LILO did not took place.

anything i might missed?
 
Old 10-18-2012, 02:44 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 116

Rep: Reputation: 38
Quote:
Originally Posted by ic_torres View Post
setup:

1. installed LILO in MBR (hda)--windows
2. linux HD is in hdc
3. OS/LILO installed good.
4. edited lilo.conf to change the timeout and labels; run lilo command.. returned good.
5. reboot
6. upon rebooting, the changes in the LILO did not took place.

anything i might missed?
Hi ic_torres,
You have to run lilo again (just type lilo as root) this is because anytime you make changes to /etc/lilo.conf you need to reinstall the boot loader in order for lilo to use these changes at boot time.

Also what dist is this and can you post your lilo.conf (usually when you rerun lilo it works)

Last edited by /dev/random; 10-18-2012 at 02:45 PM.
 
Old 10-18-2012, 04:08 PM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by /dev/random View Post
Hi ic_torres,
You have to run lilo again (just type lilo as root) this is because anytime you make changes to /etc/lilo.conf you need to reinstall the boot loader in order for lilo to use these changes at boot time.

Also what dist is this and can you post your lilo.conf (usually when you rerun lilo it works)
Hi Random, yes after i edited my lilo.conf, i run lilo command .. and as i posted, it went good.. i just wondered on why the changes did not took effect when i did a reboot. . (i do this wayback and it returned good) just wondering why now it did not. .. (i have replaced my board that's why i had to reinstall)

i am using Vector 6.0 . . .


LILO.conf
Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
default = linux
compact
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
bitmap = /boot/bitmap/boot.bmp
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769


# End LILO global section
# Partition 1 : DOS/Windows
other = /dev/hda1
label = Windows
table = /dev/hda
# Partition 2: Linux GUI mode
image = /boot/vmlinuz
root = /dev/hdc13
label = Vector6.0
append = " "
read-only

# Partition 3: Linux TUI mode
#image = /boot/vmlinuz
# root = /dev/hdc13
# label = linux-tui
# append = "2 "
# read-only

# Partition 4: Linux GUI mode
#image = /boot/vmlinuz
# root = /dev/hdc13
# label = linux-gui
# append = "4 "
# read-only

# Partition 5: Linux
image = /boot/tamu/vmlinuz-linux-hdc2
root = /dev/hdc2
label = Slackware
read-only
initrd = /boot/tamu/initrd-linux-hdc2
# Partition 6: Linux
image = /boot/tamu/vmlinuz-vector-hdc3
root = /dev/hdc3
label = vector-hdc3
read-only

# Partition 7: Linux
image = /boot/tamu/vmlinuz-vector-hdc12
root = /dev/hdc12
label = vector-hdc12
read-only




results upon running lilo command :

Quote:


root:# /sbin/lilo -v -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007 and compiled at 02:39:03 on Apr 1 2008.
Running Linux kernel 2.6.27.12 on i686

Warning: LBA32 addressing assumed
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/hda
pf_hard_disk_scan: ndevs=2
0300 2E1B2E1A /dev/hda
1600 542D2676 /dev/hdc
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 3
device codes (canonical) = 3
mode = 0x03, columns = 80, rows = 25, page = 0
Using BITMAP secondary loader
Calling map_insert_data
Secondary loader: 19 sectors (0x3800 dataend).
Warning: The boot sector and map file are on different disks.
bios_boot = 0x80 bios_map = 0x81 map==boot = 0 map S/N: 542D2676
Mapping bitmap file /boot/bitmap/boot.bmp -> std.bmp
Calling map_insert_file
Compaction removed 594 BIOS calls.
Bitmap: 603 sectors.
BIOS data check was okay on the last boot

Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Compaction removed 0 BIOS calls.
Mapped 6 (4+1+1) sectors.
Added Windows

Boot image: /boot/vmlinuz -> vmlinuz-2.6.27.12
Setup length is 23 sectors.
Compaction removed 8486 BIOS calls.
Mapped 8650 sectors.
Added Vector6.0

Boot image: /boot/tamu/vmlinuz-linux-hdc2
Setup length is 14 sectors.
Compaction removed 3465 BIOS calls.
Mapped 3540 sectors.
Mapping RAM disk /boot/tamu/initrd-linux-hdc2
Compaction removed 3710 BIOS calls.
RAM disk: 3769 sectors.
Added Slackware

Boot image: /boot/tamu/vmlinuz-vector-hdc3
Setup length is 15 sectors.
Compaction removed 4708 BIOS calls.
Mapped 4801 sectors.
Added vector-hdc3

Boot image: /boot/tamu/vmlinuz-vector-hdc12
Setup length is 23 sectors.
Compaction removed 8489 BIOS calls.
Mapped 8650 sectors.
Added vector-hdc12

Fatal: Default image doesn't exist.
Removed temporary file /boot/map~


Last edited by ic_torres; 10-18-2012 at 04:22 PM.
 
Old 10-18-2012, 11:52 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You have a 'fatal' at the end of the output of the lilo command My guess is that lilo therefore did not write to the MBR.
 
Old 10-19-2012, 08:27 AM   #5
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 116

Rep: Reputation: 38
I am thinking the same thing, comment out the image map and see if it works, if it does, then you need to either replace the image or remove the line that gives you the fatal message.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Edit lilo.conf, run /sbin/lilo, but lilo won't take changes lukameen Slackware 2 02-10-2012 12:10 PM
trying to update lilo on my usb hdd tells me /etc/lilo.conf wasn't found daweefolk Slackware 8 04-23-2010 01:20 AM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
How do I change the Default in LILO.CONF timmy toad Linux - Newbie 3 09-26-2003 01:28 PM
LILO / lilo.conf - can't change the config clearh20 Linux - Newbie 14 06-05-2003 09:20 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
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