You are not logged in.
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
Unfortunately, I have no way to post my grub config files.
Chroot in and pastebin them.
Offline
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
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
You could use sprunge http://sprunge.us/
cat grub.cfg | curl -F 'sprunge=<-' http://sprunge.us
Offline
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
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
Chroot in and pastebin them.
fstab: http://sprunge.us/SVMi
grub.cfg: http://sprunge.us/hQCB
I am a noob. Ask me nothing.
Offline
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
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
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