[SOLVED]Grub-Install can't Find Kernel and/or initrd, mkinitcpio Fails

Hi all,
I have recently installed Arch on my new build (with UEFI firmware). I successfully set up xorg, alsa/pulseaudio, xfce, etc... things were looking pretty good. Then, I tried to blacklist the pcspkr in order to silence the annoying beep every time I selected "Log Out" inside xfce. I executed
mkinitcpio -p linux
and was presented with the following errors:
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux`
There were no such files anywhere on /boot. I tried doing
find / -name vmlinuz-linux
and nothing was found. I wasn't quite sure why that was happening, but I tried uninstalling/reinstall grub (grub-common and grub2-efi-x86_64). I installed grub to /boot using
grub-install --directory=/usr/lib/grub/x86_64-efi --target=x86_64-efi --efi-directory=/boot --bootloader-id="Arch Linux" --boot-directory=/boot --recheck --debug
and then generated /boot/grub/grub.cfg. I tried rebuilding the initramfs again but got the same error. I was tired and frustrated so I removed the old grub efi entry with
efibootmgr -b 0 -B
and then went to sleep.
I didn't have the chance to turn the computer back on until tonight... I was then presented with a grub2 shell. Since I didn't know where the kernel/initrd were located I tried
set root=(hd1,gpt1)
chainloader +1
but grub told me
error: invalid EFI file path
So that's about it. It appears that grub-mkconfig is having trouble locating the kernel/initrd so it doesn't make any entries, dropping me right into a shell. I've tried booting up with my installation USB and chrooting in and reinstalling grub again but nothing seems to work. So what I'd like to try to do is just boot up into my system and then modify add the grub boot entries entries I want... but I just can't figure out what's causing all these issues.
Sorry if I mess up any terminology... still learning the ropes here. Thanks for any input.
Last edited by cogeary (2012-09-17 05:35:51)

DSpider wrote:
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'
Probably because you have a separate boot partition (not just the 512 MB "UEFISYS" FAT32 partition), which you forgot to mount (in fstab).
Post your /etc/fstab.
Thank you for your reply!
However, I do not have a separate boot partition apart from the "UEFISYS" partition. Here is my fstab:
# UUID=3ec307aa-0ead-4d33-b292-42bbe783d6ee
/dev/sda2 / ext4 rw,relatime,data=ordered 0 1
# UUID=B192-6C57
/dev/sda1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
When I first looked at the fstab I saw that both of the entries repeated themselves. This was because I had even tried reformatting /boot so I had to generate a new fstab, but for some reason I used ">> /mnt/etc/fstab" rather than "> ..."
So I executed
genfstab /mnt > /mnt/etc/fstab
and reinstalled grub, but still no difference... mkinitcpio fails and I reboot to a grub shell.
Last edited by cogeary (2012-09-16 18:15:51)

Similar Messages

  • How do you use "find my phone"?  I can't find it and I'm not sure I installed that app.

    How do you use "find my phone"?  I can't find it and I'm not sure I installed that app.

    The app is not necessary; that only for tracking from another iOS device. If you set up Find My iPhone, you can track the iPhone from the iCloud web site:
    icloud.com/find
    If you didn't configure Find My iPhone on the device before you lost it, then you're out of luck.
    Regards.

  • Can not find Acrobat and Illustrator on my computer after installing it with CC-App

    Can not find Acrobat and Illustrator on my computer after installing it with CC-App. The CC-App show the programs as installed, but they are not seen  in "programs and funktions" or on other places on my computer.

    Hi Martin,
    Check this link and see if it helps: http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html, maybe the products weren't installed properly.
    Thanks!
    Ankit

  • Windows 8 Recovery USB causes UEFI error: "Grub error: Can't find gpt 7" [FIXED]

    Hello everyone,
    Here is my situation.  I had a dual boot setup on my toshiba S855D (Win 8/Ubuntu 12.10).  After a few months my win 8 install was giving me strange errors.  I decided to do a full reinstall using the recovery USB I made. (I had reinstalled once before)  When I plugged in my USB after restarting the computer (in USB as first boot), I got the error: 'Grub error. Can't find gpt 7' If I tuned off UEFI, the computer could at least detect the USB but not do a reinstall.  Thinking it was a Grub error I formatted the HD (using an ubuntu liveUSB).  The problem persisted. I installed boot-repair on ubuntu and tried that, but no effect.  I have tried to install an updated bios from the CD image in the bios zip, but it wouldn't execute the commands in the ini file.  I even tried to install an old xp disk I had to see if I could install the bios update that way, but the windows install  repeatedly froze.
    Quick version: dual boot (win8/ubuntu)->try to reinstall win8, "error: Grub Error: Can't find gpt 7", when usb is attempted to be booted from. ->Wiped hdd, but problem persisted. -> tried many ways to fix, but nothing works.
    I have been reading many forums for the past few days, and nothing looks to work.  Any and all help would be really helpful.
    Solved!
    Go to Solution.

    I finally got it!
    After much poking around the internet, I was finally able to identify my problem.  My bootx64.efi in the EFI/Boot folder wasn't working.  I found this out by putting UEFI shell on another usb and using that to test my *.uefi files.  Thankfully, I had a backup of my EFI folder from my initial Ubuntu install.  This had a backup made my ubuntu. (bkpbootx64.uefi) I ran the backup and the USB worked!  
    On another forum someone (Agent268) said this, which may help.  I'm guessing you need to have a windows pe DVD/USB to make this work though. 
    "You should be able to use DISM to manually reimage this bad boy using the WIM or SWMs on that USB recovery flash drive."
    Hope my research helps someone out there.  Cheers to everyone who looked.

  • I pre-ordered justin biebers new acoustic album and i presesed "pre-order" and now i can't find it and it is not on my ipod. How can i find it and download it to my ipod?

    I pre-order justin bieber's new album <justin bieber acoustic album> and i can't find it on my itunes or on my ipod. How can i find it and make it appear on my ipod and on my itunes on my laptop? please help! thanks

    I reset my iphone, and pandora was installed in the same folder I had it on my iphone 4.  Problem solved!

  • HT204088 I installed iphone 5 from iTunes backup but still have one app showing [ ! ] not installed can not find file . How do I get rid of this pop up

    I installed iphone 5 from itunes back up and get a pop up [ ! ] app not installed can not find file. I have looked through everything that have with "CANADA" in the app title. That is the only info there is.

    If you haven't found out which app it is then if you go into list view in the Apps part of your library do any of the apps have an exclamantion mark against them ? If they do then they are the one(s) that iTunes can't find the actual app file(s) for - if you delete that app from your library then if it is still in then you should be able to re-download it via the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes, or you can just download it directly on your phone via the Purchased tab in its App Store app

  • ICal reports that it can't find server, and lots of data from several years ago is trying to get attention.  Cannot bring up calendar in any view to use. also keeps loading unused calendar websites from long ago.  I can' remove them. what to do?

    iCal reports that it can't find server, and lots of data from several years ago is trying to get attention.  Cannot bring up calendar in any view to use. also keeps loading unused calendar websites from long ago.  I can' remove them. what to do?

    UPDATE: I had 36 Safari windows open and minimized on the dock from my last session; 20 of those windows failed to open b/c Safari "couldn't find the server"; I just went to the URL bar of all 20 pages and clicked return, and all 20 pages loaded perfectly, without dropping any images or losing formatting. This is a puzzle!!!

  • HT201210 restoring ipod and it say's can't find software and use a cd-rom if necessary. what am i supposed to do? my ipod is stuck on the connect to itunes screen and wont do anything.

    Restoring ipod and it say's can't find software and use a cd-rom if necessary. My ipod is stuck on the connect to itunes screen and wont do anything. What am i supposed to do?
    Please help, i will be very grateful

    you can do is go to ijailbreak.com then select downloads section.......scroll down and see the latest version of ipod touch second generation is available for download.....when it gets downloaded connect your iPod to itunes or keep it connected then hold option and click restore (mac) search the software by writing in search "iPod" a thing with white cube will show up if it is the file you just downloaded click it and wait for itunes to do its work......you can ask more if you are on windows

  • I upgraded my iphone to 5.0.1 and can not find carrier and can not make a call freezed.

    I upgraded my iphone 4 to ios 5.0.1 yesterday. Today the device can not find carrier and if finds than it freezes when I tap call. I swictched on and off but no change.

    No.  There is no legit way to go back at all.
    It seems that you had a hacked iphone that was locked back to the rightful carrier when you updated as it should.

  • Having moved my Itunes folder to external hardrive and resetting where it is in preferences Itunes can't find them and I have to direct it to every song - I have a months worth of songs on there so this will take avery long time  - any ideas on what;s up?

    Having moved my Itunes folder to a new external hardrive and resetting where it is in preferences Itunes can't find them and I have to direct it to every song- a little ! pops up next to the song and a dialogue box says Itunes can't find it so thn i have to manually search for it - I have a months worth of songs on there so this will take avery long time  - any ideas on what's up?

    nellydee wrote:
    Having moved my Itunes folder to a new external hardrive and resetting where it is in preferences
    That's not how to do it. You don't move stuff then set the iTunes prefs > Advanced.
    Once you move the /iTunes/ folder, hold Option, launch iTunes and select Choose library... and select the ITunes folder on the external.
    This will use the iTunes library file in the iTunes folder you moved.
    Don't change iTunes prefs > Advanced.

  • I accidentally deleted QuickTime from my computer. Then I did a system restore and retrieved it. Now Itunes can't find QuickTime and will not open. Is there a fix for this without my Ipod?

    I accidently deleted QuickTime from my computer. Then I did a system restore and retrieved the program. Now Itunes can't find QuickTime and will not open.Is there a eazy fix for this without using my Ipod? Ihave 6K songs in Itunes that I can't get to.
    Thank You
    T-BILL

    Hmmm. There's a couple of things that might be going on with that one.
    Let's try an uninstall and reinstall of QuickTime first.
    If you're using XP, head into your Add or Remove Programs control panel. Select "QuickTime", click "Change" and then click "Remove".
    If you're using & or Vista, head into your Uninstall a program control panel, select QuickTime, and then click "Uninstall".
    You can get QuickTime back either via Apple Software Update (in your Start menu go "All Programs > Apple Software Update" ... QuickTime should appear in the "New Programs" section), or by downloading a QuickTimeInstaller.exe from the following location:
    http://support.apple.com/kb/DL837
    Does your iTunes launch properly now?

  • In Acrobat pro 9, I can't find staple and fold options for booklets and no matter what options I choose in the print dialogue my booklet ends up with pages upside down and out of order?

    In Acrobat pro 9, I can't find staple and fold options for booklets and no matter what options I choose in the print dialogue my booklet ends up with pages upside down and out of order? I am working on a Macbook pro running OS X 10.9.4.  Our printers are fully capable for booklets with staples and folds. Would love some help. Thank you!

    To: ~graffiti
    (This email is not intended to go on public forum -- but I wanted to respond
    to you)
    Thanks for your reply....FYI...I was trying to download from www.adobe.com on
    the specific page that has downloads of your products.    As far as the
    alternate source is concerned I am not totally sure what the capabilities it has as
    I am recovering from a hospital stay and had to send my wife to retailer to
    pick this up because I am accessing email from home until I return to work and
    need something to work now.  I don't yet have the SW.  (I would have had her
    buy the actual Adobe Pro 9.0 -- but it is a wapping $499 and change).
    Regards,
    Staurt Rednor ("Stu") - [email protected]
    ===========================================================
    Subj:   New message: "No matter what I try can't download
    Adobe Pro 9.0 or free Adobe Reader"   
    Date:   4/5/2009 7:38:17 PM Eastern Daylight Time  
    From:   [email protected]   
    Reply-to:   [email protected] 
    To: [email protected]  
    Sent from the Internet (Details)   
    SGuitar43,
    A new message was posted in the thread "No matter what I try can't download
    Adobe Pro 9.0 or free Adobe Reader":
    http://forums.adobe.com/message/1867664#1867664
    Author  : ~graffiti
    Profile : http://forums.adobe.com/people/~graffiti
    Message:

  • Where can I find Installer and uninstaller log files in JSE 6?

    Where can I find Installer and uninstaller log files in JSE 6?

    For the installer log file, search for Sun_Java_Studio_Enterprise_6_2004Q1_install, or some portion of that.
    To find Java ES component product log files, search on Sun_ONE.
    You can also search for the timestamp that is part of each log file name. It is of the format MMddhhmm (Month/day/hour/minute)
    Refer also to the Troubleshooting chapter of the Installation Guide for additional details on reports and log files used by Java SE

  • How can I find .plist and .kext files?

    How can I find .plist and .kext files which are corrupt and need to be deleted before restarting and reloading applications)? Where are they hidden? How do I make them visible?
    /hezet

    Thank you Eric and Lanny for your answers!
    I was confused as the files could neither be found by Spotlight nor by the search field in the upper right corner of the Finder windows (why??), but I have located them now. The files were:
    AppleUSBEthernetHost.kext  The name appeared in i a warning window now and then.
    The .plist files were reported red (failed) by EtreCheck:
    com.apple.CSConfigDotMacCert-***@me.com-SharedServices.Agent.plist
    com.adobe.SwitchBoard.
    com.apple.netauth.sysagent.plist
    I have deleted all four files and restarted the computer. Now there are no items in red in EtreCheck, but none of the deleted files has been replaced after restart.
    So far the computer seems to work well. What action do you consider appropriate now?
    /hezet

  • HT1766 lost my iphone and can't find photos and videos from camera roll on my computer. where are they?

    lost my iphone and can't find photos and videos from camera roll on my computer. where are they?
    thanks

    Where did you put them?
    These are not part of the sync process at all, as the manual tells you.  You should be importing them to your comptuer regularly as you would with any digital camera.

Maybe you are looking for

  • How to automatically update the Expiry Date's number of days

    My web app input form is an event submission form. Users enter the event title, event date and other details, etc. I've figured out how to get the "expiry days" in the form and it be hidden but i can't figure out how to calculate this: (today's date)

  • Multiple line printing in SAPscript

    Hello Friends, I have problem in printing multiple lines on sap script. I have created a window. and i have creted a text eliment 'MULTIPLE it. Under this Text eliment i have code as below. /E    MULTIPLE AS  & internalTABLE-FIELD& I have fetched dat

  • To learn

    Hi, I wish to learn flash media sever.... I dont have any knowledge in server side scripting.... i have good knowledge in action scripting.... What else i have to know to learn flash media server. Thanks, shanthi.

  • Standardized query

    I am curious if there is a standard (like a w3c standard) that defines how to write sql queries in java to interact with the database...anyone know if this exists? Thanks, Jesse

  • My icloud apple id email is no longer accessible to me

    i have an old email address that i no longer have access to for my icloud apple i.d.  i cannot log in as i have forgotten the password.  How can I amend the email address to be the same as my itunes apple id?