Sabayon 10 [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Sabayon 10 [Solved]

Postby B3rtm3n » Tue Sep 04, 2012 8:02

I installed Sabayon 10 yesterday with the updates it pulled in.

That is pretty fast, version 9 only seemed yesterday.

Anyway, I noticed when booting grub it gives an error (3 times): error file not found...

Grub boots anyway and I noticed different options, f.ex.:
- advanced options
- gentoo base system

Also my Windows and second Sabayon installation (as back up) is not showing in grub

When I boot Sabayon it gives again 3 times:
error file not found ....
loading linux etc ..

Press any key to continue ...


Sabayon boots anyway so it does not matter to me but I wonder what these error messages are.
Last edited by B3rtm3n on Thu Sep 06, 2012 8:00, edited 2 times in total.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Sabayon 10

Postby sabayonino » Tue Sep 04, 2012 12:26

system starts anyway after a while.

to fix thisd reinstall grub in MBR

Code: Select all
# grub2-install --no-floppy /dev/sdX


[edit] see viewtopic.php?f=57&t=27868
User avatar
sabayonino
Sagely Hen
 
Posts: 1566
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Sabayon 10

Postby B3rtm3n » Tue Sep 04, 2012 15:53

Thx for your help

However I install each grub in the boot sector of the Linux installation and not in the MBR

Can I still use this command?
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Sabayon 10

Postby Fitzcarraldo » Tue Sep 04, 2012 18:33

Nope. If, e.g., your boot sector is in the partition sda3 then the command would be:

Code: Select all
# grub2-install --force /dev/sda3
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Sabayon 10

Postby B3rtm3n » Wed Sep 05, 2012 7:05

Hi Fitzcarraldo,

I have for my first Sabayon installation (I have 2 installed):

/dev/sdb1 as extended
/dev/sdb5 as ext4 and being the boot partition with Grub
/dev/sdb6 as btrfs and being root
/dev/sdb7 as swap

when doing:
Code: Select all
grub2-install --force /dev/sdb5


it gives the following message:

/usr/sbin/grub2-bios-setup: warning: File system `ext2' doesn't support embedding.
/usr/sbin/grub2-bios-setup: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.


When rebooting I only saw 1 error message shown very quickly when Grub booted, my Windows system is being displayed in grub but my second Sabayon installation (back up) is no longer shown as Sabayon but as Gentoo Base System since I installed the latest updates.
When booting into Sabayon no error messages where displayed so for me the problem is solved.

Thanks for the help although I wonder why the re installation of Grub is mentioning a file system ext2 which I do not have installed.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Sabayon 10

Postby Fitzcarraldo » Wed Sep 05, 2012 10:57

Don't worry about the 'ext2' in the message, it's misinformation from GRUB 2. The GRUB 2 messages you quoted are to be expected (see the same messages quoted in my fourth post in Gentoo Forums thread GRUB 2 wrongly using /boot/grub/ instead of /boot/grub2/*). To give you a little background: the first stage code of GRUB 2 occupies more space in the MBR than the first stage code of GRUB Legacy (or in a partition boot sector, if you use a partition boot sector instead of the MBR), so the GRUB 2 developers display those messages to try and dissuade people from putting the first stage code of GRUB 2 in anything other than the MBR, as the size of a partition boot sector is relatively small. However, in practice there is no problem with GRUB 2 if you do this. I also put GRUB 2 code in a boot sector rather than the MBR (see, e.g., The best way to dual boot Linux and Windows), and so do many other people.

* GRUB 2 in Gentoo is different to GRUB 2 in SL (the directories and some commands are different). Nevertheless you might find that Gentoo thread instructional, as it gives an understanding of how GRUB 2 (and EasyBCD) works.

Regarding the 'Gentoo Base System' entry you are seeing in the GRUB 2 menu, you can either edit /boot/grub/grub.cfg to change it to whatever you want, or you can edit or add a script in /etc/grub.d/ and use the command 'grub-mkconfig -o /boot/grub/grub.cfg' to generate a new grub.cfg file, but the former method is easier (albeit needs to be repeated if you subsequently run grub-mkconfig to generate a new grub.cfg file for any other reason).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Sabayon 10 [SOLVED]

Postby B3rtm3n » Thu Sep 06, 2012 7:58

Thanks for your assistance and explanation.

Because Grub already caused me headaches when doing multiboot I am using a commercial bootmanager (Acronis OS Selector). Of course when Grub fails I can not boot the selected OS but still can boot the other OS I have installed.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Sabayon 10 [Solved]

Postby yu210148 » Sat Sep 08, 2012 0:43

Installing to the MBR worked for me :)

kev.
User avatar
yu210148
Baby Hen
 
Posts: 7
Joined: Mon Sep 19, 2011 19:52

Re: Sabayon 10 [Solved]

Postby grimly64 » Thu Sep 13, 2012 5:43

Dual booting with Windows 7.

When I boot Sabayon it gives, 3 times:
error file not found

...but I do not get the Hit any key to continue nor does linux ever boot.

Using EasyBCD in windows 7.

So how do I get the grub to re-install while using EasyBCD in Windows 7?
User avatar
grimly64
Young Hen
 
Posts: 22
Joined: Sun Apr 17, 2011 2:38

Re: Sabayon 10 [Solved]

Postby msdobrescu » Sat Sep 15, 2012 8:59

I have tried to install grub by using:

Code: Select all
grub2-install --no-floppy /dev/sda3


It didn't work.

Then I have issued:

Code: Select all
grub2-install --force /dev/sda3


It seemed to work.
After reboot, it dropped me in the grub rescue console.
As I have no experience with that and no access to the Internet (due to this issue), I've restored it using the live DVD, which found it on /dev/sda3. Now, everithing works, no 'file not found' errors anymore, but it looks different than before (i.e. Sabayon 9 and below).

The standard, ugly, bootloader, with the list of OS-es in a big rectangle appears. I think it looks better on the previous versions. Is this intended, or a bug?
User avatar
msdobrescu
Advanced Hen
 
Posts: 269
Joined: Sun Aug 21, 2011 8:48

Next

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest