LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2008, 01:52 PM   #1
rixtr66
Member
 
Registered: Aug 2008
Location: Portland,ME.
Distribution: Slackware
Posts: 102

Rep: Reputation: 15
how to edit lilo to include ubuntu


i recently installed slackware and it of course took over the mbr,ialso have a ubuntu installation on a usb hd i need to know how to edit the lilo.conf to include ubuntu my edit didnt work.heres whwtit looks like;

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
lba32
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# 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
# Windows bootable partition config begins

other = /dev/sda1
label="Windows"
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins

image="/dev/sda1"

image="/boot/vmlinuz"
root="/dev/sda5"
label="Linux"
read-only
# Linux bootable partition config ends

other=/dev/sdb1
label="ubuntu"
table=/dev/sdb

what am i doing wrong?
 
Old 08-20-2008, 03:17 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You need an image or kernel line for ubuntu, just like slackware, and possibly an initrd line too. What you have might work if grub was installed on the partition instead of the MBR, but the default is the MBR.

See also
http://www.bauer-power.net/2007/08/c...buntu-704.html
https://help.ubuntu.com/6.10/ubuntu/...x-upgrade.html

Last edited by mostlyharmless; 08-20-2008 at 03:21 PM. Reason: add links
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to edit lilo in debian ? jabka Linux - General 4 07-05-2006 01:09 AM
Need to edit LILO PapaSmurf88 Mandriva 14 05-19-2005 01:10 PM
edit path environment variable to include current working directory alb1954 Linux - Newbie 8 07-11-2004 11:26 PM
How to edit Lilo.conf? jmr0311 Linux - Newbie 17 07-07-2004 12:23 AM
Can I edit the LILO setup? Wraith2288 Linux - Software 2 06-23-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:23 AM.

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
Open Source Consulting | Domain Registration