You are not logged in.

#1 2013-01-31 02:10:12

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

[SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

SOLUTION AT POST #11
I just completed the install process onto a new machine.  Grub starts but then returns these error messages.

  Booting 'Arch GNU/Linux, with Linux core repo kernel'

error: no such device: ad4103fa-d940-47ca-8506-301d8071d467.
Loading Linux core repo kernel ...
error: file '/boot/vmlinuz-linux' not found.
Loading initial ramdisk ...
error: you need to load the kernel first.

Press any key to continue...

I installed Arch via a flashdrive (sdb), onto SATA port 1 (sda).  SDA has a fresh MBR.  Unfortunately, I have no way to post my grub config files.  What files must I modify to get GRUB to work properly?

fstab: http://sprunge.us/SVMi

grub.cfg: http://sprunge.us/hQCB

Edit: Thread solved.

Last edited by qKUqm3wtY4 (2013-01-31 03:36:43)


I am a noob.  Ask me nothing.

Offline

#2 2013-01-31 02:23:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

qKUqm3wtY4 wrote:

Unfortunately, I have no way to post my grub config files.

Chroot in and pastebin them.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-01-31 02:29:31

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

qKUqm3wtY4 wrote:
 error: no such device: ad4103fa-d940-47ca-8506-301d8071d467.

This line makes me think you've given the wrong UUID to grub.  This answer might be useful (http://superuser.com/questions/485722/h … n-grub-cfg).  You can edit your grub.cfg by booting into the flashdrive and then mounting your system the same way you installed it.

Offline

#4 2013-01-31 02:30:31

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

jasonwryan wrote:

Chroot in and pastebin them.

I assume I could use lynx to access pastebin, but then how do I copy and paste the config files?


I am a noob.  Ask me nothing.

Offline

#5 2013-01-31 02:37:15

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

You could use sprunge http://sprunge.us/

 cat grub.cfg | curl -F 'sprunge=<-' http://sprunge.us 

Offline

#6 2013-01-31 02:42:10

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

jynnantonix wrote:

This line makes me think you've given the wrong UUID to grub.  This answer might be useful (http://superuser.com/questions/485722/h … n-grub-cfg).  You can edit your grub.cfg by booting into the flashdrive and then mounting your system the same way you installed it.

Okay, I am looking at the config file.  Now I just have to figure out how to list my UUIDs...  Google I shall consult.


I am a noob.  Ask me nothing.

Offline

#7 2013-01-31 02:54:54

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

jynnantonix wrote:

You could use sprunge http://sprunge.us/

 cat grub.cfg | curl -F 'sprunge=<-' http://sprunge.us 

EPIC.  Thank you!


I am a noob.  Ask me nothing.

Offline

#8 2013-01-31 02:58:00

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

jasonwryan wrote:

Chroot in and pastebin them.

fstab: http://sprunge.us/SVMi

grub.cfg: http://sprunge.us/hQCB


I am a noob.  Ask me nothing.

Offline

#9 2013-01-31 03:10:29

jynnantonix
Member
Registered: 2012-09-07
Posts: 33

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

From fstab:

# /dev/sda5 LABEL=root
UUID=6135c578-17f6-4e04-9376-31661a804353

From grub.cfg

echo    'Loading Linux core repo kernel ...'
    linux    /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 ro  quiet

There's your problem.  Your root is set to a device that isn't in your fstab and probably doesn't exist.  Try running

grub-mkconfig -o /boot/grub/grub.cfg

Alternatively, you could just change the UUID= line in grub.cfg to your root UUID.

You can also verify that the entries in your fstab are correct by doing

ls -l /dev/disk/by-uuid/

and making sure that they match up.

Last edited by jynnantonix (2013-01-31 03:13:37)

Offline

#10 2013-01-31 03:25:01

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

jynnantonix wrote:

You can also verify that the entries in your fstab are correct by doing

ls -l /dev/disk/by-uuid/

and making sure that they match up.

ls -l /dev/disk/by-uuid/ : http://sprunge.us/ZVUU

It seems they match up so I am going to have to hand edit grub.cfg

If this works I will update with SOLVED.

Last edited by qKUqm3wtY4 (2013-01-31 03:56:01)


I am a noob.  Ask me nothing.

Offline

#11 2013-01-31 03:55:27

qKUqm3wtY4
Member
From: San Francisco
Registered: 2012-12-19
Posts: 60
Website

Re: [SOLVED] [GRUB error] "no such device" "vmlinuz-linux not found"

SOLUTION
by: jynnantonix

Step 1: Start Arch via boot disc.
Step 2: Connect to internet.
Step 3: Mount partitions.

# swapon dev/sdX
# mount /dev/sdX /mnt
# mount /dev/sdX /mnt/home
# mount /dev/sdX /mnt/boot

Step 4: Chroot

# arch-chroot /mnt

Step 5: Remake grub.conf

# grub-mkconfig -o /boot/grub/grub.cfg

Another Notable Tip by: jynnantonix
If you need to post information from terminal to the internet, use the following:

 [insert command here] | curl -F 'sprunge=<-' http://sprunge.us

example: ls -l /dev/disk/by-uuid/ | curl -F 'sprunge=<-' http://sprunge.us
example: cat /boot/grub/grub.cfg | curl -F 'sprunge=<-' http://sprunge.us

Last edited by qKUqm3wtY4 (2013-01-31 04:04:49)


I am a noob.  Ask me nothing.

Offline

Board footer

Powered by FluxBB