Did you "mount /boot" before copying the kernel?Rukie wrote:I setup everything with a * instead of module, and I still get the same error
Please specify valid root= and such.. any ideas?


Thanks slycordinator, I just moved successfully the bZimage to my /boot as it explains in the handbook. My system boots, but now I have a different obstacle preventing me from using gentoo. I made a post here with the error message: http://forums.gentoo.org/viewtopic-t-467790.htmlslycordinator wrote:http://www.gentoo.org/doc/en/handbook/h ... t=1&chap=7Drone4four wrote:Thanks for answer. Am I supposed to copy the entire kernel directory? Wouldn't that be larger than 32MBs? Like I stated before, my /boot partition is hda1 and only 32MBs large. Do I just need a directory named "2.6.16"?
Look at section called "compiling and installing"

Code: Select all
Booting 'gentoo Linux'
root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/kernel-2.4.20 root=/dev/hda3 vga=792
Error 15: File not found
Press any key to continue...Why not just symlink it?dae1 wrote:I have something to contribute regarding Grub Error #15:
This problem kept coming up for me all week and I had gone through the forums and found a lot of answers that didn't help me. Well, I recall in the Grub FAQ that one way was to compile grub in /boot/boot. I found a workaround that.Code: Select all
Booting 'gentoo Linux' root (hd0,1) Filesystem type is ext2fs, partition type 0x83 kernel /boot/kernel-2.4.20 root=/dev/hda3 vga=792 Error 15: File not found Press any key to continue...
This is the following steps I did to fix this particular error:
1. Use the install CD and redo the mount procedures especially boot.
2. goto /boot, $> cd /boot
3. Make another boot directory, $> mkdir boot .
4. Copy the kernel or move (whichever you prefer), into the newly made boot directory. cp kernel /boot/boot.
5. Unmount and reboot.
After that, it worked fine for me. It solved my VFS no root= or (hd0,0) found error.
This setup works for a dual boot with windows set at (hd0,0) and gentoo at (hd0,1; hd0,2; hd0,3)
Hope that helps.
Code: Select all
# cd /boot
# ln -s ./ boot
Code: Select all
# ls /boot
total 2635
-rw-r--r-- 1 root root 763030 Jun 4 23:33 System.map
lrwxrwxrwx 1 root root 1 Jun 4 13:53 boot -> .
-rw-r--r-- 1 root root 33002 Jun 4 23:34 config-2.6.16.9
drwxr-xr-x 2 root root 1024 Jun 5 00:12 grub
-rw-r--r-- 1 root root 1872267 Jun 4 23:33 kernel-2.6.16.9
drwx------ 2 root root 12288 Jun 4 13:23 lost+foundCode: Select all
# cat /boot/grub/grub.conf
default 0
timeout 10
title Gentoo Linux 2.6.16.9
root (hd2,0)
kernel /boot/kernel-2.6.16.9 root=/dev/hda4
title Windows XP
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,1)
makeactive
chainloader +1Code: Select all
# cat /etc/fstab
/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda4 / reiserfs noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/hdd /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0Code: Select all
# fdisk /dev/hda -> p
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2446 19543072+ c W95 FAT32 (LBA)
/dev/hda3 2447 2690 1959930 82 Linux swap / Solaris
/dev/hda4 2691 9964 58428405 83 Linux
replace with:hjkelly wrote:title Gentoo Linux 2.6.16.9
root (hd2,0)
kernel /boot/kernel-2.6.16.9 root=/dev/hda4
EDIT: you dont need to map anything, as your windows is on the master drive.title Gentoo Linux 2.6.16.9
root (hd0,0)
kernel /boot/kernel-2.6.16.9 root=/dev/hda4

what exactly do you have in mind by "it"?hjkelly wrote:Thanks so much, vesselin! I'm not sure what was happening there, because typing root (hd0,0) in the grub menu before gave me the reiserfs type, which was my SATA drive. Could anyone explain how this works?

root (hdx,y) *1
kernel /boot/kernel_name_here *2 root=/dev/hdx *3
kernel (hd0,0)/kernel_name root=/dev/hdax


I'm getting Error 15 and wondering:dae1 wrote:I have something to contribute regarding Grub Error #15:


Shouldn't it be:Duminas wrote:
Why not just symlink it?Code: Select all
# cd /boot # ln -s ./ boot
Code: Select all
# cd /boot
# ln -s . /bootCode: Select all
# cd /boot
# ln -s .
It should be no problem. If it starts to boot, then it's ok. Just take a look into the handbook how disks and partitions are named in Grub and fstab.airmig wrote:Is it possible to have 1 partition for everything. - dont ask why but how how would the fstab and grub config would look like?
I get it to boot but I cant get it to mount root. It says root=/dev/sda1 not working.


Code: Select all
root=/dev/sda1 not working.
Code: Select all
mount /mnt/sda6
mount /dev/sda3 /mnt/sda6/boot
chroot /mnt/sda6 /bin/bash
grub-install /dev/sdaI found a suggestion here: http://www.cyberciti.biz/faqs/2006/05/e ... ve-any.php that said I should run/dev/sda does not have any corresponding BIOS drive.
Code: Select all
grub-install --recheck /dev/sdaRunning a "manual" grub install looks like this:Probing devices to guess BIOS drives. This may take a long time.
/sbin/grub-install: line 342: /dev/null: Permission denied
/dev/sda does not have any corresponding BIOS drive.
Knoppix / # fdisk -lgrub> root (hd0,2)
Error 21: Selected disk does not exist
grub>
Code: Select all
# # mkdir mounted
# # mount /dev/ide/host0/bus0/target0/lun0/part5 mounted
# # chroot mounted /bin/bash
# # grub-install /dev/hdaorsh-3.00# mount /dev/ide/host0/bus0/target0/lun0/part2 /mnt/sda1
mount: special device /dev/ide/host0/bus0/target0/lun0/part2 does not exist
sh-3.00#
Apologies if this is covering posts already described. I've googled and experimented for over 4 hours now, and briefly searched the gentoo forums before posting, but was frusturated by the broad results returned by the searches (and the inability to filter through these 14 pages of sticky-thread). There are many similar issues, but most seem to be solved by "chroot, grub-install." Why am I having so much trouble? I was hoping to use my laptop to do some work while traveling this weekend, but I'm beginning to despair.sh-3.00# mount /dev/sde/host0/bus0/target0/lun0/part2 /mnt/sda1
mount: special device /dev/sde/host0/bus0/target0/lun0/part2 does not exist
(a path prefix is not a directory)
sh-3.00#

Code: Select all
mount -t <fstype> /dev/ROOT /mnt/gentoo
mount -t <fstype> /dev/BOOT /mnt/gentoo/boot
swapon /dev/...
mount -t proc /proc /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev Code: Select all
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profileCode: Select all
export PS1="(chroot) $PS1"