LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2009, 10:05 AM   #1
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
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
 
Old 07-19-2009, 10:12 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK
please post the lilo config for slack
 
Old 07-19-2009, 10:32 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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.
 
Old 07-19-2009, 10:41 AM   #4
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
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.
How Do I Do That Cos I Have Never Used LILO Before And How Do I Reinstalll Lilo/?
 
Old 07-19-2009, 10:49 AM   #5
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by linus72 View Post
OK
please post the lilo config for slack

# 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
 
Old 07-19-2009, 10:53 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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
 
Old 07-19-2009, 11:01 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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
 
Old 07-19-2009, 11:07 AM   #8
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
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
sorry i dont understand how do i cancel it all and that?
i tried running liilo from the slack disc but it says it wasnt found
 
Old 07-19-2009, 11:08 AM   #9
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
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
does grub or lilo need to be the active mbr here cos i have lilo on it but grub has been installed over it
 
Old 07-19-2009, 11:16 AM   #10
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
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
wait i think it is working cos i desellected installing everything and i didnt formant the old slack / and it asked me about lilo and i did it so i think i fixed it
 
Old 07-19-2009, 11:23 AM   #11
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
LILO LIVES!!!!!!!!!!!!!!!!!!!!!!!!
and how do i add a option for ubuntu in lilo?
 
Old 07-19-2009, 11:24 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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.
 
Old 07-19-2009, 11:29 AM   #13
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
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.
ive got it working now but how do i add ubuntu into lilo?
 
Old 07-19-2009, 11:40 AM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot & grub... where do I put kernel pointers? aquaboot Ubuntu 4 11-07-2007 11:04 AM
grub boot option to change init boot level danboland Linux - General 3 10-10-2007 12:39 PM
changing the boot option in grub htamayo Debian 2 04-10-2007 01:37 PM
No dual boot GRUB option wc5b Fedora 4 11-16-2006 11:04 PM
How do I change the default boot option in GRUB martinr Linux - Software 3 04-10-2006 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:24 PM.

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