[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?

Similar Messages

  • [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]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]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.

  • /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)

  • Need urgent help :'The requested resource does not exist error'

    Hi All,
    I am getting 'The requested resource does not exist error' when trying to acess http://machinename:50000/irj
    Even when i access http://machinename:50000, i get the same 'The root directory does not exist' error. I checked in visual admin, there is no other application deployed except my application.
    Any clues? Pls help
    thanks
    bhawna

    HI ,
    Did succeed to solve your problem. I am running into same problem.
    Any help is welcome.
    Thank u very much.

  • ORA-02289: sequence does not exist Error

    When add Entity Attribute Value : adf.object.nextVal('DenialCommentId')
    Value Type: Expression
    Iam getting ORA-02289: sequence does not exist Error in 11g 1.1.3.0 version .How to Solve it .Any solutions please suggest me .Thanx in advance
    Ravi

    try using adf.object.nextValue('DenialCommentId') to find out whether the compiler is looking for a sequence named object in schema adf or not.
    Regards
    Etbin

  • ESS Salary statemenr: Form Does not exist error

    Hi Experts,
    As mentioned in may threads, I have changed the form name for salary statement to the custom form name in SPRO- --> HRFOR
    But the portal displays "Form does not exist" error. Could not find a solution in any existing post on sdn.
    Urgent help needed.
    Thanks,
    Shobhit

    Hi,
    If your payslip form is desinged in PE51, then follow these steps.
    Employee Self-Service-> Service-Specific Settings-> Benefits and Payment-> Salary Statement-> Form Using HR Forms Editor (PE51)
    a. Edit Feature HRFOR: Maintain the constant $CEDT$ for MOLGA 40 RCLAS  +01(03).
    b. Enter Payslip variant in EDTIN feature
    c. Maintain smartform name in EDPDF
    If your payslip form is designed in HRFORMS, then enter the form name in HRFOR feature and enter the variant in EDTIN.
    Cheers!!
    Ashutosh

  • "SAP_PAYSLIP_US does not exist" error in Salary statement iView of ESS

    Hi all,
    We have SAP EP7.0 (NW 2004s) with the ESS business package for MySAPERP 2005.Most of our iViews of the business package are working fine,but some are givig problems.
    When we try to launch the Salary Statement iView under BEnefits and Payments Workset we get the "SAP_PAYSLIP_US does not exist" error.
    The form name SAP_PAYSLIP_US is active and also we have specified the form name in the SPRO settings.
    If we change the form name (for e.g.UF01) then the error displayed is "UF01 does not exist".
    Can anyone point out as to what the problem is.
    Is there any settings we are missing?
    Thanks,
    Pradeep Shetty

    Hi To all!
    The Form SAP_TIMESLIP doesn't exist. The correct form to use in the feature HRFOR is SAP_TIM_99_0001 or SAP_TIM_99_0002.
    Activate the form in transaction HRFORMS.
    SAP didn't release the form SAP_TIMESLIP.
    Hope this information is usefull.
    Sónia

  • Package does not exist error-message

    When I try to compile a java servlet with the following piece of code I get a compilation error referring to the import statement.
    I have just included the initial import statements. A large number of errors follow, as a result of this 'package does not exist error-message'.
    Has anyone encountered this or any ideas?
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import com.ericsson.snf.mps.mppapi.mtlr.*;
    The error messages come from the 'import com.ericsson.snf.........' statement.
    I am trying to integrate ericsson software, into my application.
    Thanks,
    java-mobile-user

    That's probably because you are trying to integrate j2me suff with j2se/ee. That won't work without los of extra work..

  • Time series does not exist, Error in Source System

    Hi friends,
    I am loading the data from APO system and i am getting the below error after scheduling the info Packs.. can you analyze and let me know your suggestions
    Error Message : Time series does not exist,
                             Error in Source System
    I have pasted the ststus message below
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Extractor .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Thanks,
    YJ

    Hi,
    You better search for the notes with the message ""Time series does not exist". You will get nearly 18 notes. Go through each note and see the relevence to your problem and do the needful as it is mentioned in the note .
    Few notes are:
    528028,542946,367951,391403,362386.
    With rgds,
    Anil Kumar Sharma .P

  • 10gLiteR3 publishing ORA-00942: table or view does not exist error

    Hi All,
    I am encountering table or view does not exist error while publishing using the api.
    Below is the code:
    try {
    consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
    mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
    consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
    consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
    } catch (Exception e) {
    e.printStackTrace();
    When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
         at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
         at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
         at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
    I am not able to figure out what table it is looking for. Any ideas why this is happening?

    check the MGP compose process, is it also showing the error?
    If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
    In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
    at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
    The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
    If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition

  • RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAI

    Hi All,
    I am getting the error "RFC destination R/3 Source does not exist., error key: RFC_ERROR_SYSTEM_FAILURE" when planning sequence (IP) is executed. Can some one help me please asap.
    Regards
    Kiran

    Hi,
    Please go to sm59 and check if the RFC connection exists for this source system. If its there, please double click on it and on next screen, go to Menu bar and click on Test-> Connection and then test -> authorisation.
    If you get any error, thats the reason. If you dont find the RFC at all, thats the reason why you got error.
    You may also check WE20 for partner profile, whether it exists or not.

  • "Scenario does not exist"error

    Hi All,
    R/3 system is upgraded with HRSP70 and since then we have issue in MSS. We get error scenario does not exist for Reporting tab in portal . Also if we manually test service HRWPC_FC_EXEC we get "Scenario does not exist" error. Could anyone please help where and how to maintain scenarios?
    And explain what is exactly a scenario ?Please treat this as urgent as we are having widespread error due to this.
    Regards,
    Jalpa Shukla

    Please check SAP Note No. 969401 in this regard.
    Hope this helps.
    Best Regards

Maybe you are looking for

  • Using external moniter as a TV

    I have a 15'' pbg4, and I've seen people who have external monitors that double as a second monitor and as televisions (for use with cable, an external dvd player, playstation, or whatever). I believe that there is some kind of external connector for

  • IOS 7.0.4 says I lost over 2 GB into thin air

    I upgraded to the new iOS, but when it synced back up I went from having 300 MB of space left to having 2 GB too much. I can't load all my music or podcasts now. I didn't change anything or add anthing to my iPhone. What's the problem?

  • Recover mail with IMAP?

    I used to use POP with my email and was able to recover a deleted email. Now I'm using IMAP and notice that when I delete an email, I can't recover it using command + z. I have to go into the trash for that specific email account and drag the email b

  • HP Touchmart 320 cannot boot

    My computer will not boot from hard drive so tried to direct to boot from bootable USB as well as recovery disc. Nothing works. When I enter F9 to direct computer to boot from particular location nothing happens and just defaults to trying to boot fr

  • I am running a linux RedHat system and can not get to certain sites that are accessible to me under windows.

    I am using commercial software from ANSYS and when I click on to the customer support I get an unable to connect error. I can get to all other sites. I try to change my preferences but there is no apply button and no preferences are saved == URL of a