Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel hangs trying to boot from GPT disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
direvus
n00b
n00b


Joined: 11 Aug 2012
Posts: 2

PostPosted: Sat Aug 11, 2012 10:33 am    Post subject: [SOLVED] Kernel hangs trying to boot from GPT disk Reply with quote

Hi folks,

I am attempting to migrate my Gentoo system from a 1TB disk to a 3TB disk. After getting the disk set up with a GPT partition table and a BIOS boot partition, and unmasking and installing grub2, it gets as far as the line "Freeing unused kernel memory", and that's it. It just hangs there.

I've come across other threads on the net talking about hangs at the "Freeing unused kernel memory" step, and it seems that it indicates a failure to execute /sbin/init.

It seems like the root partition is getting mounted successfully. My last few lines of output look like this:

Code:

kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda4): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) readonly on device 8:4.
Freeing unused kernel memory: 556k freed


My kernel does have CONFIG_EFI_PARTITION. If I boot up with the minimal install CD, I can activate the LVs and chroot in just fine. The disk is working, all the files are there. The partitions look right, the /etc/fstab looks right.

I've tried upgrading to the latest gentoo-sources kernel, just in case (now 3.3.8) but that had no effect on the problem. I am running out of things to try. Any suggestions?

Thanks for your time.


Last edited by direvus on Sat Aug 11, 2012 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 647

PostPosted: Sat Aug 11, 2012 3:05 pm    Post subject: Reply with quote

Do you have:
Code:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
?
Back to top
View user's profile Send private message
direvus
n00b
n00b


Joined: 11 Aug 2012
Posts: 2

PostPosted: Sat Aug 11, 2012 3:36 pm    Post subject: Reply with quote

Aquous wrote:
Do you have:
Code:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
?


Wow you sure called it. I didn't have those options selected, but I switched them on, rebuilt my kernel and it booted successfully! Thanks very much Aquous.

Does this mean that there was nothing wrong with my GPT/grub2 setup, and I just coincidentally run afoul of the udev thing?

In any case, [SOLVED].
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 647

PostPosted: Sat Aug 11, 2012 6:57 pm    Post subject: Reply with quote

direvus wrote:
Does this mean that there was nothing wrong with my GPT/grub2 setup, and I just coincidentally run afoul of the udev thing?
Yes ;)
Back to top
View user's profile Send private message
fberger
n00b
n00b


Joined: 04 Dec 2006
Posts: 57
Location: Germany

PostPosted: Thu Jan 17, 2013 7:43 pm    Post subject: Reply with quote

I've just been hit by a similar issue: after migrating to a larger disk and a different partition layout, booting stopped at "kjournald starting. Commit interval 5 seconds".

Aquous wrote:
Code:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y


helped here as well. Thanks a ton!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum