Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Gentoo on multi-boot list [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
catchpole
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2014
Posts: 103
Location: Leeds UK

PostPosted: Thu Feb 12, 2015 11:22 am    Post subject: No Gentoo on multi-boot list [SOLVED] Reply with quote

I have three operating systems on my computer.
Lubuntu on sda1
Mint on sda3
Gentoo on sda4

Lubuntu was the first operating system on the clean disc.
XP had been on before but Lubuntu was installed over it. (No dual boot)

Everything was working OK until:

When I updated Lubuntu I lost Gentoo from the boot list.
After some attempts to restore the situation I could see gentoo but it wouldn't boot. (file not found)

I used "Boot-Repair" to tidy up and now I can see Lubuntu and Mint but not Gentoo.
There is an output from "Boot-Repair" at:
http://paste.ubuntu.com/10185652/
I can see Gentoo in the output but don't know how to get it back into the boot menu on startup.

Can anyone help?
_________________
Noob
With experience of Mint and trying to learn more by intalling Gentoo
Motherboard = MS-7211- MICRO-STAR INTERNATIONAL CO., LTD
CPU = Intel(R) Celeron(R) CPU 2.80GHz version: 15.4.9
Memory = 2GB


Last edited by catchpole on Fri Feb 13, 2015 4:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Feb 12, 2015 8:13 pm    Post subject: Reply with quote

Just add an entry for each of your operating systems which are used to your current bootloader.

When you edit the configuration file you can copy one existing entry and adopt it to suit your needs.

If i had to guess i assuem your gentoo root is on
Quote:
/dev/sda4 93,417,472 154,857,471 61,440,000 83 Linux


and as expceted your grub is on

Quote:
sda1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
Back to top
View user's profile Send private message
catchpole
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2014
Posts: 103
Location: Leeds UK

PostPosted: Fri Feb 13, 2015 1:58 pm    Post subject: Reply with quote

Hi tw04l124,

Thanks for the pointers.

After lots of experimentation, research and many hours I got there in the end.
The menu entry from the output of "Boot-Repair" was:
Quote:
menuentry "Gentoo Base System release 2.2 (on /dev/sda4)" --class gnu-linux --class gnu --class os {
set root='(hd0,4)'
search --no-floppy --fs-uuid --set=root 15939b1b-4f68-4e67-8dba-c117eeb51841
linux /vmlinuz root=UUID=15939b1b-4f68-4e67-8dba-c117eeb51841
initrd /initrd.img
}

The "linux /vmlinuz" should have been "linux /boot/vmlinuz". So it seems to have been looking in the wrong directory.

I've changed other things as well so it could be a combination of things but I think that was the problem. Its the last thing I changed and it now works OK.

Thanks again.
_________________
Noob
With experience of Mint and trying to learn more by intalling Gentoo
Motherboard = MS-7211- MICRO-STAR INTERNATIONAL CO., LTD
CPU = Intel(R) Celeron(R) CPU 2.80GHz version: 15.4.9
Memory = 2GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum