You are not logged in.

#1 2012-02-18 03:54:05

runny6play
Member
Registered: 2012-02-18
Posts: 85

problems with grub2

I successfully (as far as i can tell) arch linux to my computer, skipping installing a bootloader and planing on just using grub2 from my Ubuntu install. In Ubuntu I took a shortcut and used the update-grub2 command which it successfully found arch, but when i try to boot from grub2 it mounts the root partition  and then attempts to mount and load boot... it then gives the message waiting on sda3 and then fails and drops into shell....

Offline

#2 2012-02-18 06:57:07

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: problems with grub2

runny6play wrote:

I successfully (as far as i can tell) arch linux to my computer

You can boot your machine with the arch install disk/thumb-drive you have to confirm this. Simply mount you your partition(s) from within the console environment and see if everything is there. Also, this allows you to inspect your configuration(s) for problems.

runny6play wrote:

planing on just using grub2 from my Ubuntu install.

To be clear. You used the Ubuntu installer, not GRUB files just copied over from a pre-existing Ubuntu install?

runny6play wrote:

In Ubuntu I took a shortcut

That may have been unwise. While it may have looked like it was working at the time, that and any other deviations you made from the standard installing procedure may have had unintended consequences.

Bootloaders are among the more complex aspects of computers. They're not just drop-in-installed like higher level software. Thankfully, there is an entire portion of the wiki dedicated to the install of GRUB2 on Arch Linux. Did you read it or any other documentation before attempting this?

Last edited by Avant-texte (2012-02-18 06:57:55)

Offline

#3 2012-02-18 08:42:59

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: problems with grub2

runny6play wrote:

I successfully (as far as i can tell) arch linux to my computer, skipping installing a bootloader and planing on just using grub2 from my Ubuntu install. In Ubuntu I took a shortcut and used the update-grub2 command which it successfully found arch, but when i try to boot from grub2 it mounts the root partition  and then attempts to mount and load boot... it then gives the message waiting on sda3 and then fails and drops into shell....

Seems vague to me. WHAT drops to shell, grub2 or after booting the initramfs (ramfs shell). Even when you say "it mounts the root partition  and then attempts to mount and load boot... it then gives the message waiting on sda3 and then fails and drops into shell" is it grub2 try the mount and showing the message or the initramfs't init program.

Offline

#4 2012-02-18 11:59:27

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: problems with grub2

the.ridikulus.rat wrote:
runny6play wrote:

I successfully (as far as i can tell) arch linux to my computer, skipping installing a bootloader and planing on just using grub2 from my Ubuntu install. In Ubuntu I took a shortcut and used the update-grub2 command which it successfully found arch, but when i try to boot from grub2 it mounts the root partition  and then attempts to mount and load boot... it then gives the message waiting on sda3 and then fails and drops into shell....

Seems vague to me. WHAT drops to shell, grub2 or after booting the initramfs (ramfs shell). Even when you say "it mounts the root partition  and then attempts to mount and loadi boot... it then gives the message waiting on sda3 and then fails and drops into shell" is it grub2 try the mount and showing the message or the initramfs't init program.

I've seen several such errors. Chances are it said something about loading the kernel, few more lines, and then something to the effect of:

Waiting 30 seconds for device /dev/sda3
ERROR: boot device didn't show up after 30 seconds
        Falling back to interactive prompt
        You can try to fix the problem manually, logout when you are finished
[ramfs /]# 

Quite often, the kernel and/or udev is to blame. That wouldmay imply the booltloader is workingto though, but as you said, runny6play was too vague. Even writting down a single line could be enough for web search. As it stands, there's no way to know for sure. At this point s/he might be better off scraping and rebuilding both bootloader & kernel, if not just redoing the whole install (rtfm'ing this time).

EDIT:
Lol, well how about that. Here's someone else on the forums dealing with that same kind of issue! https://bbs.archlinux.org/viewtopic.php … 6#p1058646 ...but as I said, there's a no guaranty that's even related to this problem.

Last edited by Avant-texte (2012-02-18 12:12:53)

Offline

#5 2012-02-18 15:51:56

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: problems with grub2

Avant-texte wrote:
the.ridikulus.rat wrote:
runny6play wrote:

I successfully (as far as i can tell) arch linux to my computer, skipping installing a bootloader and planing on just using grub2 from my Ubuntu install. In Ubuntu I took a shortcut and used the update-grub2 command which it successfully found arch, but when i try to boot from grub2 it mounts the root partition  and then attempts to mount and load boot... it then gives the message waiting on sda3 and then fails and drops into shell....

