You are not logged in.

#1 2005-05-02 20:31:06

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Help me configure GRUB (correctly)

I am currently having a problem with grub (I think?).  When I try to boot up Arch I am greeted with a nasty error message:

Warning:  unable to open an initial console.
Kernel Panic - not syncing:  No init found.  Try passing init= option to kernel.

I have this in my grub configuration file:

title     Arch Linux
root    (hd0,4)
kernel /vmlinuz26 root=/dev/sda3

Offline

#2 2005-05-02 20:38:58

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

that's not a grub error - "Kernel Panic" is from the linux kernel, meaning it got past grub...

"no init found" is the real error...

what is your partition layout? for instance, mine is:
/dev/hda1 /home (was windows)
/dev/hda2 /boot
/dev/hda3 swap
/dev/hda4 /

Offline

#3 2005-05-02 21:02:06

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

here is my scheme if i remember correctly

sda1:  Windows
sda2:  /root (ubuntu)(not mounted while running arch)
sda3:  /root (arch)
sda5:  /boot
sda6:  swap

Offline

#4 2005-05-02 21:07:16

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

ummm is that "/root" or "/"?

Offline

#5 2005-05-02 21:09:22

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

sorry...its

/

It was mounted using the installation program on the live cd.

Offline

#6 2005-05-02 21:12:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

ok... just to check, boot into ubuntu, and mount the arch partition somewhere (doesn't matter) - see if it has the "init" binary... it's possible that the installation got messed up

Offline

#7 2005-05-02 21:22:32

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

okay...what exactly am i looking for?

Offline

#8 2005-05-02 21:26:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

do you have "sbin/init"? on the arch partition?

Offline

#9 2005-05-02 21:28:43

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

Thanks - I will look for it when i get home!

Offline

#10 2005-05-03 21:13:29

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

Good news.  The file wasn't there...so started fresh and I installed again--making sure that all packages were successfully installed...now i have an Arch base system!

Offline

#11 2005-05-03 21:33:44

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

Euphoric Nightmare wrote:

Good news.  The file wasn't there...so started fresh and I installed again--making sure that all packages were successfully installed...now i have an Arch base system!

yeah that happens sometimes... if you don't hit the "Done" button after harddrive prep, it doesn't do anything... I've always been at a loss as to why it doesn't yell at you saying "If you exit now nothing will happen, make sure to hit Done!"

Offline

#12 2005-05-03 23:00:55

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

Some more interesting problems I ran into:

My arch installation completely wiped my grub menu.lst.  Luckily I keep a backup.  The funny thing is I opted not to install grub or lilo, and i didn't edit the file from the installation.  Every other file was intact on the /boot partition

After packages are successfully installed, and I choose "Continue", the install application freezes up, and I have to CTR+C to stop it.  But then after i do /arch/setup, I can continue normally as though nothing had happened.

If I already have the kernel, and kconfig images in /boot, Kernel installation will fail.  Same thing if it tries to install grub.  It won't let it install that package because menu.lst already exists.

Offline

#13 2005-05-04 01:38:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Help me configure GRUB (correctly)

just format it then if you're installing over it

Offline

#14 2005-05-04 03:03:16

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Help me configure GRUB (correctly)

just to clarify, none of these problems are still pertinent.  I was able to work around, or solve each one of these.  I was just simply posting my thoughts on the installation.

I was able to get the kernel installed by deleting those files on the boot partition.  As for grub, I didn't need it installed again, so I just tried installing packages again, and made sure grub and lilo weren't included.

Offline

Board footer

Powered by FluxBB