Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing amd version on MacbBook Pro and partion Quest.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri May 25, 2012 4:02 am    Post subject: Reply with quote

suggest dropping back and going step by step from here:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=5
doing this should download and then extract the tarball over what already happened and then install portage to the extracted tarball at which point you will be ready to proceed to the step you cited.

Word of caution: when you get to steps for installing grub, don't do them. if you do grub you will need to setup the partition /dev/sda5 (also known to legacy grub as (hd0,0)) not the disk /dev/sda (also known to legacy grub as (hd0)). Targeting the drive will likely wipe out your current multiboot.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Fri May 25, 2012 4:15 am    Post subject: Finally getting it a bit more Reply with quote

The stage3 and the portage , latest paxages are 2 different packages that have to be downloaded and intalled. The directions where rt in front of me
_________________
MacUnkie
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Fri May 25, 2012 4:32 am    Post subject: Reply with quote

DONAHUE wrote:
suggest dropping back and going step by step from here:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=5
doing this should download and then extract the tarball over what already happened and then install portage to the extracted tarball at which point you will be ready to proceed to the step you cited.

Word of caution: when you get to steps for installing grub, don't do them. if you do grub you will need to setup the partition /dev/sda5 (also known to legacy grub as (hd0,0)) not the disk /dev/sda (also known to legacy grub as (hd0)). Targeting the drive will likely wipe out your current multiboot.


Thanks for the heads up on grub. What do you suggest as a GUI?
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri May 25, 2012 4:35 am    Post subject: Reply with quote

i use gnome and like it, which gui questions usually lead to religious wars.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Fri May 25, 2012 4:48 am    Post subject: Reply with quote

DONAHUE wrote:
i use gnome and like it, which gui questions usually lead to religious wars.

So in one post you suggest i dont try to insall it, but you are using it?
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri May 25, 2012 5:55 am    Post subject: Reply with quote

I like gnome and would recommend it.
I have machines that boot grub2 and machines that boot legacy grub and I setup the hard drives on both types. I do have multiboot on some. I do not have Apple OS, refit, efi, uefi, gpt on any of them. As you are using refit I advised against setup of grub on the hard drive. setup of grub on the partition should be safe. gnome is a desktop GUI, grub is a boot loader.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Fri May 25, 2012 5:19 pm    Post subject: Reply with quote

DONAHUE wrote:
I like gnome and would recommend it.
I have machines that boot grub2 and machines that boot legacy grub and I setup the hard drives on both types. I do have multiboot on some. I do not have Apple OS, refit, efi, uefi, gpt on any of them. As you are using refit I advised against setup of grub on the hard drive. setup of grub on the partition should be safe. gnome is a desktop GUI, grub is a boot loader.


My apologies when I read your "do not recommend" I thought you where referring to Gnome. Bad reading. My eyes ain't what they used to be. Yes I believe grub2 is already installed on my system. I believe it installed when I installed my "Mint 13" on my system. I use the boot loader manager "rEFit" and when I select the icon "Linux Penguin" it loads the grub boot loader where I can choose which OS I want to load. rEFit and configuration files reside in my "/efi" directory.

So again I apologize for not reading your initial post correctly. I got burnt out last night doing my gentoo install. So far I have the stage3-amd pkg unpacked then followed the directions and download the package-latest distribution and unpacked it and everything went smooth. Going back to the hand book and finding the next step for the installation process tonight.

Again, thank you and all those who have been patient with me and helping with this install and understanding concepts !
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri May 25, 2012 5:45 pm    Post subject: Reply with quote

you should be able to use the mint grub2 as the boot loader for your gentoo install or install grub2 to the gentoo partition and chainload that from refit.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sat May 26, 2012 2:37 am    Post subject: Code Listing 1.3: Copy over DNS information Reply with quote

I've successfully configured my make.conf to my liking. I'm now in chapter 6 following directions and am at the Code Listing 1.3: Copy over DNS information:
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6

When I issue the recommended command of
Code:
cp -L /etc/resolv.conf /mnt/gentoo/etc/

