View previous topic :: View next topic |
Author |
Message |
ykram n00b
Joined: 08 Aug 2006 Posts: 16
|
Posted: Sun Oct 14, 2012 6:16 pm Post subject: Separate /usr partition and initramfs not working anymore |
|
|
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 |
|
|
ykram n00b
Joined: 08 Aug 2006 Posts: 16
|
Posted: Mon Oct 15, 2012 3:51 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|