You are not logged in.

#1 2012-10-22 22:50:18

bdawg
Member
Registered: 2012-07-08
Posts: 28

arch wont boot when dual booting using kernel 3.6.2-1

kernel version: 3.6.2-1. Ok so awhile ago i had a problem were arch wouldnt boot and it would bring the 10second message up.

Booting the kernel.
:: Starting udevd...
done.
:: Running Hook [udev]
:: Triggering uevents...done.
Waiting 10 seconds for device /dev/disk/by-uuid/.....
ERROR: device '/dev/disk/by-uuid/.....'. not found
. Skipping fsck
ERROR: Unable to find root device '/dev/disk/by-uuid/.....'.
You are being dropped to a recovery shell
       Type 'exit' to try and continue booting
sh: can't access tty: job control turned off

I was able to temporarily fix it by following some of the suggestions here https://bbs.archlinux.org/viewtopic.php?id=135288&p=1. specifically at post #4. Now the problem is back but if i unplug my windows hard drive i can boot no problem. So i decided to go back through some post's and see if i cant fix it. And when i try to generate the image file this is what it gives me

[bdawg@(none) ~]$ mkinitcpio -p linux
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [pata]
  -> Running build hook: [scsi]
  -> Running build hook: [sata]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
/usr/bin/mkinitcpio: line 395: /boot/initramfs-linux.img: Permission denied
bsdcpio: ./hooks: Write error: Broken pipe
==> ERROR: Image generation FAILED: bsdcpio reported an error
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [pata]
  -> Running build hook: [scsi]
  -> Running build hook: [sata]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
/usr/bin/mkinitcpio: line 395: /boot/initramfs-linux-fallback.img: Permission denied
bsdcpio: ./hooks: Write error: Broken pipe
==> ERROR: Image generation FAILED: bsdcpio reported an error

So now i am stuck and dont know what to do. The funny thing is, is that since the last time a was able to temporarily fix it i have not updated or installed anything new. Thanks for the help.

Last edited by bdawg (2012-10-22 23:16:50)

Offline

#2 2012-10-23 01:09:26

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: arch wont boot when dual booting using kernel 3.6.2-1

Are you using root=/dev/disk/by-uuid/<numbers-and-sh*t>?  I found that I get much more consistency when I use root=UUID=<numbers-and-sh*t>.  I am not sure why, but my system would also not boot with both drives in using the /dev/disk/by-uuid method.

Offline

#3 2012-10-23 08:07:22

ackt1c
Banned
From: Visalia, California
Registered: 2012-10-10
Posts: 241

Re: arch wont boot when dual booting using kernel 3.6.2-1

I had this problem after switching to systemd, booted live cd, mounted disk, chroot'd, everything was fine, next restart disk found.
Any changes not recursive on boot device?

Offline

#4 2012-10-23 13:35:49

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: arch wont boot when dual booting using kernel 3.6.2-1

[bdawg@(none) ~]$ mkinitcpio -p linux

<snip>

==> Creating gzip initcpio image: /boot/initramfs-linux.img
/usr/bin/mkinitcpio: line 395: /boot/initramfs-linux.img: Permission denied

You should run this command as root.

Edit: But this is not your problem, because you can boot if you unplug your windows drive. You can add 'nofail' to the options in fstab so that boot continues even if it can't mount this drive. What's in your fstab?

You don't have a hostname, that can cause some problems. (But I doubt it is related to this.)

Last edited by Lennie (2012-10-23 13:48:29)

Offline

#5 2012-11-08 05:19:10

bdawg
Member
Registered: 2012-07-08
Posts: 28

Re: arch wont boot when dual booting using kernel 3.6.2-1

my fstab looks like this

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
# UUID=add26e61-e231-4767-a8ec-f47da61c1f97
/dev/sda3               /               ext4            rw,relatime,data=ordered        0 1

# UUID=2af9cfd6-0f18-4f18-a1d6-43b9cc8a9477
/dev/sda1               /boot           ext4            rw,relatime,data=ordered        0 2

# UUID=5a7de171-d45f-473d-a988-09fbedfff3ea
/dev/sda2               none            swap            defaults        0 0

And thanks haha ya i should add a hostname i just forgot to do it. Also i did run it as root and if i add the nofail can't tha screw something up.

And as far as "Any changes not recursive on boot device" i dont believe so.

Offline

Board footer

Powered by FluxBB