Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed Windows, Fedora and Slackware on my laptop ( lilo is on mbr, and grub for Fedora is installed on first sector on sda6). How to add sda6 to show on beginning when I turn on computer, so I can enter in Fedora (like file menu.list on Debian) ?

share|improve this question
    
Oh wow, I didn't know anyone still used lilo... –  Ignacio Vazquez-Abrams Nov 5 '10 at 19:18
    
It is default with slack –  Damir Nov 5 '10 at 19:27
    
@Ignacio: Grub2 is still relatively recent, and before that Lilo could boot from LVM, but not Grub. –  Gilles Nov 5 '10 at 20:27

2 Answers 2

up vote 1 down vote accepted

Add something like this to /etc/lilo.conf:

other=/dev/sda6
    label=Fedora

Then run lilo.

Alternatively, put Slackware's Lilo on its partition, Fedora's Grub in the MBR, and edit Fedora's Grub configuration (either /boot/grub/menu.lst if it's Grub1, or /etc/default/grub if it's Grub2 and sufficiently like Debian, and in any case run update-grub afterwards).

share|improve this answer
    
Or /boot/grub/grub.conf if it's Fedora. –  Ignacio Vazquez-Abrams Nov 5 '10 at 20:32
    
@Ignacio: is /boot/grub/grub.conf the pendant of /boot/grub/menu.lst (Grub1), /etc/default/grub (Grub2, configuration file for update-grub which updates /boot/grub/grub.cfg), or /boot/grub/grub.cfg (file read by Grub2)? Please feel free to edit my answer to translate any Debianism into Fedoraish. –  Gilles Nov 5 '10 at 20:48
    
It's a Fedoraism. They patch Grub Legacy to use that filename instead. –  Ignacio Vazquez-Abrams Nov 5 '10 at 21:06
    
I done that but there is when I run lilo Warning: LBA32 addressing assumed Fatal: Partition entry not found. When I restart nothing changed . –  Damir Nov 5 '10 at 22:15
    
@Damir: Strange. Please post the output of fdisk -l /dev/sda and the current contents of /etc/lilo.conf. –  Gilles Nov 5 '10 at 22:21

edit /etc/lilo.conf in slackware

then run

/sbin/lilo

my advise is to install fedora's grub in MBR and it will manage slackware and Windows

share|improve this answer
    
Command is: /sbin/lilo –  sgmart Dec 13 '12 at 22:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.