boot installed salix 64 with grub

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
slakjak
Posts: 4
Joined: 28. Sep 2010, 16:51

boot installed salix 64 with grub

Post 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
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: boot installed salix 64 with grub

Post by Akuna »

Easy way to install Lilo: LiloSetup from any recent SalixLive, in a live session.
Image
What really matters is where you are going, not where you come from.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: boot installed salix 64 with grub

Post 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.
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: boot installed salix 64 with grub

Post 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
wayne
Posts: 45
Joined: 24. Aug 2010, 01:09

Re: boot installed salix 64 with grub

Post 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
Post Reply