Results 1 to 10 of 30

Thread: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Location
    Edinburgh, UK
    Beans
    100
    Distro
    Ubuntu 12.04 Precise Pangolin

    Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    I posted a similar problem sometime last week...but a little has changed(mainly I can access my files now):

    I recently performed the auto upgrade to Ubuntu 10.04 and upon restart of my machine I am presented with 3 screens. The first is a simple "GRUB loading". The second is "mount: mounting none on /dev failed: no such device". The third screen is a series of initializations, i.e. /dev/sda1: clean, (number of files), (number of blocks)
    *setting preliminary keymap...
    and so on until it hits the line:
    *checking battery status
    at which point it will cease loading until i press the power button. The next thing that occurs is it kills all the processes it just initialized and shuts down the computer.

    I read that this is likely a problem from loading the wrong kernel and I can get into my files (using a boot 9.10 boot key). The problem is I don't know what files to change in order to get my system booting the right kernel.

    Thanks in advance,
    Josh

  2. #2
    Join Date
    Jan 2006
    Location
    Latvia
    Beans
    8
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    After Upgrade You should run $sudo grub-install /dev/sda
    But You didn`t.
    https://wiki.ubuntu.com/LucidLynx/Re...pdating%20grub

  3. #3
    Join Date
    Jun 2010
    Location
    Edinburgh, UK
    Beans
    100
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    Unfortunately this doesn't fix my problem. Since I can no longer directly log on to my machine I have to boot from a floppy and mount my drive from there. Upon running the command:
    sudo grub-install /dev/sda
    I am presented with the error:
    grub-probe: error: cannot find a device for /boot/grub

    No path or device is specified
    When I look at the grub-probe --help it states that grub-install copies GRUB images into the DIR/boot directory. So, even when I try to mount my drive to / this still doesn't work.

    Any other takers?

  4. #4
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    Quote Originally Posted by l0uismustdie View Post
    Unfortunately this doesn't fix my problem. Since I can no longer directly log on to my machine I have to boot from a floppy and mount my drive from there. Upon running the command:
    sudo grub-install /dev/sda
    I am presented with the error:
    grub-probe: error: cannot find a device for /boot/grub?
    That's because you're inside a chroot. Try binding the system folders you need:
    Code:
    mount --bind /dev /mnt/chroot/dev
    mount --bind /proc /mnt/chroot/proc

  5. #5
    Join Date
    Jun 2010
    Location
    Edinburgh, UK
    Beans
    100
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    I'm still a little confused here what all of you are trying to get at. So here is what I just tried:
    sudo mount /dev/sda1 /mnt
    sudo mount --bind /dev /mnt/chroot/dev
    mount: mount point /mnt/chroot/dev does not exists

    Which makes sense...what am I trying to bind?
    I also tried:
    sudo mount --bind /boot /mnt/boot
    sudo grub-install /dev/sda

    This resulted in the same error.

    Thanks for all your replies.

  6. #6
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,611
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    Hold on, stop for a moment.

    1. You don't chroot that way, the commands are incomplete.

    2. What are you actually trying to do? Obviously you have grub2 because you see the message it's loading and then it tries to load ubuntu. But your root partition doesn't seem to get mounted. So what is the plan after you chroot?

    If you want more detailed view of the boot process, download the boot info script, run it and post the content of the results file as explained here:
    http://ubuntuforums.org/showpost.php...01&postcount=4
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  7. #7
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    You get into a chroot like this:
    Code:
    #Make the directory:
    sudo mkdir -p /mnt/chroot
    
    # Mount the system:
    sudo mount /dev/sda1 /mnt/chroot
    
    # Bind /dev and /proc (to allow editing of partitions):
    sudo mount --bind /dev /mnt/chroot/dev
    sudo mount --bind /proc /mnt/chroot/proc
    
    # Enter chroot:
    sudo chroot /mnt/chroot
    You can then run any commands you want. Try:
    Code:
    update-grub
    grub-install /dev/sda

  8. #8
    Join Date
    Oct 2009
    Beans
    380
    Distro
    Ubuntu Development Release

    Re: Ubuntu 10.04 upgrade causes: mount: mounting none on /dev failed: no such device

    Maybe using the chroot trick from the GRUB2 tutorials will help.

Tags for this Thread

Bookmarks

Posting Permissions

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