I get this message
Quote:
cp can not stat '/etc/resolv.conf': No such file or directory


Is this step necessary ? I know that within my "Mint" install there resides a resolvconfig directory, but don't think the install instructions are prompting me to cp this directory to my gentoo install ?

I'm also looking at config and install instructions for Mac at this site :http://gr0x0r.no-ip.org/mediawiki/index.php/Emerge_System_Utilities

When I issued command :
Code:
# emerge -av gentoo-sources

I get this output:
Quote:
No command 'emerge' found, did you mean:
Command 'merge' from package 'rcs' (universe)
Command 'fmerge' from package 'fhist' (universe)
Command 'vemerge' from package 'util-vserver' (universe)
Command 'esmerge' from package 'tstools' (universe)
emerge: command not found
/
[/url]quote]

Thanks for any help !
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat May 26, 2012 3:52 am    Post subject: Reply with quote

Code:
nano  /mnt/gentoo/etc/resolv.conf
edit to read
Quote:
nameserver 8.8.8.8


emerge is a gentoo command used in installing program packages from portage, the response you posted indicates you are not yet in the gentoo chroot. Thankfully, mint is not recognizing the command.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sat May 26, 2012 7:30 pm    Post subject: Still installing fstab question Reply with quote

When looking at my /etc/ftab file my output reads as follows:
Code:
  GNU nano 2.3.1                                 File: fstab                                                                       

# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT               /boot           ext2            noauto,noatime  1 2
/dev/ROOT               /               ext3            noatime         0 1
/dev/SWAP               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0


Don't know if I need to change this file ? I'm doing an install without a /boot partion so I don't know if I need to remove this section ?
I originally formatted my gentoo partion as "ext4" so should I change my "/" ROOT to ext4 ?
The /dev/cdrom is also a dvd drive so do I need to add a /dev/dvdrom /mnt/dvdrom auto to my fstab code?

Thanks for any help !
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat May 26, 2012 7:46 pm    Post subject: Reply with quote

/dev/sda5 / ext3 noatime 0 1 #assuming ext3 was your choice
#/dev/SWAP none swap sw 0 0 #maybe you'll make one someday
shm /dev/shm tmpfs defaults 0 0 # may not need this but harmless
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sat May 26, 2012 8:02 pm    Post subject: Reply with quote

DONAHUE wrote:
/dev/sda5 / ext3 noatime 0 1 #assuming ext3 was your choice
#/dev/SWAP none swap sw 0 0 #maybe you'll make one someday
shm /dev/shm tmpfs defaults 0 0 # may not need this but harmless


Thanks!
So by your recommendation I can take the "Boot" section out of the fstab because I don't have a
"/boot" partion ?

I did create a swap of 2 gigs and is located on /dev/sda8

So my current fstab output reads as follows:
Code:
  # <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT               /boot           ext2            noauto,noatime  1 2
/dev/sda5               /               ext3            noatime         0 1
/dev/sda8               none            swap            sw              0 0


When you mention adding
Quote:
shm /dev/shm tmpfs defaults 0 0 # may not need this but harmless

What is this exactly ?
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat May 26, 2012 8:23 pm    Post subject: Reply with quote

LOOKING GOOD

shm tmpfs entered my fstab a while back cause the boot sequence complained. left it in since, though i think udev or openrc may take care of it now
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sat May 26, 2012 9:12 pm    Post subject: I believe my install is complete but not loadig with my grub Reply with quote

So Following all the configuration steps with gentoo I finally rebooted and choosing my BootLoader Manager "rEFit" "penquin" icon... my gurb boot loader loads but shows no entry for gentoo or /dev/sda5

Within my "Mint" install with in the "boot" directory I see the following files:
    abi-3.2.0-23-generic grub memtest86+.bin System.map-3.2.0-23-generic
    config-3.2.0-23-generic initrd.img-3.2.0-23-generic memtest86+_multiboot.bin vmlinuz-3.2.0-23-generic


