You are not logged in.

#1 2008-10-14 18:57:37

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Grub trouble

I cant get access to the system..after the boot i get dis error:

'Bootin Arch'
root (hd0,0)

Fylesystem type is ext2fs partition type 0x83

kernel /vmlinuz26 root=/dev/disk/by-uuid/0b651866-1040-4741-8aca-bfdd48e65f11 ro

Error 15: file not found

press any key to continue

I tried to follow sum helps but i still get dat error:

here sum screenshots:

14102008571og0.th.jpgthpix.gif
14102008572ld4.th.jpgthpix.gif
14102008573un2.th.jpgthpix.gif

I need help pls!!!

Last edited by rs187 (2008-10-14 21:22:04)

Offline

#2 2008-10-14 20:16:55

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Grub trouble

Hi rs,

It seems from your screenshots that you have a boot partition. Thats ok, just to confirm.

You use "root=/dev/disk/....", thats also ok, but I am not very found about that.
Difficult to see if the disk you are trying to boot from is the right one.

I sugest that you (probably with a LiveCD), comment this line in "menu.lst" and add one with "kernel /boot/vmlinuz26 root=/dev/sda??"
where "??" is the partition number where your kernel is.

Or you can do it at the Grub prompt by choosing to edit line.

If at the grub prompt, try "grub> find /boot/grub/stage1", grub will search for this file and tell you the partion it is in.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2008-10-14 20:30:30

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

Mektub wrote:

Hi rs,

It seems from your screenshots that you have a boot partition. Thats ok, just to confirm.

You use "root=/dev/disk/....", thats also ok, but I am not very found about that.
Difficult to see if the disk you are trying to boot from is the right one.

I sugest that you (probably with a LiveCD), comment this line in "menu.lst" and add one with "kernel /boot/vmlinuz26 root=/dev/sda??"
where "??" is the partition number where your kernel is.

Or you can do it at the Grub prompt by choosing to edit line.

If at the grub prompt, try "grub> find /boot/grub/stage1", grub will search for this file and tell you the partion it is in.

Mektub

yea my partition name is sda1..can i just edit the kernel from the grub from dis:

kernel /vmlinuz26 root=/dev/disk/by-uuid/0b651866-1040-4741-8aca-bfdd48e65f11 ro

to dis??:

kernel /vmlinuz26 root=/dev/sda1/by-uuid/0b651866-1040-4741-8aca-bfdd48e65f11 ro

or do i must edit dat strings on menu.lst with a live cd? cos i dont hve dat cd anymore..i could re-download it..but..i just wanna try to fix it without it..if possible..

btw when i type find /boot/grub/stage1 it says..no found ( or sumtin like dat)
but when i type find /grub/stage1 without "boot" it gives me sumtin..

so..can i just edit dat string from grub or...do i need to use the cd live?

lemme no n thnx for the answer..

Last edited by rs187 (2008-10-14 20:31:26)

Offline

#4 2008-10-14 20:41:56

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Grub trouble

The line will be:

kernel /vmlinuz26 root=/dev/sda1

just that.

but when i type find /grub/stage1 without "boot" it gives me sumtin..

The output should tell you in which partition grub finds your boot files. Whats the output ?

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2008-10-14 20:59:19

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

The line will be:

kernel /vmlinuz26 root=/dev/sda1

just that.

do i need the live cd to edit it..or can i just edit it from the gub?

but when i type find /grub/stage1 without "boot" it gives me sumtin..
The output should tell you in which partition grub finds your boot files. Whats the output ?

Mektub

should b dat partition..cos im usin only arch on my hd

Last edited by rs187 (2008-10-14 21:01:52)

Offline

#6 2008-10-14 21:21:17

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

i typed find /grub/stage1 n the output is (hd0,0)
i tried to edit the kernel with kernel /vmlinuz26 root=/dev/sda1..
but i still get dat error..

'Booting Arch'
root (hd0,0)

Fylesystem type is ext2fs partition type 0x83

