Announcement

Collapse
No announcement yet.

Busybox prompt ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Busybox prompt ?

    Hi guys

    Kubuntu KDE4.2
    Found my desktop frozen in blank screensaver,and reset the PC, on rebooting . I got a Busybox promt. The preceeding messages were all about failed mount,mounting root/dev ..failed .
    Target file system doesn't have v/sbin/init
    no init found.try passing init=bootarg

    Busybox etc etc etc

    (initramfs)


    What should I do ?

    #2
    Re: Busybox prompt ?

    Ok I just worked out that there might be some confusion after reading a thread on the Ubuntu forum. in the thread the question was asked if there were any other drives in the system ... well in my case there is , and thats my Ubuntu drive . I unplugged the Ubuntu drive and booted into Kubuntu no problem.
    Normally I would add the dual boot to the grub, but right now when I want to boot into the second OS I just change the boot order in the bios (procrastination). Would adding Kubuntu to my Ubuntu grub solve this problem ?

    Comment


      #3
      Re: Busybox prompt ?

      that's a nuisance, keeps coming up;
      google gives many leads:
      http://www.google.com/search?q=Targe...+system+doesn%
      27t+have+%2Fsbin%2Finit&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-USfficial&client=firefox-a

      I would first always check my UUIDs in menu.lst, the part that says
      root-UUID=
      in the kernel line
      command:
      blkid
      gives your UUIDs

      Another tip might be to replace the root=UUID=
      with the old Linux device notation,
      like
      root=/dev/sda2

      So: check UUIDs; try root=/dev/sda2 notation instead of UUIDs, then study the google;

      My how-to to dual boot the two:
      How To GRUB Methods - Toolkit
      http://kubuntuforums.net/forums/inde...opic=3081671.0

      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        Re: Busybox prompt ?

        Howdy Mike
        OK thanks for that ,will check it out

        This is what I got :
        steve@stevekde:~$ blkid
        /dev/sda1: UUID="c006254b-256e-4ac4-ae53-fd709f041005" TYPE="ext3"
        /dev/sda5: UUID="e9de5a1b-a5f9-49b1-a5fb-e75e690a379e" TYPE="swap"
        /dev/loop0: TYPE="squashfs"

        The menu .lst is this :

        title Ubuntu 8.10, kernel 2.6.27-11-generic
        uuid c006254b-256e-4ac4-ae53-fd709f041005
        kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=c006254b-256e-4ac4-ae53-fd709f041005 ro quiet splash
        initrd /boot/initrd.img-2.6.27-11-generic
        quiet

        So how do I change it ?


        Steve

        Comment


          #5
          Re: Busybox prompt ?

          Originally posted by bossa

          The menu .lst is this :

          title Ubuntu 8.10, kernel 2.6.27-11-generic
          uuid c006254b-256e-4ac4-ae53-fd709f041005
          kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=c006254b-256e-4ac4-ae53-fd709f041005 ro quiet splash
          initrd /boot/initrd.img-2.6.27-11-generic
          quiet
          The red line can come out. If you had a GUI you could use kate in root mode:

          Code:
          kdesudo kate /boot/grub/menu.lst
          I guess you might have to do this from the booted Live CD, huh? In that case, you'll have to mount /dev/sda1:

          Code:
          sudo mkdir /media/sda1
          Code:
          sudo mount -t ext3 /dev/sda1 /media/sda1
          Then you can use kate and browse to the /boot/grub/menu.lst file on the hard drive, and edit it.

          Carefully delete just that line, without changing anything else, and then save and exit. Try a reboot.

          Comment


            #6
            Re: Busybox prompt ?

            Might need that root line so GRUB knows the GRUB root...(for kernel files) ?

            Anyway,
            Try:
            kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda1 ro quiet splash

            sda1 is the Kubuntu partition, right? same as indicated by the UUID c006254b-256e-4ac4-ae53-fd709f041005
            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment


              #7
              Re: Busybox prompt ?

              Yep, it's missing a "root" line. Here's mine:

              title Ubuntu 8.10, kernel 2.6.27-11-generic
              root (hd1,0)
              kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=4ee99d57-a4e3-4381-a900-7a57cfa9eea2 ro vga=837 quiet splash
              initrd /boot/initrd.img-2.6.27-11-generic
              quiet
              Add a line like the one that says "root (hd1,0)". For yours it will be (hd0,0) since it is sda1.

              Comment


                #8
                Re: Busybox prompt ?

                I think the new root line (in 8.10) IS simply
                uuid c006254b-256e-4ac4-ae53-fd709f041005
                the second UUID appears in root=UUID=etc.
                Usually the two are the same (= the root filesystem of Kubuntu, where both the OS and the kernel files are).
                But, in general, the GRUB root statement
                root (hdx,y)
                or
                UUID etcetcetc
                indicate the root for GRUB to look for the kernel files at.
                Then the root=UUIS=etcetc or root=/dev/sdxn are not for GRUB but are passed to the Kubuntu OS as the location to find OS files at (to get the boot going after it is passed to Kubuntu).


                Back to this case,
                you might try BOTH
                root (hd0,0)
                and
                root=/dev/sda1 (in the kernel statement).

                Otherwise:
                re-install the OS?

                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment

                Working...
                X