Put A Slackware Boot Option In GRUB
hi all,
i just changed from lilo taht came with slack back to my good old grub but i cant get slack working in grub my slack partiton is /dev/sda1 and ubuntu /dev/sda6 so how do i add the slack option in grub i use kgrubeditor as my tool of choice thanks theacerguy |
OK
please post the lilo config for slack |
if your using grub from ubuntu, not all grubs will boot slack because of the way slack formats an ext3 partition. If so you can rerun lilo from your slack install disk and install lilo to your slack root partition. then edit your menu.lst to chainload into the slack partition.
|
Quote:
|
Quote:
# LILO configuration file # generated by 'liloconfig' # # Start LILO global section # Append any additional kernel parameters: append=" vt.default_utf8=0" boot = /dev/sda # 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 # Linux bootable partition config begins image = /boot/vmlinuz root = /dev/sda1 label = Linux read-only # Linux bootable partition config ends |
reboot your slack one disk and go back into setup.
select the partition your slack is on that setup ask to install to but do not format. cancel all other items till you get back to the main setup menu. select configure and select no or cancel until you get to the lilo option. when it ask you where to install lilo select the root partition, not mbr. after lilo installes select no and cancel until you get back to the main setup menu and exit out |
after lilo is reinstalled edit your menu.lst in ubuntu
title slackware rootnoverify (hd0,0) chainloader +1 this is assuming that slack is on the first partition of your first harddrive |
Quote:
i tried running liilo from the slack disc but it says it wasnt found |
Quote:
|
Quote:
|
LILO LIVES!!!!!!!!!!!!!!!!!!!!!!!!
and how do i add a option for ubuntu in lilo? |
run setup just like you did when you installed slack. after you select your install to partition, but do not format, when it ask do you want select any other partition either hit the cancel button or tab down to "done adding partitions" and click ok. then when the setup program goes into install packages hit the cancel button until you back to the main menu. select configure system. it will ask you if you want to do this select yes. the program will the start regenerating fonts. then what ever option comes up next, I think it's making a usb boot, hit cancel. until you come to the install lilo part. use the simple method and select install to root partiton. after that you don't need to rerun of the other options. when it ask you if you want to rewrite your fstab select no.
|
Quote:
|
in slack edit /etc/lilo to add ubuntu, then at a prompt
#lilo not sure what the entries will be but the format will be the same as the slackware entry |
All times are GMT -5. The time now is 08:10 PM. |