You are not logged in.

#1 2011-12-25 21:58:40

hellome13
Member
Registered: 2011-07-30
Posts: 7

installing onto a flash drive cannot find kernel [SOLVED]

I am trying to install Arch onto a flash drive, but after installing without a hitch and rebooting, grub cannot find the kernel and outputs something like
err(hd1,0) cannot find file
error 15

I can give the exact error message if needed

Last edited by hellome13 (2011-12-29 23:30:09)

Offline

#2 2011-12-26 01:34:52

matse
Member
Registered: 2011-04-27
Posts: 299

Re: installing onto a flash drive cannot find kernel [SOLVED]

If you install grub on your flash drive (and arch is on the first partition of it) be sure that the "root" entry in your menu.cfg is (hd0,0), not (hd1,0)

Offline

#3 2011-12-26 03:25:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: installing onto a flash drive cannot find kernel [SOLVED]

Post exact error message please.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2011-12-26 03:38:08

jimbok
Member
Registered: 2009-09-17
Posts: 51

Re: installing onto a flash drive cannot find kernel [SOLVED]

Did you add 'usb' to the mkinitcpio.conf HOOKS line?


Registered Linux User #402088

Offline

#5 2011-12-26 04:25:03

hellome13
Member
Registered: 2011-07-30
Posts: 7

Re: installing onto a flash drive cannot find kernel [SOLVED]

ok, changing hd1 to hd0 fixed my original problem (thanks matse). unfortunately, now it times out waiting for the flash drive and errors

ERROR: Unable to determine major/minor number of root device '/dev/sdb1'
and drops into a recovery shell

Offline

#6 2011-12-27 22:41:48

hellome13
Member
Registered: 2011-07-30
Posts: 7

Re: installing onto a flash drive cannot find kernel [SOLVED]

and that was fixed by putting usb after udev in the mkinitcpio.conf hooks, thanks jimbok

Offline

Board footer

Powered by FluxBB