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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-18-2012, 03:40 AM
|
#1
|
|
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:
|
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?
|
|
|
|
10-18-2012, 02:44 PM
|
#2
|
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: OpenSUSE 12.2, Slackware 14.0
Posts: 54
Rep:
|
Quote:
Originally Posted by ic_torres
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.
|
|
|
|
10-18-2012, 04:08 PM
|
#3
|
|
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:
|
Quote:
Originally Posted by /dev/random
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.
|
|
|
|
10-18-2012, 11:52 PM
|
#4
|
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,780
|
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.
|
|
|
|
10-19-2012, 08:27 AM
|
#5
|
|
Member
Registered: Aug 2012
Location: Ontario, Canada
Distribution: OpenSUSE 12.2, Slackware 14.0
Posts: 54
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|