Is it possible to boot an OS from a hard disk connected via external hub? I've installed Raspbian but booting stops with a notification that /dev/sda1 isn't found. Is there anything I can do about it?
Thanks!
boot from external HDD/hub
Rocket Scientist.
Re: boot from external HDD/hub
Yes it works just fine for me.
One thing to try is /sda2 or just /sda
Make sure you have this in cmdline.txt and that there is a space before and after it. You should have changed it from "/dev/mmcblk0p2" to "/dev/sda1"
Make sure you have the right rootfs type stated in cmdline.txt also.
One thing to try is /sda2 or just /sda
Make sure you have this in cmdline.txt and that there is a space before and after it. You should have changed it from "/dev/mmcblk0p2" to "/dev/sda1"
Code: Select all
root=/dev/sda1
Code: Select all
rootfstype=ext4
512MB version 2.0 as WordPress Server
Motorola Lapdock with Pi2B
Modded Rev 1.0 with pin headers at USB
http://rich1.dyndns.tv/
(RS)Allied ships old stock to reward its Customers for long wait!
Motorola Lapdock with Pi2B
Modded Rev 1.0 with pin headers at USB
http://rich1.dyndns.tv/
(RS)Allied ships old stock to reward its Customers for long wait!
Re: boot from external HDD/hub
I've created partitions 1 (ext4) and 2 (swap), but I'll try sda tonight.Lob0426 wrote:Yes it works just fine for me.
One thing to try is /sda2 or just /sda
I started out with no cmdline.txt at all and had to create it with this single line you quoted, but it appears the systems identifies correctly what I want as it complains about exactly the /dev/sda1 device I stated there. At least, I hope I understand what's going onLob0426 wrote:Make sure you have this in cmdline.txt and that there is a space before and after it. You should have changed it from "/dev/mmcblk0p2" to "/dev/sda1"

Ah, that's promising. I'll try your suggestions tonight. Thanks!Lob0426 wrote:Make sure you have the right rootfs type stated in cmdline.txt also.Code: Select all
rootfstype=ext4
Rocket Scientist.
Re: boot from external HDD/hub
http://www.raspberrypi.org/phpBB3/viewt ... 3&p=122743 - read the thread
http://www.raspberrypi.org/phpBB3/viewt ... fs#p122476 <- plus the small typo I made and fixed in a later post
http://www.raspberrypi.org/phpBB3/viewt ... fs#p122476 <- plus the small typo I made and fixed in a later post
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: boot from external HDD/hub
Specifying the fs and/or changing sda1 to sda had it all ended up with that nice rainbow screen. boot_delay=1000 and rootdelay=30 did apparently nothing. In no time, I had the screen full of text and still it is reported that /dev/sda1 isn't found.
Powering up all at the same time or having hub and usb HDD powered first than Pi made no difference.
Back without cmdline.txt, Raspbian boots just fine from SD and the USB HDD is accessible at /dev/sda1.
I'm lost here (again).
Powering up all at the same time or having hub and usb HDD powered first than Pi made no difference.
Back without cmdline.txt, Raspbian boots just fine from SD and the USB HDD is accessible at /dev/sda1.
I'm lost here (again).
Rocket Scientist.
Re: boot from external HDD/hub
Whoops ... it wasn't patient enough. After some time, the rainbow screen went away and fun started
.
Well, it now complains about the swap partition apparently have holes, but I'll try to resolve it myself. At least one thing I should do myself
.
Thanks guys, you are great!

Well, it now complains about the swap partition apparently have holes, but I'll try to resolve it myself. At least one thing I should do myself

Thanks guys, you are great!
Rocket Scientist.
Re: boot from external HDD/hub
Deinstalled swapfile, removed dphys-swap symlink, created swap partition entry in fstab - solved.
Ha!
Ha!
Rocket Scientist.