Using the script I installed Debian on a hard disc connected via USB.
The partition tables looks as following:
Is the order a problem for uboot? I do not think so, because I attached the drive to my PC and looked in /var/log
There is a dmesg and a dmesg.0 file:
...
[ 3.923794] SCSI subsystem initialized
[ 3.950877] Initializing USB Mass Storage driver...
[ 3.956093] scsi0 : SCSI emulation for USB Mass Storage devices
[ 3.962767] usbcore: registered new interface driver usb-storage
[ 3.969415] usb-storage: device found at 3
[ 3.969424] usb-storage: waiting for device to settle before scanning
[ 3.969468] USB Mass Storage support registered.
[ 8.965939] usb-storage: device scan complete
[ 8.966884] scsi 0:0:0:0: Direct-Access SAMSUNG SP1614C PQ: 0 ANSI: 2 CCS
[ 9.007824] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 9.016311] sd 0:0:0:0: [sda] Write Protect is off
[ 9.021127] sd 0:0:0:0: [sda] Mode Sense: 00 38 00 00
[ 9.021136] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.028930] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.035052] sda: sda1 sda2 sda3 sda4
[ 9.063059] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.069212] sd 0:0:0:0: [sda] Attached SCSI disk
[ 14.062182] udev[166]: starting version 164
[ 15.277750] Adding 1049560k swap on /dev/sda2. Priority:-1 extents:1 across:1049560k
[ 21.651808] eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 37.832543] NET: Registered protocol family 10
[ 37.842556] lo: Disabled Privacy Extensions
They both end with that line.
[ 9.021137] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.028929] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.035053] sda: sda1 sda2 sda3 sda4
[ 9.063059] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.069213] sd 0:0:0:0: [sda] Attached SCSI disk
[ 14.062070] udev[166]: starting version 164
[ 15.344368] Adding 1049560k swap on /dev/sda2. Priority:-1 extents:1 across:1049560k
[ 35.111293] eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 51.142525] NET: Registered protocol family 10
[ 51.149361] lo: Disabled Privacy Extensions
Also, after every failed boot-up fsck /dev/sdc1 shows problems:
Durchgang 2: Prüfe Verzeichnis Struktur
Eintrag »random-seed« in /var/lib/urandom (106721) hat gelöscht/unbenutzt Inode 106731. Bereinige<j>? ja
Eintrag »dmesg.0« in /var/log (106711) hat gelöscht/unbenutzt Inode 106806. Bereinige<j>? ja
Eintrag »motd« in /var/run (106713) hat gelöscht/unbenutzt Inode 106735. Bereinige<j>? ja
Eintrag »sshd.pid« in /var/run (106713) hat gelöscht/unbenutzt Inode 106827. Bereinige<j>? ja
Eintrag »dhcpcd-eth0.pid« in /var/run (106713) hat gelöscht/unbenutzt Inode 106826. Bereinige<j>? ja
Eintrag »ifstate« in /etc/network/run (213763) hat gelöscht/unbenutzt Inode 213794. Bereinige<j>? ja
Durchgang 3: Prüfe Verzeichnis Verknüpfungen
Durchgang 4: Überprüfe die Referenzzähler
Durchgang 5: Überprüfe Gruppe Zusammenfassung
Block Bitmap differieren: -426518 -428091 -432129 +432133 +434178 -438346 -440330 -440375 -440382 -440397 -444417 -448595 -450564 -882691
What to do?