You are not logged in.

#26 2008-11-03 21:37:14

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Grub trouble

Are you like... a gangster or something?

Offline

#27 2008-11-03 22:03:38

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

Re: Grub trouble

I am running Arch with Virtualbox and I did a new partition. So I don't know why I still have the error.

I have the same issue if I replace disk-by-uid with /dev/sda (I prefer the latter notation too).

So, what could I do to make things work?

Thank you for your help.

Offline

#28 2008-11-04 00:13:37

ferral-cat
Member
Registered: 2008-11-03
Posts: 22

Re: Grub trouble

I had the exact same error after i completed my fresh install yesterday. 

Make sure that your kernel line DOES NOT span over 2 lines:

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/e5ec653c-368a-45a5-9f18-e0f31c3b5e7c ro vga=773

On my old one I had added an extra space (while editing it in nano) and that split the kernel line to span over 2 lines and basically grub was not reading the part that spilled over to the second line

Here is how mine looks now [the proper way] By thwe way, I have arch linux installed on my second hard drive by itself.

# (0) Arch Linux
title  Arch Linux
root   (hd1,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/e5ec653c-368a-45a5-9f18-e0f31c3b5e7c ro vga=773
initrd /boot/kernel26.img

Dont give up man.  Its just s little typo that is causing you this problem.  Be patient and we will fix this.

Offline

#29 2008-11-04 00:23:05

ferral-cat
Member
Registered: 2008-11-03
Posts: 22

Re: Grub trouble

Come to think of it thats what the Arch Linux community is lacking. 

Gangsters.

Offline

#30 2008-11-04 08:08:09

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

Re: Grub trouble

The kernel line is in one line.

I noticed that I have no vmlinuz26 file in the boot partition.
Is it normal?

Offline

#31 2008-11-04 14:49:23

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

Re: Grub trouble

Show me your /etc/fstab !!
(and for the record - wtf is a 'gangster' in this context?)

Offline

#32 2008-11-04 15:24:29

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

Re: Grub trouble

So here is my fdisk -l /dev/sda :

ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda

Disk /dev/sda: 26.7 GB, 26787971072 bytes
255 heads, 63 sectors/track, 3256 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        2588    20482875   83  Linux
/dev/sda4            2589        3256     5365710   83  Linux

And this is the /etc/fstab :

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=2a77a56f-721c-463d-b9c6-0de36cc4ac06 / ext3 defaults 0 1
UUID=2e1de475-3d37-4a98-ba62-e555d5a8b3f7 swap swap defaults 0 0
UUID=ad98331f-392f-4a00-8ab1-24c40a6d8552 /home ext3 defaults 0 1
UUID=cb343758-eca2-4707-b154-7908d0594cf7 /boot ext2 defaults 0 1

And this is the menu.lst (I change root=/dev/disk/by-uuid/2a77a56f-721c-463d-b9c6-0de36cc4ac06  with root=/dev/sda3 ) :

# 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.
#disk/by-uuid/2a77a56f-721c-463d-b9c6-0de36cc4ac06
#-*

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.img

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

Offline

#33 2008-11-04 16:41:19

bdrive
Member
From: USA
Registered: 2008-10-27
Posts: 7

Re: Grub trouble

neoraptor wrote:

I noticed that I have no vmlinuz26 file in the boot partition.

If this is true, it doesn't matter what your configs look like.  It's not a syntax issue if there is no file in the first place.

Last edited by bdrive (2008-11-04 16:46:00)

Offline

#34 2008-11-04 16:50:20

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

Re: Grub trouble

How could I put a new copy of this file?

I follow the standard way to do the update.

Offline

#35 2008-11-04 16:51:06

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Grub trouble

Add the "bootable" flag to your boot partition using fdisk or cfdisk. I had to do this before I could get grub to boot my install


Website - Blog - arch-home
Arch User since March 2005

Offline

#36 2008-11-04 16:52:59

ferral-cat
Member
Registered: 2008-11-03
Posts: 22

Re: Grub trouble

Advice:

If you decide to try to reinstall the whole thing from the very beginning then I strongly suggest that at the step where:

http://wiki.archlinux.org/index.php/Beg … Bootloader

You do not open menu.lst at all so that you ensure that you dont change anything.   Dont even do the vga=773 thing. 

all it takes is one extra space or missing character to screw grub up.

Hmmm, why dont you try removing grub and install LILO instead.  Maybe that will fix it.

Offline

#37 2008-11-04 17:00:32

ferral-cat
Member
Registered: 2008-11-03
Posts: 22

Re: Grub trouble

You know I just noticed that this thread is from 10-14 and the guy rs187 has not been back to post anything. 

I gotta assume he most likely went back to Ubuntu Land or Windows.  I cant fault him, this can get very frustrating.  I know for me it took me over 4 hours to finally get this thing up and running. 

But that being said I am very happy with the speed and functionality of this distro.  Arch is cool but you gotta be willing to learn alot.  And in the process of learning many mistakes will be made - so patience is required.  It's like learning to roller skate.

Offline

#38 2008-11-04 17:12:04

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

Re: Grub trouble

The first install worked (CD install). I only have this problem after the upgrade (pacman -Syu). So a fresh install would work, but I cannot do any upgrade because I can't boot then (already try it twice).

I am very happy with Arch because I can learn much more.
I already install it on 2 computers and one of them is server for my LAN.

Offline

#39 2008-11-04 17:18:31

ferral-cat
Member
Registered: 2008-11-03
Posts: 22

Re: Grub trouble

perbh wrote:

Show me your /etc/fstab !!
(and for the record - wtf is a 'gangster' in this context?)

Yoy, yo, yo Its me the Linux Gang$ta!

Step to me and I will

rm -you_and_your_whole_crew

Come to my hood, ill unpack you like a tarball

yeah, yeah im compiling all my hundred dolla billz for a new set of 36" rims

so dont delay and

wget http:/My_New_Rap_Album_Today

Offline

#40 2008-11-04 17:19:04

bdrive
Member
From: USA
Registered: 2008-10-27
Posts: 7

Re: Grub trouble

neoraptor wrote:

The first install worked (CD install). I only have this problem after the upgrade (pacman -Syu).

Mount your /dev/sda3 from a livecd and look in the /var/log/pacman.log file.  Check which kernel it tried to upgrade and if there were any errors.

Last edited by bdrive (2008-11-04 17:21:57)

Offline

#41 2008-11-04 17:51:02

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

Re: Grub trouble

Here is my pacman.log : http://www.mediafire.com/?h1bwxzy9p5z.

Offline

#42 2008-11-04 18:12:32

bdrive
Member
From: USA
Registered: 2008-10-27
Posts: 7

Re: Grub trouble

neoraptor wrote:

Here is my pacman.log : http://www.mediafire.com/?h1bwxzy9p5z.

Which pacman mirror did you use?  It first upgraded to kernel26-2.6.25.6-1, which is an old kernel (it should be installing 2.6.27.4-1 right now).  Then it removes kernel26 completely on the next upgrade (maybe due to some package conflicting with the old kernel), which is why you have no boot files now.

Try picking a new mirror next time and sysupgrading with pacman -Syyu to force a cache rebuild.  Also make sure you follow the klibc warning (or you could just jump straight to the latest version by doing a direct ftp install, in which case just ignore the klibc warning).

Last edited by bdrive (2008-11-04 18:19:59)

Offline

#43 2008-11-04 18:30:35

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

Re: Grub trouble

[edit]: I was really just saying the same as the post above, so forget that I ever opened my mouth ....

Last edited by perbh (2008-11-04 18:32:25)

Offline

#44 2008-11-04 19:51:13

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

Re: Grub trouble

I did a new FTP install and everything is working like a charm now.

Thank you!!

Offline

Board footer

Powered by FluxBB