Hey all, I've tried to set up gentoo-current on my mac book, I used the minimal cd, I've been following along with the gentoo hand book
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml and also the wiki page for gentoo on a mac book
http://gentoo-wiki.com/HARDWARE_Apple_MacBook
Please note this is my first time I have attempted to install gentoo (and got this far).
my problem is I can't get the system to get past the below output:
Code:
Please append a correct "root=" boot option; here are the available partitions:
0300 514048 hda driver: ide-cdrom
0800 58605120 sda driveR: sd
0801 204800 sda1
0802 29360128 sda2
0803 28909080 sda3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,4)
My root partition is on /dev/sda4, this isn't even listed :/ I'm really confused by this.
I have included a copy of my fstab
Code:
livecd / # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pa ss>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda3 /boot ext2 noauto,noatime 1 2
/dev/sda4 / ext3 noatime 0 1
/dev/cdrom /mnt/cdrom audo noauto,ro 0 0
procs /proc proc defaults 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Here is my fdisk /dev/sda output
Code:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 26 204819+ ee EFI GPT
/dev/sda2 26 3681 29360128 af Unknown
/dev/sda3 * 3681 3685 34814+ 83 Linux
/dev/sda4 3686 7296 29005357+ 83 Linux
/dev/sda3 is my boot partition and /dev/sda4 is my root partition
My lilo config file is below:
Code:
livecd / # cat /etc/lilo.conf
#
# Global LILO settings
#
boot=/dev/sda
timeout=5
default=gentoo
#
# Kernel specific LILO settings
#
image=/boot/vmlinuz-2.6.22-gentoo-r5-mactel-mactelpatches-macbook-core2duo
#
# Uncomment the next line if your MacBook locks up
# during boot with an APIC-related error message
# or if you see strange keyboard problems (double-chars).
#
#append="noapic acpi=force irqpoll"
label=gentoo
read-only
root=/dev/sda4
And this is what happens when I type lilo, I'm also confused about this warning, I've looked it up on google and I can't find anything useful related to it.
Code:
livecd / # lilo
Warning: LBA32 addressing assumed
Added gentoo *
One warning was issued.
livecd / #
finally, here is my .config that I used to configure my kernel.
I have uploaded it to paste bin because this post was too long when it was included
http://pastebin.com/f2cccbba4
The kernel version I compiled was 2.6.22, I obtained this by issuing
emerge gentoo-sources.
I'd appreciate any help you people can offer.
Thanks for reading my thread and thanks for your help.
My root partition is ext3 and my boot partition is ext2.
mr.gizm0