View previous topic :: View next topic |
Author |
Message |
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 9:53 am Post subject: Boot hangs on initramfs |
|
|
After installing Gentoo(inside VirtualBox), I get this when I try to boot ...
Code: |
>>Booting (initramfs)..
INIT: version 2.88 booting
_
|
I used genkernel:
Code: |
initramfs-genkernel-x86-3.10.7-gentoo
kernel-genkernel-x86-3.10.7-gentoo
|
Here are my partitions:
Code: |
/dev/sda1 boot
/dev/sda2 swap
/dev/sda3 /
|
Here is my grub.conf
Code: |
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo LInux 3.10.7
root (hd0,0)
kernel /boot/kernel-genkernel-x86-3.10.7-gentoo real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-3.10.7-gentoo
#vim:ft=conf:
|
|
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9709 Location: almost Mile High in the USA
|
Posted: Fri Sep 13, 2013 6:22 pm Post subject: |
|
|
What happens without initramfs?
What did you set as default console during kernel build? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 8:41 pm Post subject: |
|
|
Tried without init and if failed, saying plz append root=
I never set any console options. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9709 Location: almost Mile High in the USA
|
Posted: Fri Sep 13, 2013 9:45 pm Post subject: |
|
|
What about root=/dev/sda3 instead of real_root=/dev/sda3, will it boot that way at least?
Guessing a broken initramfs at this point but ... not sure... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 9:49 pm Post subject: |
|
|
If initramfs is broken, how do I fix it? |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 10:03 pm Post subject: |
|
|
Well, that didn't work either. |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Fri Sep 13, 2013 10:31 pm Post subject: |
|
|
In your kernel and initrd lines in your grub.conf file remove the "/boot" part of it.
You already have grub looking at the /boot partition with your root statement, so if there isn't a symlink in /boot that leads to /boot then the actual path that you are searching is /boot/boot/blah.
Does that make sense? _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 10:53 pm Post subject: |
|
|
I ran ls -l from boot:
|
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 10:56 pm Post subject: |
|
|
So do I just remove the root= statement? |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Fri Sep 13, 2013 11:06 pm Post subject: |
|
|
What happens if you change your grub.conf as follows:
Code: | default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Gentoo LInux 3.10.7
root (hd0,0)
kernel kernel-genkernel-x86-3.10.7-gentoo root=/dev/sda3
initrd initramfs-genkernel-x86-3.10.7-gentoo
#vim:ft=conf: |
_________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Fri Sep 13, 2013 11:29 pm Post subject: |
|
|
I get:
Booting 'Gentoo LInux 3.10.7'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel kernel-genkernel-x86-3.10.7-gentoo
Error 1: Filename must be either an absolute pathname or blocklist
Press any key to coninue... |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9709 Location: almost Mile High in the USA
|
Posted: Sat Sep 14, 2013 1:51 am Post subject: |
|
|
What we're trying to do is completely remove initramfs from your setup as you may not really need it just to simplify things a bit. Comment out or remove the initramfs line and see what it does. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Sat Sep 14, 2013 6:42 am Post subject: |
|
|
grimgent wrote: | I get:
Booting 'Gentoo LInux 3.10.7'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel kernel-genkernel-x86-3.10.7-gentoo
Error 1: Filename must be either an absolute pathname or blocklist
Press any key to coninue... |
put a slash at the beginning of the kernel and initramfs lines (if you are keeping the initram line that is) The slash makes it an absolute path.
[edit] kernel /genkernel-line is what I meant, btw. _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
grimgent n00b
Joined: 13 Sep 2013 Posts: 8
|
Posted: Sun Sep 15, 2013 1:01 am Post subject: |
|
|
Well I decided to install it natively. Instead of installing
Grub from Gentoo, I used Arch's. I'm dual booting Arch
and Gentoo.
I know I should have done that earlier, but I wanted
to try and fix the problem first. |
|
Back to top |
|
|
Ilya.A Tux's lil' helper
Joined: 15 Aug 2007 Posts: 93 Location: Russia, Magadan
|
Posted: Tue Sep 24, 2013 1:52 am Post subject: |
|
|
Same problem - i can't boot gentoo on virtualbox with kernel 3.10.7, hangs on init.
Any ideas? |
|
Back to top |
|
|
Safokoi n00b
Joined: 15 Oct 2013 Posts: 2
|
Posted: Tue Oct 15, 2013 2:14 am Post subject: |
|
|
Same problem x86_3.10.7+Virtualbox.
>>Booting (initramfs)..
INIT: version 2.88 booting |
|
Back to top |
|
|
|