Adding Sabayon to the Ubuntu grub menü list [Solved]

Installer Issues via Installer -- Not for global upgrades or upgrading individual packages -- ONLY ISSUES WITH INSTALLATION OF THE OS -- Can't get Sabayon installed, than post here, otherwise use correct forums

Moderator: Moderators

Adding Sabayon to the Ubuntu grub menü list [Solved]

Postby hatalar205 » Wed May 06, 2009 19:27

I have just installed Sabayon 4.1 gnome. I have Vista, Ubuntu 9.04 and Sabayon. But after installation I see that I again only see Ubuntu Menü List. I checked in ubuntu that Sabayon is there. So, How can I add Sabayon to the Ubuntu menü list.
Thanks in advance.
Last edited by hatalar205 on Wed May 06, 2009 22:40, edited 1 time in total.
Everything is your fault. Yes, I advised you but you did.
hatalar205
Simple Hen
 
Posts: 77
Joined: Wed May 06, 2009 16:49

Re: Adding Sabayon to the Ubuntu grub menü list

Postby micia » Wed May 06, 2009 19:53

When you ask for help, anywhere, not just on the forums, be sure to provide as
much informations as you can, we can't know how your system is set otherwise :wink:

Could you post your /boot/grub/menu.lst
and tell us how your Hard disk is partitioned so that we can help you?
For example you could use the output of
Code: Select all
fdisk -l


And, is Grub installed in your MBR?
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Adding Sabayon to the Ubuntu grub menü list

Postby hatalar205 » Wed May 06, 2009 20:01

Sorry, output:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x885f41c9

Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
/dev/sda2 * 192 19859 157975552 7 HPFS/NTFS
/dev/sda3 19859 32540 101858300 7 HPFS/NTFS
/dev/sda4 32540 38914 51198976 f W95 Ext'd (LBA)
/dev/sda5 32540 36007 27848677+ 83 Linux
/dev/sda6 36008 38913 23342413+ 83 Linux

Sabayon is on /dev/sda6
Everything is your fault. Yes, I advised you but you did.
hatalar205
Simple Hen
 
Posts: 77
Joined: Wed May 06, 2009 16:49

Re: Adding Sabayon to the Ubuntu grub menü list

Postby micia » Wed May 06, 2009 20:03

could you post the /boot/grub/menu.lst too?
(sorry, my English often betrays me)
It is better if you use the [code] tags
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Adding Sabayon to the Ubuntu grub menü list

Postby hatalar205 » Wed May 06, 2009 20:08

[quote="micia"]could you post the /boot/grub/menu.lst too?
(sorry, my English often betrays me)
It is better if you use the
Code: Select all
 tags[/quote]

My ubuntu menü list:
[code]# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default      4

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=16d57299-851d-409d-8b08-9fb66f8c1847 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=16d57299-851d-409d-8b08-9fb66f8c1847

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title      Ubuntu 9.04, kernel 2.6.28-11-generic
uuid      16d57299-851d-409d-8b08-9fb66f8c1847
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=16d57299-851d-409d-8b08-9fb66f8c1847 ro quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

title      Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid      16d57299-851d-409d-8b08-9fb66f8c1847
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=16d57299-851d-409d-8b08-9fb66f8c1847 ro  single
initrd      /boot/initrd.img-2.6.28-11-generic

title      Ubuntu 9.04, memtest86+
uuid      16d57299-851d-409d-8b08-9fb66f8c1847
kernel      /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title      Windows Vista (loader)
rootnoverify   (hd0,1)
savedefault
chainloader   +1
Everything is your fault. Yes, I advised you but you did.
hatalar205
Simple Hen
 
Posts: 77
Joined: Wed May 06, 2009 16:49

Re: Adding Sabayon to the Ubuntu grub menü list

Postby kodiakmax » Wed May 06, 2009 20:42

could you post the output of "blkid" as well?
If you check the wiki, use the search function and google you can find the answer to most of your questions.

Remember to mark your thread [Solved] if your issue is fixed.
kodiakmax
Advanced Hen
 