kernel /vmlinuz26 root=/dev/sda1

Error 15: file not found

press any key to continue

any other ideas?

Last edited by rs187 (2008-10-14 21:21:47)

Offline

#7 2008-10-14 21:30:39

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Grub trouble

If your boot is in /dev/sda1, your root should be (hd0,1) not (hd0,0).

Code:

'Booting Arch'
root (hd0,0)

Can you post your menu.lst ?

Howewer, if this is a new installed system, perhaps reinstalling ?

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#8 2008-10-14 21:38:30

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

Mektub wrote:

If your boot is in /dev/sda1, your root should be (hd0,1) not (hd0,0).

Code:

'Booting Arch'
root (hd0,0)

Can you post your menu.lst ?


Mektub

i ve 3 hd 1 with arch (sda1)
2nd with xp (sdb1)
n third is a storage hd (sdc1)

btw..how can i post my menu.lst? i mean i tried to get into dat file with nano but i cant get access from terminal grub..

Howewer, if this is a new installed system, perhaps reinstalling ?

no wayyy..:D i ve it from 4-5 months in my hd..n i got many stuff inside..

Offline

#9 2008-10-14 21:45:23

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

just to be sure i tried to type sda but it dont wanna work

Offline

#10 2008-10-14 21:49:47

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Grub trouble

i ve it from 4-5 months in my hd..n i got many stuff inside..

Did this grub trouble start after some update ?

btw..how can i post my menu.lst? i mean i tried to get into dat file with nano but i cant get access from terminal grub..

From the Grub prompt I dont think you can do it. Better use a live CD.

Or install an ext2/ext3 driver in XP (your own risk):

http://www.fs-driver.org/

so as to be able to read the Arch partition from WinBlows.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#11 2008-10-14 22:19:58

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

Did this grub trouble start after some update ?

exactly

From the Grub prompt I dont think you can do it. Better use a live CD.

wut live cd? i ve an arch o my cd but its not a live..can i use any live cd like ubuntu live or sumtin? n when i will open the terminal on dat live wut i will ve to do? i mean on the menu.lst..

Or install an ext2/ext3 driver in XP (your own risk):

http://www.fs-driver.org/

so as to be able to read the Arch partition from WinBlows.

Mektub

no tnx..

Offline

#12 2008-10-14 22:23:37

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Grub trouble

Your problem is that the default grub install misses /boot/ for some reason.
Edit your /boot/grub/menu.lst file to look like this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 vga=791 nopat
initrd /boot/kernel26.img

Last edited by luciferin (2008-10-14 22:23:52)

Offline

#13 2008-10-14 22:27:46

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

luciferin wrote:

Your problem is that the default grub install misses /boot/ for some reason.
Edit your /boot/grub/menu.lst file to look like this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 vga=791 nopat
initrd /boot/kernel26.img

r u sure..im askin u cos i saw dis topic:
http://bbs.archlinux.org/viewtopic.php?id=56251

n he seems to ve solved in dat way...n his partition name is "disk" like mine..:/

lemme no

tnx

Last edited by rs187 (2008-10-14 22:29:50)

Offline

#14 2008-10-14 22:30:49

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Grub trouble

From the error you posted at the top of the page the problem should be what I stated.  You can easily edit the grub entry by hitting 'e' over the selected line.  How about you give it a shot and let us know if it works?

Offline

#15 2008-10-14 22:32:35

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

luciferin wrote:

From the error you posted at the top of the page the problem should be what I stated.  You can easily edit the grub entry by hitting 'e' over the selected line.  How about you give it a shot and let us know if it works?

ok ill try..ill let u no in a while

Offline

#16 2008-10-14 22:46:34

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

nuttin..i still get dat error..n i noted dat when i hit a button after the error it gives me the old configuration..i mean:
from here:
15102008575aq9.th.jpgthpix.gif
to here:
14102008573un2.th.jpg

Last edited by rs187 (2008-10-14 22:47:04)

Offline

#17 2008-10-14 22:54:43

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Grub trouble

