You are not logged in.

#1 2006-01-20 16:00:16

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

error 15 persists (solved)

I installed the archck kernel and ran into problems. Therefore, I reinstalled the old kernel, reinstalled Grub, uninstalled the archck kernel but all to no avail. Everytime I try to boot up I get an error 15 message. I have booted up with Knoppix and am online. Any help would be greatly appreciated.

Offline

#2 2006-01-20 17:32:36

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

Okay...
So the arch kernel did work fine the first time?
Is it the same version this time?

what does

mount

return?
i.e. do you boot the correct partition from grub.

if that's okay, then, are you totally sure which kernel boots? what does

pacman -Q | grep kernel

give you? what about

cat /boot/grub/menu.lst

hope that helped


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#3 2006-01-20 17:46:01

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I used the same kernel I had before I changed. (I used the kernel in cache as I couldn't go on line with this computer last night.) It worked fine and rebooted fine before I changed kernels but changing kernel's destroyed grub. My computer is rather simple with an ide harddrive and it only has Arch on it. hda1 is boot, hda2 swap, and hda3 is /.

mount........./dev/hda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)

pacman -Q | grep kernel...........kernel26 2.6.15-2

cat: /boot/grub/menu.1st: No such file or directory

(The menu.1st is in /boot/grub and it looks clean.)

Offline

#4 2006-01-20 18:41:24

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

firstly, it is l as in L in menu.lst , not 1.

secondly, my mistake, I forgot you currently were in Knoppix, not Arch tongue

Or are you, as you have /hda3 mounted on / ?
in Knoppix, first mount hda1 and hda3.

mount /mnt/hda1
mount /mnt/hda3

then, try

ls /mnt/hda1
ls /mnt/hda3/boot
cat /mnt/hda3/etc/fstab
sudo cat /mnt/hd1/grub/menu.lst

post the output you get from the later commands


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#5 2006-01-20 19:00:32

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

apropos menu.lst vs menu.1st....oops. I never noticed that.

ls /mnt/hda1
System.map26archck           initrd-2.6.15-archck.img  kconfig26archck
diag1.img                    initrd26-full.img         lost+found
grub                         initrd26.img              vmlinuz26archck
initramfs-2.6.15-archck.img  kconfig26.pacsave

ls /mnt/hda3/boot

System.map26  grub  initrd26-full.img  initrd26.img  kconfig26  vmlinuz26

cat /mnt/hda3/etc/fstab

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cdrom   iso9660      ro,user,noauto,unhide   0 0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0
/dev/sda               /mnt/usb       vfat    user,noauto,uid=trapdoor,gid=users,sync

/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0

sudo cat /mnt/hda1/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS
#
#  Old /dev    DevFS                    Grub
# -----------------------------------------------
#  /dev/fd0    /dev/floppy/0            (fd0)
#  /dev/hda    /dev/discs/disc0/disc    (hd0)
#  /dev/hdb2   /dev/discs/disc1/part2   (hd1,1)
#  /dev/hda3   /dev/discs/disc0/part3   (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +----------------------------------------+
#          | 640x480 800x600 1024x768 1280x1024
#      ----+-----------------------------------
#      256 |   0x301   0x303    0x305     0x307
#      32K |   0x310   0x313    0x316     0x319
#      64K |   0x311   0x314    0x317     0x31A
#      16M |   0x312   0x315    0x318     0x31B
#     +----------------------------------------+

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#-*

# (0) Arch Linux
title  Arch Linux  [/boot/vmlinuz26]
root   (hd0,0)
kernel (hd0,0)/vmlinuz26 root=/dev/hda3 vga=773 ro
initrd /initrd26.img

Offline

#6 2006-01-20 22:22:04

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

Well there you have it.

seems you did not have hda1 mounted when you reinstalled the kernel, so it put the files directly in (hda3)/boot/ instead, naturally.

your fstab seems okay even though

move everything from /mnt/hda3/boot to /mnt/hda1 and you should be fine.

mv /mnt/hda3/boot /mnt/hda1

(i hope you don't take offense for me listing simple commands, you seem to find you're way, but others might not)

Notice also, that you can probably have both kernel26 and kernel26archck installed simutaneously, and choose which to boot at boottime. Can't verify it though, as i just get failed downloads at the moment when trying to install, but don't worry, pacman will complain if i'm wrong.
When back in your arch environment, make sure hda1 i mounted (check what <i>mount</i> spits out), and install the kernels.
In menu.lst, add the following:

# (0) Arch Linux
title Arch Linux ck [/boot/vmlinuz26archck]
root (hd0,0)
kernel (hd0,0)/vmlinuz26archck root=/dev/hda3 vga=773 ro
#Somebody verify the following line (not 100% sure which .img should be used)
initrd /initrd-2.6.15-archck.img

