Karol Krizka wrote:
On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
my grub.conf:
' default 0
timeout 5
splashimage=(hd0.0)/grub/splash.xpm.gz
title=linux-2.6.13
root (hd0.0)
kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc
ramdisk-8193 real_root=/dev/hda3 udev
initrd /initrd'
I have the sameconfig and it works ok exept the name of /initrd I
have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the problem?
I see hoew by saying root (hd0,0) leaves things relative to /boot. But
there is no linuxrc in /boot. I think this is the prob.
/linuxrc is in the initramfs thing so that's not the problem.
The error code is 15.
Thanks
Craig Webster wrote:
On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
Dmitri Pogosyan wrote:
Not really, you can use initramfs in place of initrd. I have in
grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel /
kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc
real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
Dear list, I have just started using Gentoo and up-to-now am
impressed. I have generated a kernel using 'genkernel' and the
kernel is in /boot. However, I do not have 'initrd' but
'initramfs'. is this a problem or should I modify grub
appropriately? Gavin. -- [email protected] mailing list
I noticed your files are in / not /boot where mine are. Should I
mv them?
They're in / only on the boot partition ie they are in the root of
(hd0,0).
If you are specifying your files as living in /boot on the boot
partition then this could stop your system booting fully.
Perhaps you could post your grub.conf?
Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: [EMAIL PROTECTED]
Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net
grub.conf
'default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=linux-2.6.13
root (hd0,0)
kernel /genkernel-x86_64-2.6.13-gentoo-r3 root=/dev/ram0
init=/initramfs-genkernel-x86_64-2.6.13-gentoo-r3 ramdisk=8192
real_boot=/dev/hda3 udev
initrd /initrd'
fstab
'# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1
2005/01/31 23:05:14 vapier 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 / tail freely.
#
# 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/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
#proc /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)
#shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
#my fstab
/dev/hda1 /boot ext3 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
'
I wondered, should /boot be ext2? Or should I use some of the 'default'
entries?
Thanks.
I looked at the url mentioned it tells me my error(15) is grub not
finding my kernel. How do I tell grub to boot my kernel from the
command line? It tells me the kernel needs to be loaded first.
Gavin.
--
[email protected] mailing list