Page 7 of 10 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 95

Thread: 11.04 Beta Live-USB

  1. #61
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Angry Re: 11.04 Beta Live-USB

    hi, I really messed up my system so I decided to re install ubuntu again. but this time after the install I can't even update anything or install the additional drivers. When I try to install nvidia proprietary it says:
    Code:
    SystemError: Binary package nvidia-current has no trusted origin, rejecting
    When I try to run the partial upgrade I get a window saying:
    Code:
    Error authenticating some packages
    
    lots of packages
    lots of packages
    lots of packages
    lots of packages
    lots of packages
    When I try to run regular upgrade I get a window saying:
    Code:
    Requires installation of untrusted packages
    Details:
    lots of packages, lots of packages, lots of packages, lots of packages
    Also, my mouse became very very sluggish, it sometimes moves fast, sometimes moves very slow and a lot of times I need to click many times till the button gets clicked. Just to say, that wasn't the situation in the live-usb.

    I've tried to reboot but it didn't help.
    Any ideas?

  2. #62
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: 11.04 Beta Live-USB

    The update error sounds to me like an issue with the repository being temporarily down or inaccessible. I'd wait and try again later.

    The mouse issue could mean you've got a heavy system load. Open a Terminal window and type "top". That will show you a list of processes. If the item(s) at the top of the list have a high value (approaching or exceeding 100, in total) under the "%CPU" column, then they're hogging your CPU time. This might be something that's legitimately running CPU-intensive processes for a while, or it could be something's gone out of control; it's impossible to tell without knowing what the process(es) is/are. Post a screen shot of the Terminal window if you need more help.
    If I've suggested a solution to a problem and you're not the original poster, do not try my solution! Problems can seem similar but be different, and a good solution to one problem can make another worse. Post a new thread with your problem details.

  3. #63
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 11.04 Beta Live-USB

    Quote Originally Posted by srs5694 View Post
    The update error sounds to me like an issue with the repository being temporarily down or inaccessible. I'd wait and try again later.

    The mouse issue could mean you've got a heavy system load. Open a Terminal window and type "top". That will show you a list of processes. If the item(s) at the top of the list have a high value (approaching or exceeding 100, in total) under the "%CPU" column, then they're hogging your CPU time. This might be something that's legitimately running CPU-intensive processes for a while, or it could be something's gone out of control; it's impossible to tell without knowing what the process(es) is/are. Post a screen shot of the Terminal window if you need more help.
    Weird... a simple sudo apt-get update fixed the problem.
    So I installed all the updated, installed nvidia proprietary driver, removed grub-pc and installed again grub-efi through synaptics. Then I did sudo update-grub, but somehow it only found linux entries, not anything about my windows 7.
    Should I know something before I restart (and maybe something will be wrong again)?

  4. #64
    Join Date
    Mar 2010
    Location
    Woonsocket, RI USA
    Beans
    3,195

    Re: 11.04 Beta Live-USB

    Try adding this to your /etc/grub.d/40_custom file, then do update-grub again:

    Code:
    menuentry "Windows 7" {
        set root=(hd0,3)
        chainloader +1
    }
    I can't guarantee this will work, though. I've never dual-booted Windows and Linux on an EFI system, and it's possible that the method used in that GRUB entry won't work with it. You might need, instead, to refer GRUB to the .efi file that Windows dropped in the ESP.

    Alternatively, you could use the EFI's boot loader to choose between Windows and Linux and use GRUB just to boot Linux. That might be awkward, though; I don't know how your EFI's boot loader works. It would be awkward with the Intel board I've got, but perhaps not with some others.
    If I've suggested a solution to a problem and you're not the original poster, do not try my solution! Problems can seem similar but be different, and a good solution to one problem can make another worse. Post a new thread with your problem details.

  5. #65
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,208
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 11.04 Beta Live-USB

    As mentioned in my last post, if sda2 is not mounting, grub will not be able to find the first 2 Windows boot files (which are probably on that partition).
    If in doubt please re-run the latest boot script. It may be there is something wrong with that partition.
    As a workaround, it should be possible to put those 2 boot files on to sda3 by using the Windows repair disc.
    It would be better to fix sda2 though, if possible.
    MacBook Pro 10,1 retina

  6. #66
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 11.04 Beta Live-USB

    Quote Originally Posted by srs5694 View Post
    Try adding this to your /etc/grub.d/40_custom file, then do update-grub again:

    Code:
    menuentry "Windows 7" {
        set root=(hd0,3)
        chainloader +1
    }
    I can't guarantee this will work, though. I've never dual-booted Windows and Linux on an EFI system, and it's possible that the method used in that GRUB entry won't work with it. You might need, instead, to refer GRUB to the .efi file that Windows dropped in the ESP.

    Alternatively, you could use the EFI's boot loader to choose between Windows and Linux and use GRUB just to boot Linux. That might be awkward, though; I don't know how your EFI's boot loader works. It would be awkward with the Intel board I've got, but perhaps not with some others.
    Quote Originally Posted by Quackers View Post
    As mentioned in my last post, if sda2 is not mounting, grub will not be able to find the first 2 Windows boot files (which are probably on that partition).
    If in doubt please re-run the latest boot script. It may be there is something wrong with that partition.
    As a workaround, it should be possible to put those 2 boot files on to sda3 by using the Windows repair disc.
    It would be better to fix sda2 though, if possible.
    Here is the boot script:
    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 at sector 1248142232 
        of the same hard drive for core.img, but core.img can not be found at this 
        location.
    
    sda1: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  -
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sda2: _________________________________________________________________________
    
        File system:       
        Boot sector type:  -
        Boot sector info:  
        Mounting failed:
    mount: unknown filesystem type ''
    
    sda3: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files/dirs:   /Windows/System32/winload.exe
    
    sda4: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu natty (development 
                           branch)
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab
    
    sda5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT
    
    
    GUID Partition Table detected.
    
    Partition           Start           End          Size System
    /dev/sda1           2,048       206,847       204,800 System/Boot Partition
    /dev/sda2         206,848       468,991       262,144 Microsoft Windows
    /dev/sda3         468,992   971,032,575   970,563,584 Linux or Data
    /dev/sda4     971,032,576 1,943,285,759   972,253,184 Linux or Data
    /dev/sda5   1,943,285,760 1,953,523,711    10,237,952 Linux Swap
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        4708-C05A                              vfat                                     
    /dev/sda3        A0108C50108C2F7A                       ntfs       WINDOWS                       
    /dev/sda4        933c39ef-92b5-4e7e-847d-a3e87494a2f0   ext4                                     
    /dev/sda5        8502134a-1012-4f1f-907a-961b7da6a46e   swap                                     
    /dev/sda: PTTYPE="gpt" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda4        /                        ext4       (rw,errors=remount-ro,commit=0)
    /dev/sda1        /boot/efi                vfat       (rw)
    /dev/sda3        /media/WINDOWS           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
    
    
    =========================== sda4/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      set have_grubenv=true
      load_env
    fi
    set default="0"
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    
    function load_video {
      insmod efi_gop
      insmod efi_uga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_gpt
    insmod ext2
    set root='(/dev/sda,gpt4)'
    search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_gpt
    insmod ext2
    set root='(/dev/sda,gpt4)'
    search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
    set locale_dir=($root)/boot/grub/locale
    set lang=en_US
    insmod gettext
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 44,0,30; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    if [ ${recordfail} != 1 ]; then
      if [ -e ${prefix}/gfxblacklist.txt ]; then
        if hwmatch ${prefix}/gfxblacklist.txt 3; then
          if [ ${match} = 0 ]; then
            set linux_gfx_mode=keep
          else
            set linux_gfx_mode=text
          fi
        else
          set linux_gfx_mode=text
        fi
      else
        set linux_gfx_mode=keep
      fi
    else
      set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=933c39ef-92b5-4e7e-847d-a3e87494a2f0 ro   quiet splash vt.handoff=7
        initrd    /boot/initrd.img-2.6.38-8-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        echo    'Loading Linux 2.6.38-8-generic ...'
        linux    /boot/vmlinuz-2.6.38-8-generic root=UUID=933c39ef-92b5-4e7e-847d-a3e87494a2f0 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.38-8-generic
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.38-7-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        linux    /boot/vmlinuz-2.6.38-7-generic root=UUID=933c39ef-92b5-4e7e-847d-a3e87494a2f0 ro   quiet splash vt.handoff=7
        initrd    /boot/initrd.img-2.6.38-7-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.38-7-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        set gfxpayload=$linux_gfx_mode
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        echo    'Loading Linux 2.6.38-7-generic ...'
        linux    /boot/vmlinuz-2.6.38-7-generic root=UUID=933c39ef-92b5-4e7e-847d-a3e87494a2f0 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.38-7-generic
    }
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_gpt
        insmod ext2
        set root='(/dev/sda,gpt4)'
        search --no-floppy --fs-uuid --set=root 933c39ef-92b5-4e7e-847d-a3e87494a2f0
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ "x${timeout}" != "x-1" ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    
    =============================== sda4/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    nodev,noexec,nosuid 0       0
    # / was on /dev/sda4 during installation
    UUID=933c39ef-92b5-4e7e-847d-a3e87494a2f0 /               ext4    errors=remount-ro 0       1
    # /boot/efi was on /dev/sda1 during installation
    UUID=4708-C05A  /boot/efi       vfat    defaults        0       1
    # swap was on /dev/sda5 during installation
    UUID=8502134a-1012-4f1f-907a-961b7da6a46e none            swap    sw              0       0
    
    =================== sda4: Location of files loaded by Grub: ===================
    
    
     862.4GB: boot/grub/grub.cfg
     498.9GB: boot/initrd.img-2.6.38-7-generic
     499.1GB: boot/initrd.img-2.6.38-8-generic
     639.0GB: boot/vmlinuz-2.6.38-7-generic
     499.0GB: boot/vmlinuz-2.6.38-8-generic
     499.1GB: initrd.img
     498.9GB: initrd.img.old
     499.0GB: vmlinuz
     639.0GB: vmlinuz.old
    And I will try the above method thanks!

  7. #67
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 11.04 Beta Live-USB

    The boot stanza from srs5694 will not work just yet, if it will work in an efi system. The set root has to be to the partition with the boot/recovery files.

    Win7 normally installs into two partitions - a boot/recovery & the main install.
    Main install has this file from boot script
    /Windows/System32/winload.exe
    Boot/recovery has these files.
    /bootmgr /Boot/BCD

    With efi the boot files may be in the efi partition and the script does not see them or they may be in the partition the script reported this:
    mount: unknown filesystem type ''
    Often chkdsk if NTFS or e2fsck if Linux extN type formats is required to resolve file system issues.

    But I do not understand in the script it reports above error on sda2. It shows the sda3 as NTFS with the winload.exe but the GUID listing shows sda3 as a linux partition. I assume this is an issue in the script and you will have to manually review your system to see if the above files are there & which partition they are in.
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #68
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,208
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 11.04 Beta Live-USB

    The first line of the boot script gives this
    Code:
    Grub 2 is installed in the MBR of /dev/sda and looks at sector 1248142232 
        of the same hard drive for core.img, but core.img can not be found at this 
        location.
    sector 1248142232 is in sda4, which would be correct, but /boot/grub/core.img is not appearing in sda4. That's odd. But Ubuntu is booting ok, yes?

    It is true that sda2 is still not mounting for some reason. I see nothing obvious that could cause this. It is likely that Windows' first 2 boot files are in there.
    Normally it would be possible to repair this by moving the (non-existent) boot flag to sda3 and then booting from the Windows installation disc and selecting the repair console, then running bootrec.exe /fixboot from the command prompt.
    However, I'm not sure whether this will be the same on a GPT system.
    Maybe srs5694 could comment?

    If that is the action to take, you could set a boot flag on sda3 with gparted, by opening gparted and right-clicking on the sda3 partition, selecting "manage flags" from the new window, then in the second window click on the "boot" box.

    Then you can boot from the Windows cd and run the above command, and when rebooted into Ubuntu run sudo update-grub again, when the Windows Loader will hopefully appear.
    MacBook Pro 10,1 retina

  9. #69
    Join Date
    Sep 2010
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: 11.04 Beta Live-USB

    Quote Originally Posted by Quackers View Post
    The first line of the boot script gives this
    Code:
    Grub 2 is installed in the MBR of /dev/sda and looks at sector 1248142232 
        of the same hard drive for core.img, but core.img can not be found at this 
        location.
    sector 1248142232 is in sda4, which would be correct, but /boot/grub/core.img is not appearing in sda4. That's odd. But Ubuntu is booting ok, yes?

    It is true that sda2 is still not mounting for some reason. I see nothing obvious that could cause this. It is likely that Windows' first 2 boot files are in there.
    Normally it would be possible to repair this by moving the (non-existent) boot flag to sda3 and then booting from the Windows installation disc and selecting the repair console, then running bootrec.exe /fixboot from the command prompt.
    However, I'm not sure whether this will be the same on a GPT system.
    Maybe srs5694 could comment?

    If that is the action to take, you could set a boot flag on sda3 with gparted, by opening gparted and right-clicking on the sda3 partition, selecting "manage flags" from the new window, then in the second window click on the "boot" box.

    Then you can boot from the Windows cd and run the above command, and when rebooted into Ubuntu run sudo update-grub again, when the Windows Loader will hopefully appear.
    Actually I restarted and GRUB didn't even appear again!
    It just booted I think without problem to ubuntu.
    Even when I edited the 40_custom file and did sudo update-grub it didn't create an entry for windows 7.
    and as windows said in the time of installing it is MSR reserved partition, I don't really know what it means..

  10. #70
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 11.04 Beta Live-USB

    It looks like with efi and gpt windows creates a unique partition Microsoft reserved partition and that is why the boot script does not see it correctly. The MSR then must be your sda2.

    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx

    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 7 of 10 FirstFirst ... 56789 ... 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
  •