You are not logged in.

#1 2010-05-02 19:38:05

CheatCat
Member
Registered: 2009-07-10
Posts: 54

[Solved] Grub error 15

I tried to install Arch Linux again and followed the interactive thing, but when I reboot I just get the error 15 message... sad

There is anything I can do or must I reinstall the whole system?

Last edited by CheatCat (2010-05-06 23:32:20)

Offline

#2 2010-05-02 20:23:21

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [Solved] Grub error 15


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2010-05-02 23:17:51

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: [Solved] Grub error 15

Oh, thank you. I don't get it to work by following that guide either, but I have succeed booting Arch by using another boot loader. However I get some other strange error that root cannot be mounted or something. I think whole the system is corrupted and I maybe know why.
When choose harddrive accessing method I took by UUID. And then, on the last step when you choose where to install the bootloader, I think I took sda1 instead of sda...

Offline

#4 2010-05-02 23:35:44

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Solved] Grub error 15

I think I took sda1 instead of sda...

Then your system is not corrupted and you can fix things by running grub-install /dev/sda from inside Arch.

BTW I don't believe that you can boot Arch if root cannot be mounted. /var and /home may be optional, but / is mandatory.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2010-05-03 07:51:15

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: [Solved] Grub error 15

It's probably the initramfs that's booting, and it doesn't succeed in mounting the root device...  Have you specified the root device in the kernel command line (root=/dev/XdXY)?


V=RI sweet V=RI

Offline

#6 2010-05-03 11:47:52

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: [Solved] Grub error 15

Tried to run grub-install /dev/sda but get this error:

Could not find device for /boot: Not found or not a block device

Offline

#7 2010-05-03 12:07:10

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [Solved] Grub error 15

if you aren't sure about the UUID's, boot into an Arch live cd, mount the / partition and run blkid to get the UUID. At the same time, install grub onto the MBR like the others said.

By the way, you need to mount the /boot partition (or just the root, however you are setup) and install grub like this.
grub-install --root-directory=/mnt/boot /dev/sda


neutral

Offline

#8 2010-05-03 15:20:42

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: [Solved] Grub error 15

I solved it by just create a boot folder on my boot partition and copy everything on that disk into the folder. Then I runned the commands on this page: http://ubuntuforums.org/showthread.php?t=224351 grub-install might also work.
Maybe it's even possible to just have an empty boot folder since it seems that grub don't use it anyway, it just need it when installing. tongue

And as Ber said, I haven't used the root command in the menu.lst file. I think I removed it for some reason, by adding root=/dev/sda3 to the command I get it to work.

At last I also edited the fstab file to use /dev/* paths instead of UUID, because I thought it cause errors. tongue The only problem was that I didn't know that the numbering begins at sda1, NOT sda0! I think that sda2 was the root, but that was the SWAP! I changed that too and it works!

tl;dr: Don't edit fstab! tongue

Thank you all! big_smile

Offline

Board footer

Powered by FluxBB