Hi,
I've got a nice stage1 gentoo install on my amd64 (kernel : 2.6.10-gentoo-r2) with the latest cd's.
But now I'm configuring grub (i've done several gentoo installs before on x86).
But this happens:
Code:
grub-install --rootdirectory=/boot /dev/sda
The file /boot/boot/grub/stage1 not read correctly
I'm using the genkernel , and I've got atm 2 sata disks (1 is used though, the other one will be used for ftp-serving etc).
this is my mtab:
Code:
rootfs / rootfs rw 0 0
tmpfs / tmpfs rw,noatime 0 0
devfs /dev devfs rw 0 0
/newroot/dev/cdroms/cdrom0 /mnt/cdrom iso9660 ro 0 0
/dev/loop/0 /mnt/livecd squashfs ro 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
tmpfs /mnt/livecd/usr/lib/hotplug/firmware tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/sda3 / ext3 rw 0 0
none /proc proc rw,nodiratime 0 0
/dev/sda1 /boot ext2 rw 0 0
/dev/fd0 /mnt/floppy msdos rw 0 0
this is my fstab:
Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03
:38 azarah Exp $
#
# 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 and tail freely.
# <fs> <mountpoint> <type> <opts>
<dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noatime 1 1
#/dev/ROOT / ext2 noatime
0 0
#/dev/SWAP none swap sw
0 0
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 ro
0 0
#/dev/fd0 /mnt/floppy auto
0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults
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)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults,noatime
0 0
/dev/sda1 /boot ext2 defaults,noatime
1 2
/dev/sda2 none swap sw
0 0
/dev/sda3 / ext2 defaults,noatime
0 1
this is my grub.conf:
Code:
default 0
timeout 30
title=Gentoo Linux 2.6.10-r2
root (hd0,0)
kernel /kernel-2.6.10-gentoo-r2 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /initrd-2.6.10-gentoo-r2
this is my device.map:
Code:
(hd0) /dev/sda
(hd1) /dev/sdb
this is the content of /boot:
Code:
drwxr-xr-x 5 root root 1024 Jan 9 16:08 .
drwxr-xr-x 20 root root 4096 Jan 8 21:52 ..
drwxr-xr-x 3 root root 1024 Jan 9 16:08 boot
drwxr-xr-x 2 root root 1024 Jan 9 16:18 grub
drwx------ 2 root root 12288 Jan 8 02:30 lost+found
should that grub folder be there???
the file which could'nt be read (I guess, the error is not in correct english) does exist and contaisn some binary stuff.
Thanks in advance