Within my grub directory my grub.cfg it reads as follows :
Code:

  GNU nano 2.2.6                           File: grub.cfg                                                             

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa


Somewhere in this post I remember someone recommending that I don't install gub. Makes sense because I have an existing install on my "mint" partion. Should I go ahead and attempt the install or is there a way of reconfiguring my existing grub.cfg within my gurb installation on my "Mint" that will allow it to recognize my /dev/sda5 partion where gentoo is installed ?

Thanks again for any help !
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat May 26, 2012 11:06 pm    Post subject: Reply with quote

boot mint,open a terminal, run
Code:
 find / -name grub.cfg
which should return the path to your mint grub.cfg substitute the returned value and run
Quote:
grub-mkconfig -o path to your mint grub.cfg
Watch the output to see if gentoo is detected. nano path to your mint grub.cfg and check that an entry was made for gentoo. If not post the mint grub.cfg here. Also post the output of
Code:
blkid

_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sat May 26, 2012 11:56 pm    Post subject: Reply with quote

DONAHUE wrote:
boot mint,open a terminal, run
Code:
 find / -name grub.cfg
which should return the path to your mint grub.cfg substitute the returned value and run
Quote:
grub-mkconfig -o path to your mint grub.cfg
Watch the output to see if gentoo is detected. nano path to your mint grub.cfg and check that an entry was made for gentoo. If not post the mint grub.cfg here. Also post the output of
Code:
blkid


Code:
find / -name grub.cfg
/usr/share/doc/grub-common/examples/grub.cfg
/boot/grub/grub.cfg


Code:
grub-mkconfig -o path to your mint grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Mac OS X on /dev/sda2
Found Windows 7 (loader) on /dev/sda4
Found Gentoo Base System release 2.1 on /dev/sda5
done


Mint grub.cfg config:
Code:
 #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt3)'
  search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="$1"
   if [ "$1" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 13 MATE 64-bit, 3.2.0-23-generic (/dev/sda3)' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt3)'
   search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
   linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=5f1ef484-ee6b-4dd1-a311-278094463efa ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-23-generic
}
menuentry 'Linux Mint 13 MATE 64-bit, 3.2.0-23-generic (/dev/sda3) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt3)'
   search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
   echo   'Loading Linux 3.2.0-23-generic ...'
   linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=5f1ef484-ee6b-4dd1-a311-278094463efa ro recovery nomodeset
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-23-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt3)'
   search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt3)'
   search --no-floppy --fs-uuid --set=root 5f1ef484-ee6b-4dd1-a311-278094463efa
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (32-bit) (on /dev/sda2)" --class osx --class darwin --class os {
   insmod part_gpt
   insmod hfsplus
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root db918ce416022404
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid db918ce416022404 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" --class osx --class darwin --class os {
   insmod part_gpt
   insmod hfsplus
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root db918ce416022404
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid db918ce416022404 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Windows 7 (loader) (on /dev/sda4)" --class windows --class os {
   insmod part_gpt
   insmod ntfs
   set root='(hd0,gpt4)'
   search --no-floppy --fs-uuid --set=root 641222E71222BE44
   chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun May 27, 2012 12:34 am    Post subject: Reply with quote

what you have posted shows mint's grub2 finding your gentoo install but not finding a kernel
boot mint, as root run
Code:
mount /dev/sda5 /mnt/gentoo
blkid
ls -l /mnt/gentoo
ls -l /mnt/gentoo/boot
post results of blkid and each ls -l here.
have you compiled a kernel and copied it to /boot in the gentoo chroot?
did you use manual kernel or genkernel?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sun May 27, 2012 1:41 am    Post subject: Reply with quote

DONAHUE wrote:
what you have posted shows mint's grub2 finding your gentoo install but not finding a kernel
boot mint, as root run
Code:
mount /dev/sda5 /mnt/gentoo
blkid
ls -l /mnt/gentoo
ls -l /mnt/gentoo/boot
post results of blkid and each ls -l here.
have you compiled a kernel and copied it to /boot in the gentoo chroot?
did you use manual kernel or genkernel?


