LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-25-2003, 11:48 AM   #1
Superdude
Member
 
Registered: Oct 2003
Distribution: Slackware 9.0
Posts: 47

Rep: Reputation: 15
How do I get a boot menu?


Hi, I just installed Slackware 9.0. It is installed on hda2, and I have Windows on hda1. When I turn on the computer it automatically starts Windows, the only way I can get into linux is to use a boot disk floppy. But instead of having to use a boot disk every time I would like to get a menu when I turn on the computer, asking me if I want to boot into windows or linux. I previously had Mandrake 9.0 installed and it automatically installed such a menu. If someone could explain to me what I need to do to set up such a menu with Slackware I would be very appreciative. I would prefer a graphical menu than a text one. I am almost a complete newbie to linux/unix, except that I have used Mandrake 9.0 for a few months, but it had wizards for everything so I didn't really learn much. Please help!
 
Old 12-25-2003, 11:57 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi,

did you install//run//config lilo?
 
Old 12-25-2003, 12:15 PM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
I recommend grub. It can be text or text with a pretty picture in the background but it works. First you should boot into slackware. Then go to a command line and type grub and see if anything happens. If you don't have it just go and download it. Once it is running type
root (hd0,0)
setup (hd0)
This will install in the mbr of your first hardrive. Next go into /boot/gurb and find a file called grub.conf and make sure you're root so you can change it. The put something like

default 0
timeout 30

title=Windows
root (hd0,0)
chainloader (hd0,0)+1

title=Slackware
root (hd0,1)
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2
initrd (hd0,1)/boot/initrd ro

Now gurb starts counting at 0 so under slackware where it is (hd0,1) it means harddrive 1 partition 2. Now I guessed on your kernel name and initrd so you might need to fine tune those. The ro on the back of the initrd is because slackware wants it to be read only but I haven't used slack in a while so I could be wrong or it might have changed.
 
Old 12-25-2003, 06:58 PM   #4
Superdude
Member
 
Registered: Oct 2003
Distribution: Slackware 9.0
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks, I just got it to work. Only a text screen, but a nice one.
 
Old 12-27-2003, 03:26 PM   #5
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
You can put a nice picture in the background easily, after the default and timeout add
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


http://tldp.org/LDP/LG/current/jayanth.html
 
Old 12-27-2003, 04:12 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
my lilo.conf has these few lines, to pick up a nice image, and have transparency in the menu listing in that image area.
Code:
# Installs the specified file as the new boot sector
# You have the choice between: bmp, compat, menu and text
# Look in /boot/ and in lilo.conf(5) manpage for details
#
install=/boot/boot-bmp.b
                                                                                                                    
bitmap = /boot/sid.bmp
bmp-table = 15,12;2,8,24,8
bmp-colors = 7,,;15,,
bmp-timer = 34,28;15,0,0
                                                                                                                    
# Specifies the location of the map file
#
map=/boot/map
 
  


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
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr SUSE / openSUSE 9 08-17-2005 01:57 PM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 04:00 PM
About boot menu on a dual boot sys Gethyn Linux - Newbie 4 10-15-2004 12:30 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-13-2004 12:40 AM
cd locked out on floppy boot! Help boot menu rooman Linux - General 5 08-07-2002 03:56 PM


All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration