You are not logged in.
Hello,
I have a fresh arch install with only base, base-devel and openssh.
I boot on penbuntu, at this point I can see my devices in /dev.
Then I mount my root arch partition on /mnt/rootfs and do :
kexec --load /mnt/rootfs/boot/vmlinuz-linux --initrd=/mnt/rootfs/boot/initramfs-linux.img --command-line="root=/dev/sda3 ro vesa video=vesafb"which returns :
setup_linux_vesafb: 1280x720x32 @ 10028000 +708000I then do kexec -e, It seems to start loading the kernel since the screen is cleared and each time it does
[0.845500] i8042: No controller found
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
Waiting 10 seconds for device /dev/sda3 ...
ERROR: device '/dev/sda3' not found. Skipping fsck.
ERROR: Unable to find root device '/dev/sda3' /
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs /]#I tried everything as root in the kexec --command-line, root=LABEL, root=UUID but it always do exactly the same thing, waits for 10s for device and then ERROR and drops to the recovery shell.
Any idea of what's going on ? Why can't it see devices ?
EDIT : If that can help, the kernel from which I am kexecing is 2.6.24.3 and If I try to just chroot I notice :
mount -t proc proc proc/
mount -t sysfs sys sys/Works but when I :
mount -o bind /dev dev/It returns :
mount: mounting /dev on dev/ failed: Invalid argumentSo somehow I think when the kernel loads it has trouble passing the /dev along and therefore sees no devices. But I still can't figure out what to do.
Thanks in advance ![]()
Last edited by Nolhian (2012-07-28 17:47:30)
Offline
Why didn't you try the method given in the wiki?
I use kexec daemon and it works.
Offline
I can't because I'm booting on penbuntu and not arch linux. Anyways the command used in the wiki is similar to the one I'm using.
Offline
Solved, had to put usb in the hooks in mkinitcpio.conf.
Offline