You are not logged in.

#1 2015-06-06 22:21:58

budalas
Member
Registered: 2015-06-06
Posts: 5

Arch won't boot from usb 3.0

Hey!

I installed arch on my portable hard drive following instructions on https://wiki.archlinux.org/index.php/In … SB_3_media than i added xhci-hcd to modules in mkinitcpio.conf as it says on this page http://www.wyae.de/docs/boot-usb3/. I'm using grub instead of syslinux so i went to grub.cfg and added earlymodules=xhci_hcd modules-load=xhci_hcd

my grub.cfg (the part that i changed):

...
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-07cbc285-b4d2-4497-853a-90de700292ec' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos 
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  07cbc285-b4d2-4497-853a-90de700292ec
	else
	  search --no-floppy --fs-uuid --set=root 07cbc285-b4d2-4497-853a-90de700292ec
	fi
	echo	'Nalaganje Linuxa linux ...'
	linux	/boot/vmlinuz-linux root=UUID=07cbc285-b4d2-4497-853a-90de700292ec rw  quiet earlymodules=xhci_hcd modules-load=xhci_hcd
	echo	'Nalaganje začetnega ramdiska ...'
	initrd	 /boot/initramfs-linux.img
...

Now i could boot on usb3 but after i rebooted a couple of times i would get this error:

[    0.719968] xhci_hcd 0000:00:14.0: Error while assigning device slot id
[    0.720747] xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32
[    0.721674] usb usb-2-port2: couldn't allocate usb_device
[    2.498473] sd 4:0:0:0 [sdb] No Caching mode page found
[    2.499083] sd 4:0:0:0 [sdb] Assuming drive cache: write through
ERROR; device 'UUID=07cbc...(my / partition) not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=same 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 also noticed that earlymodules=xhci_hcd modules-load=xhci_hcd in grub.cfg was gone. I tought this was the problem so I opened grub-customizer and added earlymodules=xhci_hcd modules-load=xhci_hcd in kernel parameters window. That fixed the grub.cfg issue but i still have that error massage.

ps: i can boot from usb3 on another computer without adding xhci_hcd to modules or grub.cfg. Also on the computer with the error it sometimes boots without the error and sometimes i get the error and i couldn't figure out why. I have debian installed on another usb3 and can boot every time without problems.

Thank you for helping.

EDIT: I tried syslinux and I still get the same error.

EDIT 2: It seams that if i boot on computer without errors and use os for some time, then next time i boot on computer whit error I can boot normally but when I restart the computer i get the error. Strangely this only happens if I spend some time on computer that works. If i just boot on that computer and shutdown immediately I get the error when i boot on other computer (hopefully I am not too confusing when referring to those two computers smile)

Last edited by budalas (2015-08-24 17:36:00)

Offline

#2 2015-06-06 23:10:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Arch won't boot from usb 3.0

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB