Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Separate /usr partition and initramfs not working anymore
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
ykram
n00b
n00b


Joined: 08 Aug 2006
Posts: 14

PostPosted: Sun Oct 14, 2012 6:16 pm    Post subject: Separate /usr partition and initramfs not working anymore Reply with quote

I had used this document originally https://wiki.gentoo.org/wiki/Early_Userspace_Mounting to setup an initramfs for my 3.4.2 kernel and had no issues. However, I recently upgraded to 3.5.4 and added ATH9k support to my kernel. When booting, my initramfs does not work anymore. I tried to re-create it for my 3.5.4 kernel but I'm still having issues.

Upon boot, when initramfs runs, the script fails to mount /dev/sda1 to /mnt/sda1 with the following message:
Mounting rootfs
mount: mounting /dev/sda1 on /mnt/root failed: No such file or directory
Error with uuidlabel_root

I verified the command its trying to run is simply:
mount -o ro /dev/sda1 /mnt/root

What is odd is that I can manually type this and get it to mount /dev/sda1 to /mnt/root without issue. So why is my initramfs failing? :\
Back to top
View user's profile Send private message
ykram
n00b
n00b


Joined: 08 Aug 2006
Posts: 14

PostPosted: Mon Oct 15, 2012 3:51 am    Post subject: Reply with quote

Solved :)

In case anybody else runs into this, basically I modified the 'init' script used by initrd to attempt uuidlabel_root and then sleep 5 seconds if the return code from mount is not 0 and to repeat that 5 times.
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