Add another OS to list at start

1

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) ?

Damir

Posted 2010-11-05T18:59:56.160

Reputation: 229

Oh wow, I didn't know anyone still used lilo... – Ignacio Vazquez-Abrams – 2010-11-05T19:18:56.923

It is default with slack – Damir – 2010-11-05T19:27:00.503

@Ignacio: Grub2 is still relatively recent, and before that Lilo could boot from LVM, but not Grub. – Gilles 'SO- stop being evil' – 2010-11-05T20:27:34.303

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'

Posted 2010-11-05T18:59:56.160

Reputation: 58 319

Or /boot/grub/grub.conf if it's Fedora. – Ignacio Vazquez-Abrams – 2010-11-05T20:32:28.277

@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' – 2010-11-05T20:48:25.207

It's a Fedoraism. They patch Grub Legacy to use that filename instead. – Ignacio Vazquez-Abrams – 2010-11-05T21:06:09.513

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 – 2010-11-05T22:15:21.617

@Damir: Strange. Please post the output of fdisk -l /dev/sda and the current contents of /etc/lilo.conf. – Gilles 'SO- stop being evil' – 2010-11-05T22:21:59.743

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

Posted 2010-11-05T18:59:56.160

Reputation: 2 675

Command is: /sbin/lilo – slackmart – 2012-12-13T22:40:51.413