Quote:
blkid

Code:
/dev/sda1: LABEL="EFI" UUID="70D6-1701" TYPE="vfat"
/dev/sda2: UUID="87088e1e-6d24-3d02-82b3-3e4f85e4b1c7" LABEL="OSX" TYPE="hfsplus"
/dev/sda4: LABEL="BOOTCAMP" UUID="641222E71222BE44" TYPE="ntfs"
/dev/sda5: LABEL="LinuxGentoo" UUID="d528c4c7-9353-45fa-8043-79b746052d4e" TYPE="ext4"
/dev/sda6: UUID="e4726b11-4c2b-3f18-bc5d-6343c614c136" LABEL="STORAGE" TYPE="hfsplus"
/dev/sda7: UUID="ac0a9530-e719-35f1-bd33-2d63f7a9d5ce" LABEL="DOWNLOADS" TYPE="hfsplus"
/dev/sda9: UUID="cb7dd2f1-325b-4db5-807d-9153a734321b" TYPE="ext4"
/dev/sda3: UUID="5f1ef484-ee6b-4dd1-a311-278094463efa" TYPE="ext4"
/dev/sda8: UUID="3dca167d-4d56-42e4-9731-73e8a24ec36a" TYPE="swap"


Quote:
ls -l /mnt/gentoo

Code:
total 72
drwxr-xr-x  2 root root 4096 May 24 05:23 bin
drwxr-xr-x  2 root root 4096 May 23 19:44 boot
drwxr-xr-x  3 root root 4096 May 23 19:44 dev
drwxr-xr-x 28 root root 4096 May 25 18:30 etc
drwxr-xr-x  2 root root 4096 May 23 19:44 home
lrwxrwxrwx  1 root root    5 May 24 01:21 lib -> lib64
drwxr-xr-x  2 root root 4096 May 24 03:39 lib32
drwxr-xr-x  5 root root 4096 May 24 05:15 lib64
drwxr-xr-x  2 root root 4096 May 23 19:44 media
drwxr-xr-x  2 root root 4096 May 23 19:44 mnt
drwxr-xr-x  2 root root 4096 May 23 19:44 opt
drwxr-xr-x  2 root root 4096 May 23 18:46 proc
drwx------  2 root root 4096 May 24 05:23 root
drwxr-xr-x  3 root root 4096 May 24 05:14 run
drwxr-xr-x  2 root root 4096 May 24 05:23 sbin
drwxr-xr-x  2 root root 4096 May 23 19:44 sys
drwxrwxrwt  2 root root 4096 May 24 05:26 tmp
drwxr-xr-x 13 root root 4096 May 25 18:11 usr
drwxr-xr-x  9 root root 4096 May 23 19:44 var


Quote:
ls -l /mnt/gentoo/boot


Code:
total 0


Quote:
have you compiled a kernel and copied it to /boot in the gentoo chroot?
did you use manual kernel or genkernel?


While following the directions I believe I compiled the kernel it was a post process just after I did the manual kernel config. But as I look into my boot dirctory there is nothing there ? So if I need to backup and start again , at what point do I start ?

Because I wasn't sure if I made mistakes during my manual kernel config , I'm starting over with genkernel. It is building now.

Thanks again.
_________________
MacUnkie
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sun May 27, 2012 1:52 am    Post subject: Kernal compiled successfully ! Still concerned ? Reply with quote

Code:
Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initramfs...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* With support for several ext* filesystems around it may be needed to
* add "rootfstype=ext3" or "rootfstype=ext4"

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.


Quote:
boot # ls
initramfs-genkernel-x86_64-3.2.12-gentoo kernel-genkernel-x86_64-3.2.12-gentoo System.map-genkernel-x86_64-3.2.12-gentoo


Is this what should be in my boot directory ?
_________________
MacUnkie
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sun May 27, 2012 2:25 am    Post subject: Code Listing 1.1: Installing a system logger Error Reply with quote

