View previous topic :: View next topic |
Author |
Message |
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Tue Apr 30, 2013 8:55 pm Post subject: Error 15: File not found Grub installer |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Apr 30, 2013 9:46 pm Post subject: |
|
|
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:
will tell you the file system on the boot partition
will tell you sectors embedded and success
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 |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Tue Apr 30, 2013 11:22 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Apr 30, 2013 11:39 pm Post subject: |
|
|
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 |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 01, 2013 12:58 am Post subject: |
|
|
Code: | mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot |
_________________ Defund the FCC. |
|
Back to top |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Wed May 01, 2013 2:01 am Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 01, 2013 2:36 am Post subject: |
|
|
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 |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Wed May 01, 2013 2:43 am Post subject: |
|
|
when hitting enter on the following command i get Code: | /usr/bin/wgetpaste: /boot/grub/grub.conf No such file found | . |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 01, 2013 2:47 am Post subject: |
|
|
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 |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Wed May 01, 2013 2:49 am Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 01, 2013 3:18 am Post subject: |
|
|
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 |
|
|
bender_singh n00b
Joined: 30 Apr 2013 Posts: 7
|
Posted: Thu May 02, 2013 2:45 am Post subject: |
|
|
I cant get it to work, can i send u a PM and can u fix it for me? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu May 02, 2013 5:59 am Post subject: |
|
|
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 |
|
|
|