You changed the last line too, correct?  Also, you don't need the trailing backslash on /dev/sda1
I have no idea if that would cause the error or not though.

Did the latest kernel update fail on you or something?  Grub is seeing your partition (it states the file system type), but it can't locate your kernel and initramfs...

Offline

#18 2008-10-14 23:02:00

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

You changed the last line too, correct?

yes


Did the latest kernel update fail on you or something?  Grub is seeing your partition (it states the file system type), but it can't locate your kernel and initramfs...

dunno..i just updated typing pacman -Syu

n then after the reboot i had dis troubles..

Offline

#19 2008-10-14 23:11:38

rs187
Member
From: Mars
Registered: 2008-08-06
Posts: 19

Re: Grub trouble

any other ideas to can solve dis prolem?

Offline

#20 2008-10-14 23:46:47

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Grub trouble

wut live cd? i ve an arch o my cd but its not a live..can i use any live cd like ubuntu live or sumtin? n when i will open the terminal on dat live wut i will ve to do? i mean on the menu.lst..

Yes, use a ubuntu livecd, and mount the partition where your real system is. Something like:

mount /dev/sda1 /mnt/mydisc

The mountpoint must exist, create it with 'mkdir'.

And then post your menu.lst.

Probable you had troubles while upgrading the kernel.

While you are at it, do a 'fdisk -l /dev/sda', so we can see how the drive is partitioned.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#21 2008-11-03 15:24:26

neoraptor
Member
Registered: 2008-11-03
Posts: 12

Re: Grub trouble

Hello,

I have exactly the same problem : I did a fresh install and then a general update (pacman -Syu).

Here is my menu.lst :

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

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+

# 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
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/c6fa1747-0c64-403b-86df-5517b599bf39 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/c6fa1747-0c64-403b-86df-5517b599bf39 ro
initrd /kernel26-fallback.img

# (1) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1

And here is the fdisk :

Disk /dev/sda: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           5       40162   83  Linux
/dev/sda2               6          38      265072+  82  Linux swap / Solaris
/dev/sda3              39         995     7687102+  83  Linux
/dev/sda4             996        1566     4586557+  83  Linux

Neoraptor.

Offline

#22 2008-11-03 18:06:35

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Grub trouble

ahhh - you have a seperate boot-partition!!
I presume your root filesystem is on /dev/sda3, so your (/dev/sda1)/grub/menu.lst should be:
kernel /vmlinuz26 root=/dev/sda3 ro

Other than that - with such a small root filesystem, your /var/cache/pacman will overflow quite easily and cause problems whenever you do a pacman -Syu

Offline

#23 2008-11-03 19:34:54

neoraptor
Member
Registered: 2008-11-03
Posts: 12

Re: Grub trouble

You seem to be right!

I have the same issue with your proposal. I will make my root partition bigger.

How much space is required for a standard usage?

EDIT
I have done a new installation and get same issue.
I had 20Gb root partition.
After upgrading the system (pacman -Syu), I have clean the cache (pacman-Sc).
I check my disk usage and get 7.3G used.

Then I rebooted and get the same error in grub (error 15).

Last edited by neoraptor (2008-11-03 20:37:28)

Offline

#24 2008-11-03 21:26:01

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Grub trouble

you sure it's 20 gig??
according to your 'fdisk -l /dev/sda' above - the disk is only 12-13 gigs!!
- or did you use another disk?

personally I prefer 16-20 gigs for the root filesystem, but I guess 10-12 is more than sufficient if you are clever at cleaning up cache. The last update I did on my own computer was 2.5 gigs in downloads - and its only about 2 weeks since my previous update.

Offline

#25 2008-11-03 21:32:01

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: Grub trouble

Grrrrr - I just h-a-t-e these disk-by-uuid, disk-by-label, disk-by-whatever!!
What the heck is wrong with /dev/sd[a-z][1-12] ??

(sorry about the rant - had to vent somewhere ...)

Offline

Board footer

Powered by FluxBB