10th May, 2013, 11:01 PM
Hi All,
I had my PI boot up from a USB stick, i followed tutorial from this forum, everything works fine until i plugged my USB hard drive to storage torrent downloads.
It appears when Pi reboot with both USB stick and USB hard drive, it wont boot up. If I un-plug hard drive, it went fine as usual.
My guess is Pi confused about two usb device, and trying to boot up from the hard drive.
This is my cmdline.txt:
dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty2 root=/dev/sda2 rootfstype=ext4 rootwait logo.nologo quiet loglevel=0 splash
What i do right now is unplug HDD when Pi reboot, and plug it back after it boot-up. But this way HDD get mount to different path everytime. Some time /media/usb2, some time /media/usb3, which screw up my symbolic links like /home/xbian/downloads, causing transmission problems.
Guys, how can i solve this problem?
P.S.
some command output i think maybe helpful
xbian@xbian ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Bus 001 Device 004: ID 0951:1641 Kingston Technology
xbian@xbian ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.6G 1.4G 2.2G 39% /
/dev/root 3.6G 1.4G 2.2G 39% /
devtmpfs 187M 0 187M 0% /dev
tmpfs 38M 272K 38M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 34M 11M 24M 32% /media/usb0
/dev/sda2 3.6G 1.4G 2.2G 39% /media/usb1
tmpfs 75M 0 75M 0% /run/shm
/dev/mmcblk0p1 34M 11M 24M 32% /boot
/dev/sdb2 895G 30G 820G 4% /media/usb2
/dev/sdb1 489G 81G 408G 17% /media/usb3
I have two partition on HDD, i use the 895G one to save downloads.
I had my PI boot up from a USB stick, i followed tutorial from this forum, everything works fine until i plugged my USB hard drive to storage torrent downloads.
It appears when Pi reboot with both USB stick and USB hard drive, it wont boot up. If I un-plug hard drive, it went fine as usual.
My guess is Pi confused about two usb device, and trying to boot up from the hard drive.
This is my cmdline.txt:
dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty2 root=/dev/sda2 rootfstype=ext4 rootwait logo.nologo quiet loglevel=0 splash
What i do right now is unplug HDD when Pi reboot, and plug it back after it boot-up. But this way HDD get mount to different path everytime. Some time /media/usb2, some time /media/usb3, which screw up my symbolic links like /home/xbian/downloads, causing transmission problems.
Guys, how can i solve this problem?
P.S.
some command output i think maybe helpful
xbian@xbian ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 005: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Bus 001 Device 004: ID 0951:1641 Kingston Technology
xbian@xbian ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.6G 1.4G 2.2G 39% /
/dev/root 3.6G 1.4G 2.2G 39% /
devtmpfs 187M 0 187M 0% /dev
tmpfs 38M 272K 38M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 34M 11M 24M 32% /media/usb0
/dev/sda2 3.6G 1.4G 2.2G 39% /media/usb1
tmpfs 75M 0 75M 0% /run/shm
/dev/mmcblk0p1 34M 11M 24M 32% /boot
/dev/sdb2 895G 30G 820G 4% /media/usb2
/dev/sdb1 489G 81G 408G 17% /media/usb3
I have two partition on HDD, i use the 895G one to save downloads.