Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Why My Linux Booting In to Emergency Mode ?


    Hi,

    I have an appliance which is running FreeBSD. I wanted to boot WindRiver Linux when I reboot the appliance.
    There are more than one partition in the disk based on GPT. In partition 3, FreeBSD is kept (UFS). Windriver Linux is kept on partition 7 (EXT2).
    I installed GRUB 2.0 and made the entries in grub.cfg as below.

    menuentry "FreeBSD" {
    insmod ufs2
    set root=(hd0,3)
    kfreebsd /boot/loader
    }

    menuentry "Linux " {
    set root=(hd0,7)
    echo "loading kernel"
    echo "################################################# ##############"
    linux /boot/bzImage-4.1.21-WR8.0.0.10_standard root=/dev/sda7
    echo "#####################LOADED KERNEL#############################"

    GRUB menu shows up the options FreeBSD & Linux on reboot.
    When I select "Linux", it is booted in Emergency Mode by
    giving message "Welcome To Emergency Mode". How can I boot
    in normal mode?

    Output of df - T in FreeBSD is given below

    Filesystem Type 1K-blocks Used Avail Capacity Mounted on
    /dev/mfid0p3 ufs 2030712 1225360 642896 66% /
    devfs devfs 1 1 0 100% /dev
    /dev/mfid0p5 ufs 2030712 16520 1851736 1% /nextroot
    /dev/mfid0p2 msdosfs 1046516 64 1046452 0% /efi
    /dev/mfid0p6 ufs 395896 104008 260224 29% /var
    /dev/mfid0p8 ufs 2031132 124 1868520 0% /var/db/godspeed
    /dev/mfid0p9 ufs 1874393936 32284512 1692157920 2% /data
    procfs procfs 4 4 0 100% /proc
    linprocfs linprocfs 4 4 0 100% /compat/linux/proc
    linsysfs linsysfs 4 4 0 100% /compat/linux/sys
    /dev/mfid0p7 ext2fs 412777400 7468416 384337464 2% /data/ajay


    fstab entries in WR Linux are given below

    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    devpts /dev/pts devpts defaults 0 0
    tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    tmpfs /var/volatile tmpfs defaults 0 0
    /dev/sda7 / ext3 auto,users,suid,dev,exec 0 0

    Could you please help me in figuring out the issue.

    Thanks,
    Ajay

  2. #2
    Hi,

    Issue solved
    I ran "chown root" to my linux .tar file and then able to boot in normal mode.

    Thanks,
    Ajay

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •