You are not logged in.

#1 2012-03-18 00:22:02

kjonas
Member
Registered: 2012-03-18
Posts: 6

Error 15: File not found [SOLVED]

Hello Archers,

This is my first installation of Arch.  The system was up, until a recent update (pacman -Syu).  Now I get the following error at boot:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernal /vmlinuz_linux root=/dev/disk/by-uuid/32fb...

Error 15: File not found

I used Arches autopartition function, to the root partition is sda3, the boot partition is sda1.  The uuid in the root= line points to sda3, which is a jfs filesystem.

I've tried editing the grub/menu.lst file, trying different root partitions.  None allow arch to boot.  There is an sdb partition with a Windows recovery OS.

Any ideas? 

Thank you in advance for helping.

Last edited by kjonas (2012-03-22 21:00:37)

Offline

#2 2012-03-18 01:36:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error 15: File not found [SOLVED]

Just to get some obvious things out of the way, the line should say

kernel /vmlinuz-linux <blah blah blah>

- you have a typo or two there.


Did you check if you do have the needed files in your /boot?

Offline

#3 2012-03-18 02:22:28

kjonas
Member
Registered: 2012-03-18
Posts: 6

Re: Error 15: File not found [SOLVED]

Thank you for your reply karol. You're right in pointing out that I've made some transcription errors.  Those are not in the original error. I've run:

# find /boot -name 'vmlinuz-linux'
# find / -name 'vmlinuz-linux'

Nothing turns up. Right now the system is running from a usb drive. Is the answer so simple as to be that I somehow deleted this file?

Last edited by kjonas (2012-03-18 02:22:56)

Offline

#4 2012-03-18 02:47:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error 15: File not found [SOLVED]

More likely /boot wasn't mounted when you did the update.
Chroot into your system, make sure to mount /boot and regenerate the kernel image.

Offline

#5 2012-03-18 20:31:26

kjonas
Member
Registered: 2012-03-18
Posts: 6

Re: Error 15: File not found [SOLVED]

Do you want to chroot into the system first, then mount and regenerate the kernal?  I've read the chroot section of the wiki, as well as a few how tos, but it's still not quite clear what Chroot does. Am I sort of breaking into my own system?  Why does the wiki instruct you to make a new directory before mounting?

Thanks for your advice.

Offline

#6 2012-03-18 20:41:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error 15: File not found [SOLVED]

chroot first, then run mkinitcpio.

You don't have to create a new directory if you already have one that suits you. You simply have to mount the device somewhere, the mountpoint has to exist.


If you want more info wrt to what chroot is, try googling around e.g. http://webcache.googleusercontent.com/s … pl&client=

Offline

#7 2012-03-18 21:12:14

kjonas
Member
Registered: 2012-03-18
Posts: 6

Re: Error 15: File not found [SOLVED]

Okay. So I ran

 mount /dev/sda1 /mnt/boot 

and got the error: /mnt/boot does not exist.

So then

 mkdir /mnt/boot 
mount  /dev/sda1 /mnt/boot
 mkinitcpio

Which returns

==> ERROR: '/lib/modules/3.0-Arch' is not a valid kernel directory.

Does that mean I should mount the root directory instead? When I try, there's an error because it is a jfs file system.

Offline

#8 2012-03-18 21:13:04

kjonas
Member
Registered: 2012-03-18
Posts: 6

Re: Error 15: File not found [SOLVED]

P.S. thanks for the link, it is really helpful.

Offline

#9 2012-03-22 20:57:58

kjonas
Member
Registered: 2012-03-18
Posts: 6

Re: Error 15: File not found [SOLVED]

For anyone who might run into a similar problem, here is the code I used to mount the /boot partition and regenerate the kernal;

 
mount /dev/sda3 /mnt             ##mounts the /root partition
mount /dev/sda1 /mnt/boot      ##mounts /boot
mount -t proc none /mnt/proc  ##brings over any processes necessary, none are needed
mount -t sysfs none /mnt/sys  ##brings over system files, non needed
mount --bind /dev /mnt/dev
chroot /mnt                            ##changes root to the mounted partition
pacman -S util-linux-ng
pacman -Syu linux
mkinitcpio -p linux
umount /-f /mnt                      ## unmount the partition
reboot

Offline

Board footer

Powered by FluxBB