good luck!


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#7 2006-01-21 05:18:23

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I moved the boot to hda1 as you wrote. But I still can't boot in. I tried removing the kernel and reinstalling grub and the kernel. (with hda1 mounted) Here is what I have for hda1 and hda3/boot.

ls /mnt/hda1
System.map26archck  initramfs-2.6.15-archck.img  kconfig26.pacsave
boot                initrd-2.6.15-archck.img     kconfig26archck
diag1.img           initrd26-full.img            lost+found
grub                initrd26.img                 vmlinuz26archck
ls /mnt/hda3/boot/
System.map26  grub  initrd26-full.img  initrd26.img  kconfig26  vmlinuz26

ps. I take absolutely no offence to keeping things simple. This is a forum for us to learn. Besides there is a certain sense in which we can only become wise by attention to simple things.

Offline

#8 2006-01-21 09:48:38

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

Mm, sorry, it was in the middle of the night when i wrote last, didn't see my own mistake...
it should have been

mv /mnt/hda3/boot/* /mnt/hda1

Before you go on you might want to backup your boot, just for safety, (at least if you have some own configuration that you want to save)
e.g.

sudo mkdir /mnt/hda3/root/boot
sudo cp -a /mnt/hda1/* /mnt/hda3/root/boot

You can remedy the earlier move by running

mv /mnt/hda1/boot/* /mnt/hda1/

#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#9 2006-01-21 17:48:13

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

Well now i get to the busy box screen with umount: /initrd:no such file or directory.

I read the forum and tried to run mkinitrd auto but hwdetect says I have no kernel.

[root@Knoppix /]# mkinitrd auto
Checking Input...
    Making image for standard Arch kernel (2.6.15-ARCH)...
Setting up Parameters...
hwdetect aborted -- you need a kernel >= 2.6.12
hwdetect aborted -- you need a kernel >= 2.6.12
hwdetect aborted -- you need a kernel >= 2.6.12
    /lib/modules/2.6.15-ARCH found
    Creating loopback devices (temporarily)
Creating Initial RAM Disk...

Offline

#10 2006-01-21 19:30:27

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

well, do you actually have /initrd on hda3 ? if not, create it.
what does

pacman -Q | grep kernel

spit out?


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#11 2006-01-22 05:23:09

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

grep results:

[root@Knoppix /]# pacman -Q | grep kernel
kernel26 2.6.15.1-2

apropos /initrd on hda3. Do you mean create the directory /initrd on hda3/boot?

My hda1 now has two grub directories...

root@2[knoppix]# ls /mnt/hda1/grub
e2fs_stage1_5  menu.lst          minix_stage1_5     vstafs_stage1_5
fat_stage1_5   menu.lst.pacnew   reiserfs_stage1_5  xfs_stage1_5
ffs_stage1_5   menu.lst.pacnew~  stage1
jfs_stage1_5   menu.lst~         stage2
root@2[knoppix]# ls /mnt/hda1/boot/grub
device.map     iso9660_stage1_5  minix_stage1_5     stage2_eltorito
e2fs_stage1_5  jfs_stage1_5      reiserfs_stage1_5  ufs2_stage1_5
fat_stage1_5   menu.lst          stage1             vstafs_stage1_5
ffs_stage1_5   menu.lst.pacnew   stage2             xfs_stage1_5

Where should /grub be?

ps. Thank you for your patience in helping me.

Offline

#12 2006-01-22 10:14:44

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: error 15 persists (solved)

cure your error 15 by re-installing grub it's the easiest way....

I dont mean with pacman...

i mean with grub-install

you can do this from the install cd or another live disk there is a guide on the wiki

Offline

#13 2006-01-22 10:33:33

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I have been having problems installing grub as well.

[root@Knoppix /]# install grub /dev/hda /dev/hda1
install: installing multiple files, but last argument, `/dev/hda1' is not a directory
Try `install --help' for more information.

This is the last reinstall. The time before I tried
#grub
grub> root...etc

(Sorry I don't know what to name this method of installation.)

My problem now is that I get past the error 15 but only to get into busybox. (see above.) If I knew that this problem is not related to this thread I would start a new one.

Offline

#14 2006-01-22 10:47:18

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: error 15 persists (solved)

if your trying to boot kernel26archck

you need
initramfs-2.6.15-archck.img

if your trying to boot kernel26

you need
initrd26-full.img

Offline

#15 2006-01-22 11:03:28

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I have that....

root@2[knoppix]# ls /mnt/hda1
System.map26        initramfs-2.6.15-archck.img  kconfig26.pacsave
System.map26archck  initrd-2.6.15-archck.img     kconfig26archck
boot                initrd26-full.img            lost+found
diag1.img           initrd26.img                 vmlinuz26
grub                kconfig26                    vmlinuz26archck

In my menu.lst I have initrd/ initrd26.img. This worked fine before I tried the archck kernel.

Offline

#16 2006-01-22 15:36:45

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: error 15 persists (solved)

# (0) Arch Linux
title  Arch Linux
root   (hd0,7)
kernel /boot/vmlinuz26 root=/dev/hda8 ro vga=792
initrd /boot/initrd26.img

# (1) Windows
title Windows
root (hd0,0) noverify
chainloader +1

# (2) Archlinux
title Archck
kernel /boot/vmlinuz26archck root=/dev/hda8 ro video=vesafb:ywrap,mtrr,1024x768-16@75 splash=silent,quiet,theme:darch console=tty1
initrd /boot/initramfs-2.6.15-archck.img

Offline

#17 2006-01-22 18:35:16

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

if I do this...

# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda3 ro vga=773
initrd /boot/initrd26.img

I get error 15

if I do this

# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz26 root=/dev/hda3 ro vga=773
initrd /initrd26.img

I get umount: /initrd no such file or directory and then busybox.

Offline

#18 2006-01-22 18:58:11

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: error 15 persists (solved)

initrd26 is one i have made manually try it with
inited26-full.img

maybe you are missing something...

Offline

#19 2006-01-22 19:26:01

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I tried that too.

Offline

#20 2006-01-22 19:32:40

bier
Member
Registered: 2006-01-22
Posts: 8

Re: error 15 persists (solved)

1. delete all file in /boot  "dont delete /boot/grub"

2. rekompile the kernel again.
   make clean modules modules_install

3. cp /usr/src/linux-yourkernel/arch/i386/boot/bzImage /boot/vmlinuz26
    cp /usr/src/linux-yourkernel/arch/i386/Kconfig /boot/kconfig26
    cp /usr/src/linux-yourkernel/System.map /boot/System.map26

4. let us make your own initrd
    ls -l /lib/modules/   
    /sbin/mkinitrd kernel_version=yourkernel-2.6.15.XXX

5. rename the initrd in /boot to initrd26.img

6.reboot & good luck.

Offline

#21 2006-01-23 14:40:08

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I did the following but still couldn't boot up. I did not recompile the kernel however as I am just using a stock kernel.

Offline

#22 2006-01-24 15:28:08

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

from the end of the initrd linuxrc script (the script actually taking care of everything and booting your system)

ROOT_DEV=/dev/root
mkrootdev /dev/root
echo 0x0100 > /proc/sys/kernel/real-root-dev
mount -t `/bin/fsck -NT $ROOT_DEV | awk -Ffsck. '{print $2}' | awk '{print $1}'` -n -o ro $ROOT_DEV /new_root
pivot_root /new_root /new_root/initrd
umount /initrd/sys
umount /initrd/proc

Let's go customize your initrd.
from http://wiki.archlinux.org/index.php/Ini … itrd_Image:
(DO read the link)

[root@Phychan ~]# cd /tmp
[root@Phychan tmp]# mkdir initrd
[root@Phychan tmp]# gunzip < /boot/initrd26-full.img > initrd.img
[root@Phychan tmp]# mount -o loop initrd.img initrd

then change the lines

umount /initrd/sys
umount /initrd/proc

to

/sbin/busybox umount /initrd/sys
/sbin/busybox umount /initrd/proc

This will use busybox own, inbuilt umount command instead of the external which resides on your harddrive. Then:

[root@Phychan initrd]# cd /tmp
[root@Phychan tmp]# umount initrd
[root@Phychan tmp]# mv /boot/initrd26-full.img /boot/initrd26-full.img.bak
[root@Phychan tmp]# gzip < initrd.img > /boot/initrd26-full.img

#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#23 2006-01-24 15:31:35

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: error 15 persists (solved)

You should not cross post. That is plain rude. Especially if you do in no way point the old thread to the new one. Those things make people work extra you know.


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#24 2006-01-24 17:17:14

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I started a new post because I thought the problem was isolated. In the past i was told if the thread changes I should start a new thread. To my, admittedly inexperienced thinking, the problem had to do with Grub and not changing the kernel. However that maybe it seems I erred and thus I apologize for creating extra work.

I do thank you for your time in explaining all this very clearly. Now i know a good bit more and if I run into similiar problems I will be able to solve them. It is much more useful than try this or try that.

Offline

#25 2006-01-24 17:19:28

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: error 15 persists (solved)

I thought I had posted a link to the new post. Again, my apologies. There is nothing to say about this except I humbly acknowledge my error.

Offline

Board footer

Powered by FluxBB