External USB 3.0 harddrive as root misdetects available partitions
WD Passport 0730 (500gb hybrid drive w/ usb3.0)
1) GRUB boots, drive detected
2) Kernel loads
3) Kernel detects sda1 and sda3 (skipping sda2)
GRUB tab completion:
primary partition 1 bootable, ext2
primary partition 2 0x8e (linux lvm)
from kernel init:
ls /dev/|grep sda
I've tested this with multiple kernel versions which work with an internally (sata 3gb/s) connected laptop hdd. Reverting to a usb 2.0 port does not solve the problem.
Anyone have any clues as to what's going on here?
I've also tried this in VirtualBox which demonstrates the same behavior when you create a device linked straight to the external harddrive.
mount -t proc none /proc
mount -t sysfs none /sys
mount /dev/sda2 /mnt/root
exec switch_root /mnt/root /sbin/init
I've tried modifying the above to reference sda3 instead, but then it says "cannot open for read-only access"