Seems vague to me. WHAT drops to shell, grub2 or after booting the initramfs (ramfs shell). Even when you say "it mounts the root partition  and then attempts to mount and loadi boot... it then gives the message waiting on sda3 and then fails and drops into shell" is it grub2 try the mount and showing the message or the initramfs't init program.

I've seen several such errors. Chances are it said something about loading the kernel, few more lines, and then something to the effect of:

Waiting 30 seconds for device /dev/sda3
ERROR: boot device didn't show up after 30 seconds
        Falling back to interactive prompt
        You can try to fix the problem manually, logout when you are finished
[ramfs /]# 

Quite often, the kernel and/or udev is to blame. That wouldmay imply the booltloader is workingto though, but as you said, runny6play was too vague. Even writting down a single line could be enough for web search. As it stands, there's no way to know for sure. At this point s/he might be better off scraping and rebuilding both bootloader & kernel, if not just redoing the whole install (rtfm'ing this time).

EDIT:
Lol, well how about that. Here's someone else on the forums dealing with that same kind of issue! https://bbs.archlinux.org/viewtopic.php … 6#p1058646 ...but as I said, there's a no guaranty that's even related to this problem.

Sorry about the vagueness... upon posting this I had messed up grub2(easy fix just havnt got to it yet) and was too tired to remeber the rest I do in fact get the message from above exect the promt is rootfs.... and if it is udev and the kernal what should be my best. Course of action. Reinstall? should I let arch install grub and just add ubuntu to it? Is there a way where I can just fix udev and the kernal?....

Offline

#6 2012-02-18 16:23:00

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: problems with grub2

What is the grub2 version you see when you boot the system. Can you try Arch's extra/grub2-bios pkg? This might be due to grub2 not properly loading initramfs image into the memory and/or informing the kernel  about its memory location so that the kernel can mount it and boot from it.

Offline

#7 2012-02-18 18:31:08

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: problems with grub2

the.ridikulus.rat wrote:

What is the grub2 version you see when you boot the system. Can you try Arch's extra/grub2-bios pkg? This might be due to grub2 not properly loading initramfs image into the memory and/or informing the kernel  about its memory location so that the kernel can mount it and boot from it.

I screwed up grub so I can't tell you... I was hoping to just be able to use the fix on the provided link by avant but chown gives me a shared libary error

Offline

#8 2012-02-19 05:56:00

Avant-texte
Member
Registered: 2012-02-13
Posts: 136

Re: problems with grub2

runny6play wrote:
the.ridikulus.rat wrote:

What is the grub2 version you see when you boot the system. Can you try Arch's extra/grub2-bios pkg? This might be due to grub2 not properly loading initramfs image into the memory and/or informing the kernel  about its memory location so that the kernel can mount it and boot from it.

I screwed up grub so I can't tell you... I was hoping to just be able to use the fix on the provided link by avant but chown gives me a shared libary error

At the very least, your GRUB needs replacing. If everything else is as it should be (which we can't be sure of at this point), than it should work after that.

I agree; using Arch resources over Ubuntu in this case is definately something you should try.

Have you considered starting with a standard Arch install and migrating it to GRUB2 afterwards? Starting from a fully working system would eliminate many possible questions should you run into problems.

EDIT:

runny6play wrote:

should I let arch install grub and just add ubuntu to it?

Is this a dual boot or Arch-only machine?

runny6play wrote:

Is there a way where I can just fix udev and the kernal?....

https://wiki.archlinux.org/index.php/Ke … all_kernel

Last edited by Avant-texte (2012-02-19 06:04:51)

Offline

#9 2012-02-22 01:00:06

runny6play
Member
Registered: 2012-02-18
Posts: 85

Re: problems with grub2

Status report... I did a complete reinstall and chrooted and installed grub2 ... now it boots to welcome to grub and then crashes and goes back to the bios and repeats... I can't figure out why... I did load dm-mod before chrooting..... idk if that's causing issuses.... also when I messed up and made annother boot in the / partion it booted to the grub commandline... idk if that's sigificant

Offline

#10 2012-02-22 01:28:00

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: problems with grub2

Please stop being so vague. Make sure you give concise but complete information. Some people on these forums aren't powerful seers who can part the fabric of space and time to remotely inspect your computer for themselves.

  • What partitions are your Arch and Ubuntu installations on?

  • Do you use LVM or hard-drive encryption? If so, you need to explain their structure and which partitions they're sitting on.

  • You're still not answering any of the other questions people already asked you. Screwing up your bootloader is no excuse. You can always boot from a livecd and chroot into either your Arch or Ubuntu installs.

Offline

Board footer

Powered by FluxBB