Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › incorect boot orrder
- This topic has 10 replies, 2 voices, and was last updated 9 years, 2 months ago by petrockblog.
-
AuthorPosts
-
09/19/2015 at 23:41 #106435xenon-777Participant
I have connect a HD over USB on my Pi. Works good so on. But it look as have RetroPi a incorrect boot order. It mounts the HD before it check it with e2fsck. e2fsck can not check mounted devices and break the boot with a error. I can continue the boot with ckt-D but theed is suboptimal.Anyone a idea?
Error:
cat /var/log/fsck/checkfs Log of fsck -C -R -A -a Sat Sep 19 23:16:10 2015 fsck from util-linux 2.20.1 /dev/sda1 is mounted. e2fsck: Cannot continue, aborting. dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN /dev/mmcblk0p1: 71 files, 9946/29117 clusters fsck died with exit status 8 Sat Sep 19 23:16:10 2015 ----------------
check output:
sudo e2fsck /dev/sda1 e2fsck 1.42.5 (29-Jul-2012) RPi_Data: sauber, 5651/15269888 Dateien, 21275541/61049344 Blöcke
fstab:
cat /etc/fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 UUID=45885bbb-3164-4d6d-9a0e-809b428475c2 /home/pi/hd ext4 defaults 0 2 # a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
and for all that not see wath i do:
ls -l /home/pi/RetroPie insgesamt 12 drwxr-xr-x 4 pi pi 4096 Sep 19 20:26 BIOS drwxr-xr-x 2 pi pi 4096 Aug 10 05:04 retropiemenu lrwxrwxrwx 1 pi pi 10 Sep 19 19:59 roms -> ../hd/roms drwxr-xr-x 46 pi pi 4096 Aug 10 05:04 roms-old
df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/root 30G 3,2G 26G 11% / devtmpfs 301M 0 301M 0% /dev tmpfs 61M 420K 61M 1% /run tmpfs 5,0M 0 5,0M 0% /run/lock /dev/sda1 230G 78G 140G 36% /home/pi/hd tmpfs 122M 0 122M 0% /run/shm /dev/mmcblk0p1 57M 20M 38M 35% /boot
09/19/2015 at 23:44 #106436petrockblogKeymasteryou should put log output between code tags on the forum for readability.
Also – that is not a complete fstab – When postting logs/configs, please post complete logs (via pastebin if they are large).
09/19/2015 at 23:59 #106442petrockblogKeymasteralso make sure you have the “USB ROM service” disabled. (can be done from retropie-setup). you might want to
sudo apt-get remove usbmount
also.09/20/2015 at 01:12 #106446xenon-777Participantok … code is in
and that is the complete error Log. There is no more. I can only give a dmesg output to but this is a little long.
And if y say i shot activate “USB ROM service” y didn’t now what this make. Or y haven’t understand what i have done. The HD is fix. It will not connect ore disconnect in running. I have link the roms Dir direct to the HD. So “USB ROM service” will be extremely counterproductive. And before y ask, yes, this work perfect.
09/20/2015 at 01:48 #106447petrockblogKeymasterfstab is not complete – you should have more than 1 line in /etc/fstab
not sure what the rest of your message means but I’m saying to make sure the usbmount daemon is not running.
Are you using google translate ? :) y = you ?
09/20/2015 at 03:57 #106453xenon-777Participanty = you, correct … fstab completed and the dir with the link added. All good so? Can we go to the main problem? The incorrect boot order.
09/20/2015 at 05:09 #106455petrockblogKeymasterIt’s easier to understand if you don’t abbreviate words like “you”. I’m too old to appreciate/understand txtspk.. :)
Change the last 2 to a 3 in fstab in the line starting with UUID=45885bbb-3164-4d6d-9a0e-809b428475c2 (or change it to a 0 to skip the filesysten check).
“man fstab” to learn more about these numbers.
And also make sure the usbmount daemon is not enabled as mentioned earlier (apt-get remove it)
09/20/2015 at 13:45 #106468xenon-777ParticipantOK … 0 work. 3 didn’t. So to change the order did no effect. But it work. :) And i have brave look in manual. ;)
But is this not an main bug? The System can not mount and then check. That will ever run in a error. It must check and then mount. miss i anything?
And thank you. :)
09/20/2015 at 15:27 #106473petrockblogKeymasterdid you do the other things i mentioned – removing usbmount ?
09/21/2015 at 02:50 #106513xenon-777Participantok … you are right … without usbmount 3 work. :)
one last thing. do you now how i deactivate the boot logo?
i haven’t found it in rcx.d or rc.local.09/21/2015 at 10:01 #106522petrockblogKeymastercan be done from retropie-setup
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.