Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 129

Thread: 12.04 update - Grub - keyboard and mouse freeze

  1. #1
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    12.04 update - Grub - keyboard and mouse freeze

    AMD 64 desktop machine with 12.04 running fine for the last 12 months
    Install upgrade from 11.10. - not dual boot
    Main hard drive 250G sda where the previous ubuntu versions are installed
    Second hard drive sdb 1T storage with most of my data

    Updates appeared on friday 31 May (did them on my AMD64 notebook)… I was away and on return did the updates to the desktop on Sunday 2 June
    Rebooted and it got stuck in Grub … it would not load ubuntu and froze the keyboard and mouse

    I tried to get acces from a live install pen … It ran from the pen

    I found Boot-repair and now have the machine up again … but ..
    It has done a new install on the sdb1T hard drive
    I cannot access the original sda information
    when it launches Grub … I cannot use keyboard or mouse (they freeze) to launch previous versions listed
    Last edited by Normand; June 20th, 2013 at 06:44 PM. Reason: Solved

  2. #2
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    I attach the records from the boot repair processes:
    Initial repair attempt http://paste.ubuntu.com/5735297/
    Repairing the boot record on sda http://paste.ubuntu.com/5746401/
    Last attempt via Boot Repair http://paste.ubuntu.com/5746694/

    I still cannot accesss the grub menu via the keyboard to choose where to boot

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,621
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Normand; Hi !

    Your "bootinfo" file... shows 3 hard drives on your system;
    sda has ubuntu installed
    sdb has ubuntu installed
    sdc as the "data" disk...

    You should have set the 1st boot priority as the first hard drive in bios... verify that that is so,
    else;
    what results when you depress and hold the shift key as soon as the bios screen clears ?

    just try'n to help

    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  4. #4
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Thanks Bashing-om

    sda is original ubunto ... with I suppose previous versions stored somewhere
    sdb is my 1T storage disk ... which Boot Repair kindly put ubunto on
    sdc is the live pen with Boot Repair on it ... I take this out on re-boot to run ubuntu

    pressing 'shift' in boot process does nothing

    In the boot menu:
    When I prioritise either sda or sdb it launches the same 'old versión'
    - Although it says 12.04 in the launch screen and in System Monitor this seems to be confused with 10.10
    - Places/computer does not see sda
    - System Monitor somehow sees both sda and sdb
    - System Monitor shows release 12.04 kernel 3.2.0-48 generic
    - Update Manager says it is 403 days since last update and hangs up trying to find Meercat updates

    Associated problems:
    - keyboard blocked in the grub menu so I cannot launch other versions
    - it wil not launch (does not see) alsa mixer

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,621
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Normand;

    Thanks for the clarification on drives...
    So we want ubuntu version 12.04 on sda;
    data only on sdb -- presently all I see is linux OS -> be prepared for bad news ;
    and leave sdc out of the picture ...

    Priority is to see what is on sdb drive...
    boot the live medium, ->try ubuntu mode -> desktop:
    key combo ctl+alt+t yields a command line terminal ->
    terminal codes:
    Code:
    sudo mkdir /mnt/part1 #prepares mount point and represents 2nd hard drive 1st partition
    sudo mkdir /nmt/part5 #sdb5
    sudo mount /dev/sdb1 /mnt/part1 #mount the partitions to the file system 
    sudo mount /dev/sdb5 /mnt/part5 #sdb5
    now lets look at what is on the second drive:
    As a starting point:
    Code:
    ls -la /mnt/part1
    ls -la /mnt/part5
    when done looking about, (un)mount those partitions- keeps the file system from going insane and/or ballistic.
    Code:
    sudo umount /mnt/part1
    sudo umount /mnt/part5

    real aggravated ? Now is a good time to employ "testdisk" and see what can be recovered.

    secondly is to get grub -12.04's version- installed onto sda -> when you are ready and willing,
    we will proceed.

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  6. #6
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Thanks again Bashing-om

    So I've had lunch, got some relaxing music on, sitting comfortably and ready to go.

    Writing from the affected desktop with a notebook running beside me if I have problems.
    I have a live 12:04 pendrive and a live boot repair pen drive

    More information for you before I start mounting and unmounting:
    - sdb data partition is intact and all my data is there and accessible... it has always needed to be manually mounted after I launch ubuntu ¿**?
    The boot record you see was recorded via the live boot repair pen ... so the sdb data partition was not mounted

  7. #7
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    So for the first instructions I get: ...

    norman@norman-desktop:~$ sudo mkdir /nmt/part5 #sdb5
    mkdir: cannot create directory `/nmt/part5': No such file or directory
    norman@norman-desktop:~$ sudo mkdir /mnt/part1 #prepares mount point and represents 2nd hard drive 1st partition
    mkdir: cannot create directory `/mnt/part1': File exists
    norman@norman-desktop:~$ sudo mkdir /mnt/part1 #prepares mount point and represents 2nd hard drive 1st partition
    mkdir: cannot create directory `/mnt/part1': File exists
    norman@norman-desktop:~$ sudo mkdir /nmt/part5 #sdb5
    mkdir: cannot create directory `/nmt/part5': No such file or directory
    norman@norman-desktop:~$ sudo mount /dev/sdb1 /mnt/part1 #mount the partitions to the file system
    norman@norman-desktop:~$ sudo mount /dev/sdb5 /mnt/part5 #sdb5
    mount: mount point /mnt/part5 does not exist
    norman@norman-desktop:~$

  8. #8
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    And the second lot: ...

    norman@norman-desktop:~$ ls -la /mnt/part1
    total 56
    drwx------ 11 norman norman 4096 Jun 5 12:27 .
    drwxr-xr-x 3 root root 4096 Jun 9 16:08 ..
    drwxr-xr-x 9 norman norman 4096 Apr 29 17:01 Audio & pdf books
    drwxrwxr-x 7 norman norman 4096 Jun 5 12:26 AUP Waves
    drwxrwxr-x 15 norman norman 4096 Jun 5 12:26 Documents
    drwxr-xr-x 35 norman norman 4096 May 21 18:00 Images & Photos
    drwx------ 2 root root 16384 Feb 21 2012 lost+found
    drwxr-xr-x 5 norman norman 4096 Jun 5 12:19 MP3 Waves
    drwxr-xr-x 34 norman norman 4096 May 16 16:03 Music
    drwx------ 5 norman norman 4096 Feb 22 2012 .Trash-1000
    drwxr-xr-x 18 norman norman 4096 Oct 15 2012 Web Design
    norman@norman-desktop:~$ ls -la /mnt/part5
    ls: cannot access /mnt/part5: No such file or directory
    norman@norman-desktop:~$


    Stopping here for the time being ... waiting for new instructions or questions

  9. #9
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,621
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Normand; Out standing in that "data" disk is intact !

    Install grub - make sure it is correct version corresponding between the pen drive and the version installed onto the hard drive.
    I am of a mind to do this in 3 stages;
    1. install grub onto sda's MBR
    2. mount and remove grub from the sdb "data" disk
    3. update-grub from the sda install, as sdb's grub is gone will not be picked up on sda's boot code.

    stage 1 : boot the live media -> CLI -> terminal codes:
    Code:
    sudo mount /dev/sda1 /mnt
    sudo grub-install --root-directory=/mnt /dev/sda
    Done installing grub onto sda, unmount sda and move onto sdb; stage 2
    Code:
    sudo umount /mnt
    sudo mkdir /mnt/part5
    sudo mount /dev/sdb5 /mnt/part5
    ls -la /mnt/part5 #to identify for sure the directories containing grub config files (/boot???)
    sudo umount /mnt/part5
    at this point I want to pause...any others input is welcome !
    a) cannot "chroot"into sdb as no operating system is installed;
    b) can not run normal "apt get remove grub" commands as will operate on the live medium
    c) -> ONLY option I can see is to manually delete the identified grub directories and files present on sdb -
    -----------anybody got a better method ?????---------------

    stage 3
    remaining to be done after grub is removed from sdb is to update grub on the sda install//waiting to get sdb's grub files removed.

    what ever it takes to do it right
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  10. #10
    Join Date
    May 2007
    Location
    Barcelona, Spain
    Beans
    85
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update - Grub - keyboard and mouse freeze

    Thanks

    Stage 1
    norman@norman-desktop:~$ sudo mount /dev/sda1 /mnt
    [sudo] password for norman:
    norman@norman-desktop:~$ sudo mount /dev/sda1 /mnt
    mount: /dev/sda1 already mounted or /mnt busy
    mount: according to mtab, /dev/sda1 is already mounted on /mnt
    norman@norman-desktop:~$
    norman@norman-desktop:~$ sudo grub-install --root-directory=/mnt /dev/sda
    Installation finished. No error reported.
    norman@norman-desktop:~$

    Stage 2
    norman@norman-desktop:~$ sudo umount /mnt
    norman@norman-desktop:~$ sudo mkdir /mnt/part5
    norman@norman-desktop:~$ sudo mount /dev/sdb5 /mnt/part5
    norman@norman-desktop:~$ ls -la /mnt/part5
    total 116
    drwxr-xr-x 24 root root 4096 Jun 2 22:27 .
    drwxr-xr-x 4 root root 4096 Jun 9 17:17 ..
    drwxr-xr-x 2 root root 4096 Jun 2 22:24 bin
    drwxr-xr-x 3 root root 4096 Jun 2 22:28 boot
    drwxr-xr-x 2 root root 4096 May 8 2012 cdrom
    drwxr-xr-x 5 root root 4096 Apr 25 2012 dev
    drwxr-xr-x 142 root root 12288 Jun 2 22:30 etc
    drwxr-xr-x 3 root root 4096 May 8 2012 home
    lrwxrwxrwx 1 root root 33 Jun 2 22:27 initrd.img -> /boot/initrd.img-3.2.0-45-generic
    lrwxrwxrwx 1 root root 33 May 24 10:55 initrd.img.old -> /boot/initrd.img-3.2.0-44-generic
    drwxr-xr-x 22 root root 4096 Jun 2 22:24 lib
    drwxr-xr-x 2 root root 4096 Apr 24 09:44 lib64
    drwx------ 2 root root 16384 May 8 2012 lost+found
    drwxr-xr-x 3 root root 4096 Jun 2 22:17 media
    drwxr-xr-x 2 root root 4096 Apr 19 2012 mnt
    drwxr-xr-x 2 root root 4096 Apr 25 2012 opt
    drwxr-xr-x 2 root root 4096 Apr 19 2012 proc
    drwx------ 10 root root 4096 Sep 23 2012 root
    drwxr-xr-x 8 root root 4096 Apr 25 2012 run
    drwxr-xr-x 2 root root 4096 Jun 2 22:25 sbin
    drwxr-xr-x 2 root root 4096 Mar 5 2012 selinux
    drwxr-xr-x 2 root root 4096 Apr 25 2012 srv
    drwxr-xr-x 2 root root 4096 Apr 14 2012 sys
    drwxrwxrwt 8 root root 4096 Jun 2 22:30 tmp
    drwxr-xr-x 10 root root 4096 Apr 25 2012 usr
    drwxr-xr-x 13 root root 4096 Jun 2 22:30 var
    lrwxrwxrwx 1 root root 29 Jun 2 22:27 vmlinuz -> boot/vmlinuz-3.2.0-45-generic
    lrwxrwxrwx 1 root root 29 May 24 10:55 vmlinuz.old -> boot/vmlinuz-3.2.0-44-generic
    norman@norman-desktop:~$ sudo umount /mnt/part5

Page 1 of 13 12311 ... LastLast

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
  •