Posts: 278
Joined: Thu Oct 16, 2008 23:46

Re: Adding Sabayon to the Ubuntu grub menü list

Postby hatalar205 » Wed May 06, 2009 20:46

blkid output:
Code: Select all
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="E8DC544FDC5419E0" LABEL="WinRE" TYPE="ntfs"
/dev/sda2: UUID="12A25652A2563B05" LABEL="Vista" TYPE="ntfs"
/dev/sda3: UUID="947E58B17E588E3C" LABEL="Data" TYPE="ntfs"
/dev/sda5: UUID="16d57299-851d-409d-8b08-9fb66f8c1847" TYPE="ext3"
/dev/sda6: UUID="fa2537d2-e60b-4702-b434-cfe1a95f5537" SEC_TYPE="ext2" TYPE="ext3"
Everything is your fault. Yes, I advised you but you did.
hatalar205
Simple Hen
 
Posts: 77
Joined: Wed May 06, 2009 16:49

Re: Adding Sabayon to the Ubuntu grub menü list

Postby kodiakmax » Wed May 06, 2009 21:22

I think this might work for you
remember make a backup of your current menu.conf/menu.lst before making changes.

Code: Select all
title=Sabayon Linux (kernel-genkernel-x86_64-2.6.29-sabayon)
        root (hd0,5)
        kernel /boot/kernel-genkernel-x86_64-2.6.29-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=fa2537d2-e60b-4702-b434-cfe1a95f5537 dolvm  quiet  init=/linuxrc splash=silent,theme:sabayon vga=794 CONSOLE=/dev/tty1
        initrd /boot/initramfs-genkernel-x86_64-2.6.29-sabayon


If that doesn't work, I would try this: (it should reinstall grub and scan for your installed OS's setting up the correct config.)
3a. Pop in the Live CD, boot from it until you reach the desktop.
3b. Open a terminal window or switch to a tty.
3c. Type "grub"
3d. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,2)". Use whatever your computer spits out for the following line
3e. Type "root (hd0,2)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda3, which translates to hd0,2 for grub).
3f. Type "setup (hd0)", ot whatever your harddisk nr is.
3g. Quit grub by typing "quit".
3h. Reboot.
If you check the wiki, use the search function and google you can find the answer to most of your questions.

Remember to mark your thread [Solved] if your issue is fixed.
kodiakmax
Advanced Hen
 
Posts: 278
Joined: Thu Oct 16, 2008 23:46

Re: Adding Sabayon to the Ubuntu grub menü list

Postby hatalar205 » Wed May 06, 2009 22:40

Unfortunately both of them didn't work. So, I choose the long way and reinstall ubuntu. Everything is ok now. And I just want to post the entry in ubuntu menü list now. Maybe later it can help someone.

Code: Select all
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title      Sabayon Linux x86 (genkernel-x86-2.6.29-sabayon) (on /dev/sda6)
root      (hd0,5)
kernel      /boot/kernel-genkernel-x86-2.6.29-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=46a795df-b056-4dd4-baaf-5e5b31302088 dolvm init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 quiet
initrd      /boot/initramfs-genkernel-x86-2.6.29-sabayon
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title      Sabayon Linux x86 (genkernel-x86-2.6.29-sabayon) (safe mode) (on /dev/sda6)
root      (hd0,5)
kernel      /boot/kernel-genkernel-x86-2.6.29-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=46a795df-b056-4dd4-baaf-5e5b31302088 dolvm init=/linuxrc CONSOLE=/dev/tty1 nox acpi=off ide=nodma vga=normal
initrd      /boot/initramfs-genkernel-x86-2.6.29-sabayon
savedefault
boot


Thanks.
Last edited by hatalar205 on Wed May 06, 2009 23:11, edited 1 time in total.
Everything is your fault. Yes, I advised you but you did.
hatalar205
Simple Hen
 
Posts: 77
Joined: Wed May 06, 2009 16:49


Return to Installer Issues - Calamares **Not for Package Manager Stuff**

Who is online

Users browsing this forum: No registered users and 2 guests

cron