[SOLVED]Will not boot: "/sbin/init does not exist...

There is another thread about this, but as of today (26-07-2013) it is 3 years old and Arch no longer uses sysvinit.
(https://bbs.archlinux.org/viewtopic.php?id=93197)
I tried re-installing systemd-sysvcompat, as that now handles /sbin/init, no luck.
Is there some skeleton init file I could copy/regenerate from somewhere?
NOTE: This is a new installation. Haven't booted cleanly yet
Last edited by drasticraft (2013-07-28 17:30:48)

Any chance you have more than one drive attached?  There are  no guarantees as to which drive is mapped to sda and which is mapped to sdb.
If not that, from the shell into which you get dumped, go look around and see that /sbin is a link to /usr/bin.
You might also add an option to point at your init.   (/usr/bin/init)   It will make your option line look like:
options        root=/dev/sda1 ro init=/usr/bin/init
Also, ensure that /usr/bin/init is linked to systemd.  :
/sbin/init -> ../lib/systemd/systemd
I'll still wager that the filesystem upgrade went awry.

Similar Messages

  • [Solved]Unable to boot /sbin/init does not exist.

    When I boot, I get this message: ERROR: Root device mounted successfully, but /shin/init does not exist. This is an installation that was working fine for me before. I went into Windows to free up disk space, and when I booted Arch later, this is what came up. I have already tried using the live disk as a rescue, but I am unable to chroot into it. I have checked my partitions with a live disk and my files are still there. Is there any way that I can fix this without reinstalling Arch? I have a lot of things that I cannot reinstall right now as I don't have access to the internet currently, and I am using my phone to access the forum.
    Last edited by LGG42 (2013-11-27 02:43:47)

    My bootloader is Syslinux. Yes, I am able to mount the file systems. The partitions are in ext4 format.  I boot from legacy BIOS, as I have had EFI problems in the past.  arch-chroot gives me this: ==> ERROR: failed to setup API filesystems in chroot /mnt. I should have been clear about what I did in Windows. I was running out of space in Windows, and I had some unallocated disk space, and so I extended my Windows partition.
    The output of frisk -l is:
    Disk /dev/sda: 500.1 GB, 500107862016 sectors
    Units = sectors of 1* 512
    I/O size (minimum/optimal): 4096 Bytes/4096 bytes
    disk label type: got
    #1 start: 2048 End 821247 size 400M type windows recovery 2 start 821248 End 1353727 Size 260M type ms basic 3 start 874614784 End 916559871 Size 128M ms reserved 4 start 1615872 End 874614783 Size 416G ms basic. 5 start 874614784 End 91655781 Size 20G ms basic. 6 start 916561920 End 916756479 Size 95M type EFI system. 7 start 916758528 End 928495615 8 start 928495616 end 928499711 Size 2M type ms basic. 9 start 928499712 End 976773119 size 23G type ms basic. Sorry about the mess that is in. As a note, my / partition is #5, and my home is #9. Thank you for helping.

  • [SOLVED] after upgrade : /sbin/init does not exist. Bailing out, ...

    hi, after having upgraded today my archlinux, I cannot boot it. I get the following message : "ERROR: Root device mounted successfully, but /sbin/init does not exist. Bailing out, you are on you own. Good luck."
    The last time the system was upgraded was in june 2013, before the "Binaries move to /usr/bin requiring update intervention" advisory (https://www.archlinux.org/news/binaries … ervention/). So before upgrading I followed the instructions given in this article and was able to upgrade. But after reboot I got the error message I'm reporting here.
    Here is a copy  of the config I'm using to boot arch in grub:
    menuentry "Archlinux" {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos7'
            echo 'Loading of Archlinux, kernel v.3.xx.xx ...'
            linux /boot/vmlinuz-linux root=/dev/sda7 ro
            initrd /boot/initramfs-linux.img
    Last edited by heavytull (2014-03-06 21:24:48)

    karol wrote:
    There have been quite a few changes since you last updated e.g. we're using 'rw' instead of 'ro'. Try
    linux /boot/vmlinuz-linux root=/dev/sda7 rw init=/usr/lib/systemd/systemd
    It's now much better. But a lot of errors are reported and the system hangs, but still rebootable with Ctrl + Alt + Del.
    Here are the error messages:
    [FAILED] Failed to mount Configuration File System.
    See 'systemctl status sys-kernel-config.mount' for details.
    [FAILED] Failed to mount Huge Pages File System.
    See 'systemctl status dev-hugepages.mount' for details.
    [FAILED] Failed to mount POSIX Message Queue File System.
    See 'systemctl status dev-mqueue.mount' for details.
    [FAILED] Failed to mount Temporary Directory.
    See 'systemctl status tmp.mount' for details.
    [FAILED] Failed to start Remount Root and Kernel File System.
    See 'systemctl status systemd-remount-fs.service' for details.

  • Root device mounted successfully, but /sbin/init does not exist ???

    I'm having the issue where when I boot after doing a fresh install, it gives me:
    ERROR: Root device mounted successfully, but /sbin/init does not exist
    Bailing out, you are on your own. Good luck
    sh: can't access tty; job control turned off
    [rootfs /]#
    My fstab:
    # /etc/fstab
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda1 LABEL=homerroot
    UUID=877deab9-624d-4e1d-90a1-ccc1d6ebc0c6 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=homerboot
    UUID=77835da5-8a38-44c1-bf27-bb657df4484b /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sda3 LABEL=homeretc
    UUID=8a1b5bd8-b147-41e0-87df-70a4a9e12df2 /etc ext4 rw,relatime,data=ordered 0 2
    # /dev/sda4 LABEL=homervar
    UUID=8eb2e7b1-cdf1-46ce-9dc1-439d002bfae4 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sda5 LABEL=homerusr
    UUID=bce162b4-d27f-450c-a0e6-4d3ebc6242dc /usr ext4 rw,relatime,data=ordered 0 2
    # /dev/sda6 LABEL=home
    UUID=62de76ab-b6d4-4e3d-a423-c287b81813a9 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda7 LABEL=public
    UUID=d98a9c8e-2301-4e66-8c7f-26167633a4b0 /public ext4 rw,relatime,data=ordered 0 2
    This looks fine to me, but when /dev/sda1 is mounted at /new_root, none of the other devices are mounted....
    I don't know if this is what's causing the problem since /etc, and /usr are on separate partitions from root, but
    this would be the first time I get a problem dividing things this way (on ubuntu, mint, fedora, et cetera).
    So I tried:
    https://bbs.archlinux.org/viewtopic.php … 3#p1283343
    I get "* is owned by filesystem 2013.05-2" for all three dirs from step three.
    None of the other steps have any effect....
    I also tried:
    https://bbs.archlinux.org/viewtopic.php?id=172943
    My /dev/sda1 mounts to new_root, so I don't think I'm having his problem.
    And:
    https://bbs.archlinux.org/viewtopic.php?id=166423
    I reinstalled systemd-sysvcompat, and I'm sure that's not my problem.
    Interestingly enough, /usr/lib/systemd/systemd is an elf file on my target hard disk.
    Is this an outdated issue or something? Or should /usr/lib/systemd/systemd be a text file?
    Thanks in advance for your help guys!

    WorMzy wrote:Oh, and /usr/lib/systemd/systemd is supposed to be an ELF binary. Not sure why you think it should be a text file.
    I saw another thread saying that adding an entry there would help. I think it was "init=<something>".
    WonderWoofy wrote:A separate /etc is not supported whatsoever.  There needs to be initial access to a few things there.  I'm sure it could be made to work with some initramfs hackery.  But it is neither supported or wise to do so IMO.
    I'll not do the separate partitions then. Thanks. I'll check back if it works/doesn't-works.

  • [SOLVED] /sbin/init does not exist error on boot

    Hi all,
    Let me first say that Arch Linux is a great distribution and I couldn't be more happier with it! Thanks to everyone who is involved in building it.
    However, as the subject line suggests, I have run into a problem. I have tried every trick in my book and every suggestion on Google but the problem still persists.
    The setup
    * UEFI boot loader on /dev/sda1
    * BTRFS file system on /dev/sda2 in __active subvolume
    * The system was installed in Jan using the latest install CD (I presume systemd changes were already applied)
    The problem
    Booting halts on rEFInd screen
    What I have tried
    Since the last pacman command upgraded git and kernel to 3.7.6-1 (this is not the first kernel upgrade on this system)my first idea was to rollback to 3.7.5-1 which results in /sbin/init not found error.
    Re-installing 3.7.6-1 halts the system on rEFInd boot screen. I tried booting from rEFI shell and it results in the same /sbin/init not found error (on 3.7.6-1 kernel) so I presume that's the main issue here.
    From there on (as suggested by various posts online) I have verified that rEFInd points to the correct root partition. Also, I've tried passing /bin/systemd explicitly but the error still persists.
    I can boot into Live install environment and chroot into the setup on my drive. I have checked that /sbin/init exists (as well as /bin/systemd).
    I am out of options here. Any help will be much appreciated.
    Please let me know if you require any other information from me.
    Last edited by clalbus (2013-02-10 20:59:42)

    OK, now that I have marked the __active subvolume as default I can boot (using EFI shell) without using the rootflags=subvol=__active kernel parameter.
    However, rEFInd boot loader is still not working (with or without rootflags=subvol=__active). Unfortunately I don't see any error messages as the system hangs at rEFInd boot screen.
    Here's my archlinux.nsh (that I use to boot through EFI shell):
    echo -on
    \EFI\arch\vmlinuz-arch.efi root=PARTUUID=626f545b-44f5-4a72-b1f3-d942fbcd0b46 ro rootfstype=btrfs add_efi_memmap systemd.unit=graphical.target initrd=\EFI\arch\initramfs-linux.img rootflags=subvol=__active
    Here's my refind_linux.conf from (/boot/efi/EFI/arch)
    "Boot with defaults" "root=PARTUUID=626f545b-44f5-4a72-b1f3-d942fbcd0b46 ro rootfstype=btrfs add_efi_memmap systemd.unit=graphical.target rootflags=subvol=__active"
    "Boot to terminal" "root=PARTUUID=626f545b-44f5-4a72-b1f3-d942fbcd0b46 ro rootfstype=btrfs add_efi_memmap systemd.unit=multi-user.target rootflags=subvol=__active"
    Any idea why booting through EFI shell would work but not through rEFInd?
    Is it worthwhile rebuilding /boot?

  • HP G60-230US does not boot (disk indicator does not come on)

    My HP G60-230US does not boot up. Here's the behavior:
    - Power button is pressed and comes on, wi-fi button lit orange
    - Power LED near the power cord stays lit solid
    - On the front-left side, the power indicator LED stays lit solid, battery LED off, disk LED never comes on and is not blinking (indicating disk is not spinning);
    - During the process the caps lock indicator on the left side neither comes on nor blinks
    Tried following and problem remains:
    - Power off by press and hold power button for few seconds, then power back on as above
    - Reset. Battery and power cord out, press & hold power button over 20 secs, then power back on.
    - Tried removing battery and power the laptop with power cord alone, still no luck.
    It seems that this happened after I opened memory compartment on the back panel, and removed battery once to check its model information. One thing: I did that when the laptop was in sleep mode.
    Another fact: battery has become non-rechargeable in past few months and I have been using the laptop with power cord plugged in.
    Please help!
    Richard

    Having same problems with my Pavilion Slimline s3340.uk. Bad motherboard! Mine is a Foxconn. Looking for a suggested replacement part for mine as i cant find a direct replacement unit anywhere.

  • /sbin/init does not exist

    I followed steps on arch frontpage (I guess), but now my system can't boot. So i booted to newest arch cd and wanted to chroot to this installation and I can't.
    # arch-chroot /mnt
    chroot: failed to run command /bin/sh: No such file or directory
    Yea, I mounted correct partition. Well, removing these dirs in root folder was kinda point of this update, wasn't it? If they were supposed to symlink, it did not happen. So I tried to symlink it myself and I did it in a way I could chroot to this installation (read: "I somehow did it but I'm not sure if I did it correctly as I am noob"), but step "pacman -Su" still throws these kind of errors:
    "filesystem: /bin exists in filesystem"
    What now?

    this thread helped me to solve my problem, which was very  like the one described by OP.
    after the confusion with files in /sbin etc. this was already the second time upgrades did not work and i had made my system unbootable.
    i had created the mess myself, no need to go into that now.
    upgrading 'filesystem' through arch live 'cd' was the key.
    just 1 thing to add: when you boot into the live environment, make sure you connect to the internet first, i had problems with that once i had issued any kind of chroot command.
    but really i wanted to leave my mark here because:
    searching for answers, i read many threads about the current "/bin exists in filesystem" confusion, and they're quite full of sarcastic remarks and cryptic inside jokes, in a way i find off-putting.
    would it have been such a bad thing if i had started another thread on this, after trying for hours, days, making matters worse than better, daring to ask a question that marks me as less experienced? many hardcore forum posters' remarks surely made me feel like that.
    but, this thread is the positive example! all is not lost. thanks.
    Last edited by ondoho (2013-06-06 15:01:39)

  • PowerBook will not boot, Disk Utility does not see drive, HW Diag Pass

    My PowerBook Ti will no longer boot. I am getting a flashing what looks like OS 9 face, and folder in the middle of the screen, and they alternate.
    I have Tiger Disks so I tried booting from them and running the disk utility. The drive is not recognized.
    I decided to run the PowerBook's hardware diagnostic disk. Both sets of test passed. I was expecting to see the mass storage one to fail, but it did not.
    I am kind of stuck, does anybody have any kind of suggestion?
    Thanks in advance,
    Lee
    PS Hitting apple S is not recognized during the boot.

     Could this be a bad logic board????
    Yes. Or a bad hard drive cable, or a poorly seated connection on either end of that cable.
    The HD cable is fairly delicate and needs to be handled with care when connecting and disconnecting, as when you're replacing the HD. It's possible that your first HD failed, and then you damaged the cable when removing it or installing the new drive, so that even though the second drive is new and presumably in good working order, it can't be used because the cable is now bad. I would suggest investing a small amount in a new HD cable before replacing the LB or returning the new HD. Any of these parts vendors should be able to supply one:
    http://www.pbparts.com (parts and repair work)
    http://www.dttservice.com (parts and repair work)
    http://www.powerbookresq.com (parts and repair work)
    http://www.powerbookmedic.com (parts and repair work)
    http://www.tekserve.com (parts and repair work)
    http://www.ifixit.com (parts and excellent, illustrated online take-apart instructions)

  • Boot Camp Assistant does not work

    I just installed leopard (clean install). When I start the boot camp assistant, I just get the error message that I need to upgrade the operating system..... anybody?

    I have the same problem and i have searched EVERYWHERE for an answer to it. The only thing i know is that my firmware is not correct. It does not need to be updated it says but it clearly does if you ask me.
    For me the Boot ROM Version is: MB11.0061.B02 and you need .B03 to use it. I have had this problem for ages when i tried to setup windows on ma mac using the Beta version of Boot Camp, when i was using Tiger. I was hoping when i bought Leopard this problem would have been solved but nope, nothing.
    Is there anyway to go back to original firmware and then update it again? There must be a way!!! Or do we have to wait for the next firmware update from apple?
    I upgraded my mac because of the option to add windows as well and due to my work i would love to have windows also.

  • Updated my phone, now e-mail will not send because server does not allow relaying

    Updated iphone 3GS to iOS 5, now my company e-mail will not send "because server does not allow relaying".  I'm just an employee, not an IT type - have no idea what this means and I'm very frustrated. Also infuriated with Apple because THEIR update caused this to happen, yet I have to PAY for their support because I have an older iPhone. Someone please help.

    razmee209, thanks for your reply. After signing up for the community, I saw that I wasn't the only one. However, I think I've solved it by looking over the comments in reply to others with this problem.
    First, I think the iOS5 update may have made the phone default to IMAP setting. I noticed when I deleted my account and re-set it up that there is a large button at the top for either IMAP or POP. It is already defaulted to IMAP, but my account must be POP.  So this is the first thing to check when you're setting up your account.
    Second, I noted some other comments about needing to supply a username and password to the outgoing server even though it says optional. I included those, but got a message that it wasn't recognized (or something like that) and did I want to continue anyway. I told it to continue. After a few seconds, it verified my account, and now everything works.
    Hope this helps others having this problem.

  • How do I remove the Windows partition? Boot Camp Assistant does not allow me to select the remove option.

    I am using an iMac, 8.1, early 2008. I installed Windows XP at that time. I am now using OS 10.8.5 and want to remove the Windows partition to free up disk space. Boot Camp Assistant does not allow me to select the "install or remove" option. How can I get rid of the Windows partition?

    You can try removing it in Disk Utility.
    To resize the drive do the following:
    1. Open Disk Utility and select the drive entry (mfgr.'s ID and size) from the left side list.
    2. Click on the Partition tab in the Disk Utility main window. You should see the graphical sizing window showing the existing partitions. A portion may appear as a blue rectangle representing the used space on a partition.
    3. Select the bottom rectangle/partition. Click on the Delete [-] button below the sizing window to remove it. Click on the Apply button. Wait until the process has completed.
    4. In the lower right corner of the sizing rectangle for the remaining partition is a resizing gadget. Select it with the mouse and drag it all the way down to the bottom. Click on the Apply button and wait until the process has completed. 
    You should now have a restored single volume on the drive.
    It would be wise to have a backup of your current system as resizing is not necessarily free of risk for data loss.  Your drive must have sufficient contiguous free space for this process to work.

  • Boot screen resolution does not match the login screen on retina

    Boot screen resolution does not match the login screen on MBP retinas if you've set your resolution to hi-res thus resulting a flickering at login screen appearing instead of that nice login screen animation, due to I believe screen resolution change...
    is there a way to change boot screen resolution (times before login screen)???
    Or do we have to wait for apple to push an EFI update for this problem?
    Thanks in advance

    No one having this issue?
    please some one at least confirm this so I know thats not my setup spesific problem?

  • Boot Camp Assistant does not allow partiton when my disk is the right format

    Boot Camp Assistant does not allow partiton when my disk is the right format - (Mac OS Extended (Journaled) volume).
    When I go to the Boot Camp Assistant to partition the Macintosh HD disk, an error comes up saying,
    "The disk cannot be partitioned because some files cannot be moved
    Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again."
    Please help me out! I would really appreciate it!

    I was not allowed the Repair Disk option. I tryed Verify Disk, and an error came up saying,
    "The volume Macintosh HD was found corrupt and needs to be repaired.
    Error: This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk."
    What should I do?

  • Cannot send email. When I click Write the window does not open properly. Does not have the "send, spelling, attach security save" line.

    Cannot send email. When I click Write the window does not open properly. Does not have the "send, spelling, attach, security, save line there. Then when I click File, then Send now it will not send. A message comes up saying my SMTP server failed. Have check and everything appears to be o.k.

    Hi Stephen,
    What version of MS Office are you using?
    Are you facing the issue similar to that mentioned here: Acrobat/Reader: Attach to Email button not working for PDFs referenced from long URLs
    Open Acrobat. Use the click-path Edit - Preferences - select the Category "Email Accounts". In the dialog there is the "Add Account" drop-down. Select "Add Other". The "Add Webmail Account" dialog presents. You'll fill out the dialog's fields with Outlook.com settings. (don't forget the "Advance Settings" button)
    From a look-see on the web it appears that the following are the needed settings. BUT, you'll be wanting to validate.
    The Outlook.com SMTP server settings for sending outgoing messages from an email program on desktop, cell phone or mobile device are:
    • Outlook.com SMTP server address: smtp.live.com
    • Outlook.com SMTP user name: Your full Outlook.com email address (not an alias)
    • Outlook.com SMTP password': Your Outlook.com password
    • Outlook.com SMTP port: 587
    • Outlook.com SMTP TLS/SSL encryption required: yes
    For incoming messages from an Outlook.com account to an email program using POP, use the Windows Live Hotmail POP3 server settings.
    The Outlook.com POP server settings for downloading new incoming messages to email program, cell phone or mobile device are:
    • Outlook.com POP server address: pop3.live.com
    • Outlook.com POP user name: Your full Outlook.com email address (not an alias)
    • Outlook.com POP password: Your Outlook.com password
    • Outlook.com POP port: 995
    • Outlook.com POP TLS/SSL encryption required: yes
    Regards,
    Rave

  • My iPod frozen on "Do not disconnect" yet it does not appear in iTunes on my computer ?

    My iPod seems to be frozen on "Do not disconnect" yet it does not appear in iTunes on my computer ? Eventually I did disconnect. It's remains frozen and shows almost full charge.

    I'm having similar problems. Here is exactly what happens to me:
    I dock the iPod (I believe it is the 5th gen model, one of the first to play videos). Sometimes it syncs properly sometimes not. It will add songs not on my iPod, but it won't update the play count, last played, etc. The problem was fixed when I updated to a new version of iTunes (I believe it was 7.2 at the time, I could be wrong). So I played it off just being an iTunes issue. Well, with 2 updates since then, it has done it yet again. I've tried to restart the iPod using the menu+select key. It will work to remove the iPod, but it won't help in the future. The only way I can remove the iPod is to click on "Safely Remove Hardware." I know this isn't good for the iPod, but this is the only way that I can get the "Do not disconnect" icon off my iPod. Also, I tried to click "Eject iPod" (I've used this several times in emergency cases and worked wonders) but I get a message saying "iPod is in use by another windows program." I couldn't imagine what program is using my iPod. As far as I know, iTunes is the only program that can use the iPod on my computer. Any help would be greatly appreciated.

Maybe you are looking for

  • Issues with changing connection at run-time

    Post Author: dmazourick CA Forum: Data Connectivity and SQL Weu2019ve tried a lot of different ways to resolve this issue, but are getting every time the different result. Probably someone deal with that issue before and know how to correctly resolve

  • Setting size of movie in Logic Express?

    Is it possible to change the size of the movie in Logic Express? And if so, could someone tell me what the options are, as far as the size goes? Thanks...

  • Upload of Sections in Word Document into SAP SE38 editor

    Hi I was wondering if we can build a ABAP tool which would read different sections within the 'Technical Specification Document' word document and   - Create ABAP program in SE38 - pull content from various sections of Word document under the respect

  • Migrating database from solaris to linux

    I am not sure if there is a migration section here. However, I would like to migrate a 9.2.0.8 database from Solaris to linux and upgrade it to 11g. I reckon that both platforms have different endian format and using rman convert+transportable databa

  • Interfaces not visible in 'Operator' when executed with 'Remote Agent'

    Hi, I am new to ODI, and have an issue with running Interfaces/Packages with a Remote Agent.+ I have setup an agent on the machine on which the Database is installed. I have created a Physical Agent with the details, and on using the 'Test' button in