Code:
Total: 15 packages (13 new, 1 in new slot, 1 reinstall), Size of downloads: 31,505 kB

 * Error: circular dependencies:

(dev-libs/glib-2.30.3::gentoo, ebuild scheduled for merge) depends on
 (dev-util/gtk-doc-1.18-r1::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-libs/glib-2.30.3::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-libs/glib-2.30.3 (Change USE: -doc)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/libxml2:2

  (dev-libs/libxml2-2.8.0_rc1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-libs/libxml2-2.8.0_rc1::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/libxml2-2.6.12[python] required by (app-text/gnome-doc-utils-0.20.10::gentoo, ebuild scheduled for merge)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.

_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun May 27, 2012 2:50 am    Post subject: Reply with quote

item 1:
blkid reported:
Quote:
/dev/sda5: LABEL="LinuxGentoo" UUID="d528c4c7-9353-45fa-8043-79b746052d4e" TYPE="ext4"


So /etc/fstab needs to say /dev/sda5 is ext4 as in:
Quote:
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/sda5 / ext4 noatime 0 1
/dev/sda8 none swap sw 0 0


item 2:
if you compile a manual kernel you need to copy it to /boot

item 3
/boot now appears to contain all necessary items

item 4
emerge problems
it is best to have USE="" in /etc/make.conf at this point in time. subsequently add use flags locally or globally on an as needed basis. run
Code:
 eselect profile list
and post the result please. in general selecting a profile will provide an appropriate and relatively sane and safe set of use flags. please post the content of /etc/make.conf.

item 5
when next in mint but not in chroot run
Code:
grub-mkconfig -o /boot/grub/grub.cfg
Hopefully now it will find your initramfs and kernel and generate menu items
_________________
Defund the FCC.
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Sun May 27, 2012 5:44 pm    Post subject: Live and Learn - Starting Over Reply with quote

I backtracked and rebuilt the kernel.
Went though all the config steps.
Then decided to try and install grub (it was mentioned by someone that they didn't recommend it because it messed up their legacy ? )
None the less when I rebooted my rEFit boot manager finally recognized an additional linux partition install.
When I selected it all sort of error messages , mainly not being able to boot "relative how my gentoo grub.conf was set)
Next I tried rebooting and choosing the "Other penguin icon" in hopes of booting into my Mint install and wham same error !!
So unless I can find a way to mount and get into the sda3 partition within mac, (I'm using the diskutil function at the command line and so far I can't mount it),
I'll be starting all over by first reinstalling "Mint", then once again trying to install gentoo again.
Before I install, this time I'm going to repartition and create a /boot partition for the gentoo install. Don't know if it will help, but the default instruction is based on this configuration.
I have OCD with my computer, so I'll be starting again.

Opps.........
_________________
MacUnkie
Back to top
View user's profile Send private message
MacUnkie
n00b
n00b


Joined: 19 May 2012
Posts: 49
Location: Northern Nevada

PostPosted: Mon May 28, 2012 3:59 am    Post subject: New Install of Gentoo Complete Boot ? Reply with quote

So I successfully built the kernel with:
Code:
/dev/sda10   /boot  /dev/sda5 root and sda8 as swap

I had some issues with emerge systemlog-ng (my output notes are on my Mint desktop and I'm writing in OSX right now)
None the less I obviously don't want to install grub via gentoo again and see my Mint grub trashed again.
So I'm wondering if an install of Lilo (sp?) would work. It mentions writing to the MBR etc so not sure if Id get the same results with a grub crash. My Bootloader manager (rFIT) only recognizes a partion with a "grub" install I believe.
So I'm stuck, I have a build of 3.2.12-gentoo installed and have no idea how to boot it !

Thanks for any help !
_________________
MacUnkie
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon May 28, 2012 4:04 am    Post subject: Reply with quote

when next in mint but not in chroot run
Code:
grub-mkconfig -o /boot/grub/grub.cfg

Hopefully now it will find your initramfs and kernel and generate a gentoo menu in the mint grub.cfg
_________________
Defund the FCC.
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
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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