You are not logged in.

#1 2009-08-11 16:06:22

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

[SOLVED] Can't boot after install

I installed Archlinux using the FTP LiveCD. Everything finished good, and there were no errors. I then reboot and Grub comes up like it's supposed to. But when I try to boot into Arch it says:

Booting 'Arch Linux'
root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/9e26f3d3-464b-4cca-9117-db1ff8v1a961 ro

Error 15: File not found

Press any key to continue...

I tried going into the Grub and changing the by-uuid to /dev/sdb1 (Which is where the root partition is) but I got the same thing.

My partition scheme is like so:

/dev/sda1 /home
/dev/sdb1 /
/dev/sdb2 swap

Any help would be greatly appreciated!!

Thanks!!

Last edited by A Future Pilot (2009-08-13 14:20:59)

Offline

#2 2009-08-11 17:01:41

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [SOLVED] Can't boot after install

Try change in Grub kernel line root=/dev/disk/by-uuid/something to root=/dev/sdb1 wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#3 2009-08-11 17:05:04

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

Re: [SOLVED] Can't boot after install

I tried that and got the same thing, except of course it doesn't say by-uuid it says /dev/sdb1, but I still get the same error :-(

Offline

#4 2009-08-11 18:42:37

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: [SOLVED] Can't boot after install

Can you boot to a livecd and verify that the kernel is indeed there?

Offline

#5 2009-08-11 19:42:37

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: [SOLVED] Can't boot after install

Do you have a separate boot partition?  Maybe try /vmlinuz26 instead of /boot/vmlinuz26.

Offline

#6 2009-08-11 20:07:08

alexandrite
Member
Registered: 2009-03-27
Posts: 326

Re: [SOLVED] Can't boot after install

If your system is really old (Still has IDE Drives), then you would need to call it /dev/hdb1.

Offline

#7 2009-08-11 21:10:13

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] Can't boot after install

Could you guys please not post if you have no idea what you are talking about? Thanks a lot.

Ignore what everyone except Trent and tavianator said, it has nothing to do with the problem. You should enter the grub command line (press 'c'), run "root (hd1,0)", then use tab completion to see if the kernel is there: enter "kernel /<tab><tab>" or "kernel /boot/<tab><tab>" and so on.

Offline

#8 2009-08-11 22:04:53

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

Re: [SOLVED] Can't boot after install

OK, I tried the tab completion and if I do:

kernel /<tab>

I get kernel /lost+found/

and if I do

kernel /lost+found/<tab>

I get Error 15 again

same for doing /boot, an error 15.

I also tried changing /boot/vmlinuz26 to /vmlinuz26 but I still got Error 15, which makes me think that the kernel isn't there at all. The installer seemed to have worked fine though, there were no errors or anything.

What should I do now?

Offline

#9 2009-08-12 12:48:04

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [SOLVED] Can't boot after install

Looks like your partition was created (as a lost+found) was put there but possibly nothing added? 

With your partition scheme being:

/dev/sda1 /home
/dev/sdb1 /
/dev/sdb2 swap

and grub (hd1,0) - this denotation tells grub to use the second hard disk (that looks ok) and the first partition (looks ok too).  Sometimes though depending on what drive your bios reads first hd0, hd1... can be changed.  Try tab completion and see if that is the case.  If not, boot the live cd and check that the contents are actually there and that the uuid is right.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#10 2009-08-12 13:36:21

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [SOLVED] Can't boot after install

Like others said, check if you can find a kernel in your /boot , / or on a 'boot' directory on your / filesystem (if any).

If you can't find it, something probably went wrong during package installations.  i've also noticed that with netinstalls you may run into problems when installing packages which aif doesn't catch.  See http://bugs.archlinux.org/task/15854

I suggest you rerun the installation, this time with 'aif -p interactive -d' instead of '/arch/setup'. Do what you did before, and pay close attention to any errors during package installation.  If your target system works after installation it means the first time you had network hickups which you didn't have now.  If the problem remains, post your aif log files from /var/log/aif to the above ticket and mention any errors.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#11 2009-08-12 22:33:09

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

Re: [SOLVED] Can't boot after install

OK, I replaced hd(1,0) with hd(0,0) and it worked!!! I am happy to say I am typing this from my nice new Arch Linux setup, running xfce4!!!

Thanks everyone for your help!!!!

Offline

#12 2009-08-13 08:13:54

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: [SOLVED] Can't boot after install

please change title to fixed

Offline

#13 2009-08-13 13:20:07

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: [SOLVED] Can't boot after install

A Future Pilot wrote:

OK, I replaced hd(1,0) with hd(0,0) and it worked!!! I am happy to say I am typing this from my nice new Arch Linux setup, running xfce4!!!

Thanks everyone for your help!!!!

Maybe this should be documented: It is quite common that the BIOS drive order is different when booting from CD than when booting from the hard drive. Also, grub often guesses the drive order wrong. The only way to be sure is to install grub to the MBR and analyze the drives from there.

Your problem might make more sense though: As you installed grub in the MBR of the second hard drive, you probably told the BIOS to boot from the second hard drive instead of the first. This causes most (all?) BIOSes to reorder the drives so that the second hard drive appears to be the first. And GRUB only accesses the hard drive through BIOS. Linux doesn't care though, it has its own order (which might change too) and we use UUIDs to identify the drives anyway.

Offline

Board footer

Powered by FluxBB