Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error 15: File not found Grub installer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bender_singh
n00b
n00b


Joined: 30 Apr 2013
Posts: 7

PostPosted: Tue Apr 30, 2013 8:55 pm    Post subject: Error 15: File not found Grub installer Reply with quote

Hi, I am new to this forum and i just got done installing gentoo minimal install using virtual box and i got to the final step which was rebooting the system. When i did that and unchecked boot from iso it pops up the bootloader but when i press enter it says Error 15: File not found Press any key to continue. Can somebody please help me fix this issue? I am installing gentoo for my final exam that is due Thursday which is worth a huge grade. Any help will be appreciated!!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Apr 30, 2013 9:46 pm    Post subject: Reply with quote

boot the cd, mount the gentoo partitions, enter the chroot, nominally:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
Then
Code:
emerge grub
grub
find /boot/grub/stage1
the return to the last command will be in the format (hdx,y) substitute the returned values for x and y in the following:

Code:
root (hdx,y)
will tell you the file system on the boot partition
Code:
setup (hdx)
will tell you sectors embedded and success
Code:
quit
edit /boot/grub/grub.conf to: (nominally)
Quote:
default 0
timeout 5
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo
root (hd0,0)
kernel /boot/<the name you gave the kernel exactly as found by running ls /boot> root=/dev/sda3

make a graceful exit:

Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot


if you have more than one disk, are using a vm, lvm, raid, partitions not as in the handbook, or some other variation you might mention if problems persist
_________________
Defund the FCC.
Back to top
View user's profile Send private message
bender_singh
n00b
n00b


Joined: 30 Apr 2013
Posts: 7

PostPosted: Tue Apr 30, 2013 11:22 pm    Post subject: Reply with quote

When i try to boot it i get this

Booting 'Gentoo Linux 3.7.10-r5'

root (hd0,0)
Filesystem type is ext2fs, partition type is 0x83
Kernel /boot/kernel-genkernel-x86-3.7.10-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3

Error 15: File not found

Press any key to continue...

When i press continue and press c for command prompt it gives me grub>
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Tue Apr 30, 2013 11:39 pm    Post subject: Reply with quote

Quote:
Kernel /boot/kernel-genkernel-x86-3.7.10-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
kernel not Kernel

and this line should normally be followed by an initrd line as in
Quote:
initrd /boot/initramfs-genkernel-x86-3.7.10-gentoo-r5


boot gentoo minmal install cd or sysresccd and mount the gentoo partitions, then run
Code:
wgetpaste /mnt/gentoo/boot/grub/grub.conf
wgetpaste /mnt/gentoo/etc/fstab
fdisk -l | wgetpaste
ls -l /mnt/gentoo/boot | wgetpaste
post the url's returned

edited to correct paths
_________________
Defund the FCC.


Last edited by DONAHUE on Wed May 01, 2013 2:39 am; edited 1 time in total
Back to top
View user's profile Send private message
bender_singh
n00b
n00b


Joined: 30 Apr 2013
Posts: 7

PostPosted: Wed May 01, 2013 12:35 am    Post subject: Reply with quote

Know to do the steps u mentioned do i have to follow this? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?chap=4&part=1 i forgot, how do u mount the partions again? i confused right know
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed May 01, 2013 12:58 am    Post subject: Reply with quote

Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot

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


Joined: 30 Apr 2013
Posts: 7

PostPosted: Wed May 01, 2013 2:01 am    Post subject: Reply with quote

ok, first boot gentoo and enter the following commands in
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
Then post these following commands in?
Code:
wgetpaste /boot/grub/grub.conf
wgetpaste /etc/fstab
fdisk -l | wgetpaste
ls -l /boot | wgetpaste
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed May 01, 2013 2:36 am    Post subject: Reply with quote

boot gentoo cd then run
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
wgetpaste /mnt/gentoo/boot/grub/grub.conf
wgetpaste /mnt/gentoo/etc/fstab
fdisk -l | wgetpaste
ls -l /mnt/gentoo/boot | wgetpaste
post the url's returned

good catch, good question
_________________
Defund the FCC.
Back to top
View user's profile Send private message
bender_singh
n00b
n00b


Joined: 30 Apr 2013
Posts: 7

PostPosted: Wed May 01, 2013 2:43 am    Post subject: Reply with quote

when hitting enter on the following command i get
Code:
/usr/bin/wgetpaste: /boot/grub/grub.conf No such file found
.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed May 01, 2013 2:47 am    Post subject: Reply with quote

boot gentoo cd then run
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
wgetpaste [b]/mnt/gentoo[/b]/boot/grub/grub.conf
wgetpaste[b] /mnt/gentoo[/b]/etc/fstab
fdisk -l | wgetpaste
ls -l[b] /mnt/gentoo/[/b]boot | wgetpaste
post the url's returned

I screwed up making it easy; note the change in path in my corrected versions
_________________
Defund the FCC.
Back to top
View user's profile Send private message
bender_singh
n00b
n00b


Joined: 30 Apr 2013
Posts: 7

PostPosted: Wed May 01, 2013 2:49 am    Post subject: Reply with quote

what does the b in the bracket stand for? if i cant get it can i just sent u the virtual box image and can fix it for me?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed May 01, 2013 3:18 am    Post subject: Reply with quote

boot gentoo cd then run
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
wgetpaste /mnt/gentoo/boot/grub/grub.conf
wgetpaste /mnt/gentoo/etc/fstab
fdisk -l | wgetpaste
ls -l /mnt/gentoo/boot | wgetpaste
post the url's returned

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


Joined: 30 Apr 2013
Posts: 7

PostPosted: Thu May 02, 2013 2:45 am    Post subject: Reply with quote

I cant get it to work, can i send u a PM and can u fix it for me?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Thu May 02, 2013 5:59 am    Post subject: Reply with quote

enter your virtual machine, boot the gentoo cd or sysresccd to a network connection, mount the gentoo partitions, run
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
wgetpaste /mnt/gentoo/boot/grub/grub.conf
wgetpaste /mnt/gentoo/etc/fstab
fdisk -l | wgetpaste
ls -l /mnt/gentoo/boot | wgetpaste
post the url's returned
_________________
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
Page 1 of 1

 
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