Page 1 of 3 123 LastLast
Results 1 to 10 of 30

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

  1. #1
    Join Date
    Jun 2010
    Location
    Edinburgh, UK
    Beans
    106
    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
    106
    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
    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.

  5. #5
    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

  6. #6
    Join Date
    Jun 2010
    Location
    Edinburgh, UK
    Beans
    106
    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.

  7. #7
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,561
    Distro
    Ubuntu 18.04 Bionic Beaver

    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 18.04 LTS 64bit

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

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

    Yeah, I don't have a plan. What I am trying to do is get my system to boot again without using a usb key and then mounting my hard disk.

    Results:
    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #1 for /mnt/boot/grub.
     => Syslinux is installed in the MBR of /dev/sdb
    
    sda1: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04 LTS
        Boot files/dirs:   /etc/fstab
    
    sda2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdb1: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Fat32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xa71ba71b
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   112,342,544   112,342,482  83 Linux
    /dev/sda2         112,342,545   117,226,304     4,883,760   5 Extended
    /dev/sda5         112,342,608   117,226,304     4,883,697  82 Linux swap / Solaris
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 1058 MB, 1058275328 bytes
    2 heads, 63 sectors/track, 16404 cylinders, total 2066944 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x00193dca
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1    *             32     2,066,943     2,066,912   b W95 FAT32
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0                                              squashfs                                 
    /dev/sda1        14eac46e-1134-4aaa-ad34-bcc3f6c6dfb6   ext4                                     
    /dev/sda5        ae2f104b-e67c-40e1-afcd-b962e05a664b   swap                                     
    /dev/sdb1        565E-2001                              vfat                                     
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    aufs             /                        aufs       (rw)
    /dev/sdb1        /cdrom                   vfat       (rw)
    /dev/loop0       /rofs                    squashfs   (rw)
    /dev/sda1        /mnt                     ext4       (rw)
    /dev             /mnt/dev                 none       (rw,bind)
    
    
    =============================== sda1/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # / was on /dev/sda1 during installation
    UUID=14eac46e-1134-4aaa-ad34-bcc3f6c6dfb6 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=ae2f104b-e67c-40e1-afcd-b962e05a664b none            swap    sw              0       0
    Last edited by l0uismustdie; June 17th, 2010 at 11:00 PM. Reason: addition

  9. #9
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,561
    Distro
    Ubuntu 18.04 Bionic Beaver

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

    sda1: __________________________________________________ _______________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 10.04 LTS
    Boot files/dirs: /etc/fstab

    You don't have the /boot/grub folder and any of the boot files. I wonder whether grub2 was installed at all, or simply the boot files are missing. Because it's different fix.

    Lets first try to recreate grub.cfg by chroot into the install:

    sudo mount /dev/sda1 /mnt
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /sys /mnt/sys
    sudo chroot /mnt
    grub-mkconfig
    update-grub
    grub-install /dev/sda
    exit
    sudo umount /mnt/sys
    sudo umount /mnt/dev
    sudo umount /mnt/proc

    Restart and see what happens.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

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

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

    Thanks for replying so quick.

    Everything works until:
    grub-mkconfig
    This gives me a familiar error: grub-probe: error: cannot find device for /boot
    So I tried one more step:
    mount --bind /boot /mnt/boot
    no luck here either.

Page 1 of 3 123 LastLast

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
  •