Welcome! Log In Create A New Profile

Advanced

detection of bootable devices doesn't work

Posted by Elfish 
detection of bootable devices doesn't work
October 25, 2010 09:55AM
yep.

i gave up to move my debian install to my external usb hdd. i'd like to use it as a data grave for now.....
i deleted all partitions on it and made one single ext3 partition

i already updated uboot to the latest version supplied my jeff. so the partition detection should be fine.
If the usb stick (contains debian) is plugged in AND my usb hdd, booting fails and i end up in jeff's rescue system.
having only the stick plugged in, booting works fine. the hdd itself is recognized fine by debian and i'm able to put data on it.

is there anything i'm doing wrong?
once i'm back at home i'll post the results of "fw_printenv".
Re: detection of bootable devices doesn't work
October 25, 2010 10:41AM
If you haven't changed any uBoot environment variables since installing it, don't worry about posting your config. Instead, get netconsole running so you can see the output of uBoot. It will usually tell you exactly what is happening. Most likely your hard drive isn't spinning up fast enough to be detected.

-- Jeff
Re: detection of bootable devices doesn't work
October 25, 2010 01:05PM
thanks for your reply :).

is there a way to add a "longer" wait time?

it's quiet hard to get netconsole running since the dockstar is my only linux system :(
i tried some netconsole windows servers but couldn't get it to work :(
u dont happen to know a server for windoze systems?



Edited 2 time(s). Last edit at 10/25/2010 01:10PM by Elfish.
Re: detection of bootable devices doesn't work
October 25, 2010 04:21PM
i've setup a debian vm netstat is collecting data as i write.
i just gotta find a way on how to transfer the logfile lol
Re: detection of bootable devices doesn't work
October 25, 2010 04:32PM
that's the log with both usb devices attached:

http://pastebin.ca/1973191

it seems to find the correct usb device.
maybe debian mixes up the usb devices and mounts the hdd as sda instead of sdb



Edited 1 time(s). Last edit at 10/25/2010 04:33PM by Elfish.
Re: detection of bootable devices doesn't work
October 25, 2010 04:41PM
This looks like your problem:
# scanning bus for devices... 4 USB Device(s) found
#    scanning bus for storage devices... error in inquiry
# 1 Storage Device(s) found
The bootloader is only detecting one device and apparently erroring on the second device. It's then telling the kernel to boot from the first device, which it assumes will be sda. However, once the kernel starts, it's likely detecting both drives successfully and assigning sda to the wrong device.

You may be able to solve your problem by swapping the ports that your devices are plugged in to.

-- Jeff
Re: detection of bootable devices doesn't work
October 25, 2010 04:47PM
cool thanks it works now.

couldn't i just use uuids in /etc/fstab instead of /dev/sda1
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: