Page 1 of 1

boot installed salix 64 with grub

Posted: 29. Sep 2010, 23:50
by slakjak
hi.
I have nstalled salix 64 from burned cd to my /dev/sds8 with /dev/sda7as swap.
I am multi-booting Winxp ,wolvix and vector linux with grub version .97

But I can not boot the newly installed salix
I get a GRUB Error 2: Bad file or directory .
The other weird thing was that it reported the partition was ext2fs when I formatted it to ext3.

Ihad found an entry for salix on the net and modified it for my partitions to this:

title SalixOS
root (hd0,7)
kernel /boot/vmlinuz quiet root=/dev/sda8 vt.default_utf8=1 ro vga = 788
savedefault
boot

But I get a GRUB Error 2: Bad file or directory .
The other weird thing was that it reported the partition was ext2fs when I formatted it to ext3.



If any one can help or give an examples of their menu.lst for Salix (not salix live )
it would be great.

If I have to I guess I can chroot into my newly installed salix and install lilo or if it comes to this is there an easier way to install Lilo?
thanks

Re: boot installed salix 64 with grub

Posted: 30. Sep 2010, 04:43
by Akuna
Easy way to install Lilo: LiloSetup from any recent SalixLive, in a live session.

Re: boot installed salix 64 with grub

Posted: 30. Sep 2010, 14:59
by gapan
I'm not entirely sure, I don't use grub and I don't really know how it works, but maybe you need to point it to the real kernel file? The /boot/vmlinuz file is just a symlink.

Re: boot installed salix 64 with grub

Posted: 1. Oct 2010, 13:39
by damNageHack
gapan wrote: maybe you need to point it to the real kernel file? The /boot/vmlinuz file is just a symlink.
Yes, it seems that GRUB can not handle symlinks.
You probably have to copy the kernel image into /boot and point to that real file in /boot/grub/menu.lst.
For the Windows part, you have to add the "chainloader +1" option.
:arrow: http://forums.fedoraforum.org/showthrea ... ost1130579

Re: boot installed salix 64 with grub

Posted: 2. Oct 2010, 11:14
by wayne
slakjak wrote:hi.
I have nstalled salix 64 from burned cd to my /dev/sds8 with /dev/sda7as swap.
I am multi-booting Winxp ,wolvix and vector linux with grub version .97

But I can not boot the newly installed salix
I get a GRUB Error 2: Bad file or directory .
The other weird thing was that it reported the partition was ext2fs when I formatted it to ext3.

Ihad found an entry for salix on the net and modified it for my partitions to this:

title SalixOS
root (hd0,7)
kernel /boot/vmlinuz quiet root=/dev/sda8 vt.default_utf8=1 ro vga = 788
savedefault
boot

But I get a GRUB Error 2: Bad file or directory .
The other weird thing was that it reported the partition was ext2fs when I formatted it to ext3.



If any one can help or give an examples of their menu.lst for Salix (not salix live )
it would be great.

If I have to I guess I can chroot into my newly installed salix and install lilo or if it comes to this is there an easier way to install Lilo?
thanks
The easier way is to chainload, like how you did or grub did on windows.
It requires you to install Salix boot loader on "root partition", do not select "MBR".

So your grub stanza for booting Salix is very simple:
title Salix 13.1 Chainload to sda8
root (hd0,7)
chainloader +1

this is very similar to your windows satnza which should read like:
title Microsoft Windows XP Home Edition
root (hd0,0)
chainloader +1