LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to edit lilo to include ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-edit-lilo-to-include-ubuntu-664127/)

rixtr66 08-20-2008 01:52 PM

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?

mostlyharmless 08-20-2008 03:17 PM

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


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