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) ?
Asked
Active
Viewed 574 times
1
-
Oh wow, I didn't know anyone still used lilo... – Ignacio Vazquez-Abrams Nov 05 '10 at 19:18
-
It is default with slack – Damir Nov 05 '10 at 19:27
-
@Ignacio: Grub2 is still relatively recent, and before that Lilo could boot from LVM, but not Grub. – Gilles 'SO- stop being evil' Nov 05 '10 at 20:27
2 Answers
1
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).
Gilles 'SO- stop being evil'
- 69,786
- 21
- 137
- 178
-
-
@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 'SO- stop being evil' Nov 05 '10 at 20:48
-
It's a Fedoraism. They patch Grub Legacy to use that filename instead. – Ignacio Vazquez-Abrams Nov 05 '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 05 '10 at 22:15
-
@Damir: Strange. Please post the output of `fdisk -l /dev/sda` and the current contents of `/etc/lilo.conf`. – Gilles 'SO- stop being evil' Nov 05 '10 at 22:21
0
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
jet
- 2,743
- 18
- 17