Page 158 of 199 FirstFirst ... 58108148156157158159160168 ... LastLast
Results 1,571 to 1,580 of 1988

Thread: [Boot-Repair] Graphical tool to repair the PC boot in one click

  1. #1571
    Join Date
    Nov 2013
    Beans
    1

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    I've got the following problem.

    A few months ago I bought a Lenovo IdeaPad Y500 and it came with a preinstalled Windows 8. I have shrunk the Windows partition and installed Ubuntu. After the installation grub was loading by default and I could choose either Windows or Ubuntu and they were both starting and running OK. However, since then I was barely using Windows and just booting Ubuntu. Yesterday, I wanted to use Windows, but when I tried to select it from grub it didn't load. So I went to the boot menu and selected Windows Boot Manager and Windows started and was running OK. Unfortunately, after that I lost access to grub, it doesn't load by default and it doesn't show in the boot menu.

    I tried using Boot-Repair by running it under USB booted Ubuntu. The first time it was unsuccessful and suggested disabling Secure Boot in BIOS. Here's the log:

    http://paste.ubuntu.com/6462413/

    So I tried another time, but Ubuntu wouldn't start after disabling Secure Boot (after selecting USB boot it just goes to a black screen). Somewhere I found a suggestion to change UEFI to legacy support and then Ubuntu started with Secure Boot disabled. So I ran Boot-Repair, but it failed again and suggested disabling legacy support too. Here's the log:

    http://paste.ubuntu.com/6463472/

    I'm out of ideas. Any help would be very appreciated.

  2. #1572
    Join Date
    Aug 2013
    Beans
    10

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Quote Originally Posted by oldfred View Post
    @ kevang2
    The only reason I suggest undoing the rename, is that I expect Windows will do an update and replace its efi file, overwriting the grub version. Best to have ubuntu working and Windows working from UEFI, but not all UEFI allow that, so that is why Boot-Repair does rename.
    Okay, I fixed the problem by

    1. undoing rename like you suggested
    2. reinstalling Ubuntu from DVD - at this point I could at least boot both systems by changing the boot order in the setup menu (my PC does not seem to have any other "UEFI menu", at least I didn't see one)
    3. running Boot-Repair again, but this time instructing it not to do the rename - now I have working GRUB entries for both Ubuntu and Windows! Yay!

    It seems odd that the rename should cause the GRUB entries for Ubuntu to not work, so probably something else went wrong before that is now lost in the mists of history.

    Thanks a bunch for your help!

  3. #1573
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Glad you got it working.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.




  4. #1574
    Join Date
    Jan 2012
    Beans
    9

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    MY repair failed with a message to close my package managers and try again. I can't see how my package managers are running since I can't boot the system.

    /paste.ubuntu.com/6468752/

  5. #1575
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @ajaxmike
    Most desktops have just / & swap. Some have separate /boot and /home. But to update system usually then only / and /boot if separate are required to be mounted in the chroot. But you also have a separate /var. That probably has to be mounted for chroot to work.

    You may have to manually chroot & update system. But besure to also add the mounts of /boot & /var as most chroot instructions do not include them as separate.

    drs305 chroot to purge & reinstall grub2
    http://ubuntuforums.org/showthread.php?t=1581099
    kansasnoob- full chroot one line version with &&---- change sda3 to your install
    http://ubuntuforums.org/showpost.php...2&postcount=10
    http://ubuntuforums.org/showthread.php?t=1470597

    It does not look like you even have any kernels installed? Or did Boot-Repair run the kernel purge before you found you could not update?

    Most desktops do not need the separate /boot. But a server type install with LVM, RAID or other special configuration may need a separate /boot. Some use a separate /var when the boot drive is a small SSD but I am not sure if there are any advantages otherwise. I think there was a bug on one version of Ubuntu where separate /var did cause some issues.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.




  6. #1576
    Join Date
    Jan 2012
    Beans
    9

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    This is a server. I have a separate /boot and /var so that the system doesn't freeze with a full / partition due to old linux kernels or log files. I will try to figure out how to ensure that /boot and /var are mounted and give it another try.

  7. #1577
    Join Date
    Oct 2013
    Beans
    15

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    I'm having some troubles getting Windows 7 to show up in grub. I have Windows 7 installed on sda, Ubuntu 13.10 installed on sdb, and Ubuntu 12 installed on sdc. Here is my result from boot-repair:
    http://paste.ubuntu.com/6471013/
    Any help would be appreciated.

  8. #1578
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @AyJJ7fd
    You have a mixed BIOS & UEFI system. So you cannot add Windows to grub and dual boot.
    Once you start booting in one mode you cannot switch, so you should be able to go into UEFI menu, turn off secure boot, turn on CSM/Legacy/BIOS and boot Windows on sda. But then to boot Ubuntu you have to go back into UEFI and turn on UEFI to boot Ubuntu.
    Your one time boot key may give you the option to boot either system if secure boot is off. Some auto-switch from UEFI/BIOS as part of selecting which system to boot. Others require manual switching. And with secure boot on, only systems that are secure boot will even be offered to boot. No BIOS install is secure boot, so with secure boot on you cannot boot Windows.

    Your install of Ubuntu on sdb & sdc use the efi partition on sdc to boot in UEFI mode. And it looks like you have/had secure boot on as it shows the signed kernels.

    With new systems, I prefer to use gpt partitioning for Linux drives and have both an efi partition for UEFI boot and a bios_grub partition for BIOS boot. Ubuntu will boot from gpt drives with either BIOS or UEFI if correct partitions are available.
    But Windows only boots in UEFI mode from gpt drives, and both Ubuntu & Windows only boot from MBR(msdos) partitioned drives in BIOS mode.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.




  9. #1579
    Join Date
    Oct 2013
    Beans
    15

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Quote Originally Posted by oldfred View Post
    @AyJJ7fd
    You have a mixed BIOS & UEFI system. So you cannot add Windows to grub and dual boot.
    Once you start booting in one mode you cannot switch, so you should be able to go into UEFI menu, turn off secure boot, turn on CSM/Legacy/BIOS and boot Windows on sda. But then to boot Ubuntu you have to go back into UEFI and turn on UEFI to boot Ubuntu.
    Your one time boot key may give you the option to boot either system if secure boot is off. Some auto-switch from UEFI/BIOS as part of selecting which system to boot. Others require manual switching. And with secure boot on, only systems that are secure boot will even be offered to boot. No BIOS install is secure boot, so with secure boot on you cannot boot Windows.

    Your install of Ubuntu on sdb & sdc use the efi partition on sdc to boot in UEFI mode. And it looks like you have/had secure boot on as it shows the signed kernels.

    With new systems, I prefer to use gpt partitioning for Linux drives and have both an efi partition for UEFI boot and a bios_grub partition for BIOS boot. Ubuntu will boot from gpt drives with either BIOS or UEFI if correct partitions are available.
    But Windows only boots in UEFI mode from gpt drives, and both Ubuntu & Windows only boot from MBR(msdos) partitioned drives in BIOS mode.
    Okay, I understand what you're saying. I'm not sure what exactly the best fix is though. Should I repartition my two Linux drives using gpt partitioning? If so, what exactly should each partition look like? A ext4 root partition, swap partition, a efi partition for UEFI boot and a bios_grub partition for BIOS boot?
    And then is my Windows drive partitioned correctly?

  10. #1580
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Windows is ok for BIOS, unless you want to convert it to UEFI. I prefer smaller system partitions and larger data partitions for both Ubuntu & Windows. And an operating system on every drive.

    I suggest an efi partition as the first partition on all gpt drives. If you want to boot Ubuntu in BIOS mode from a gpt drive you also need a bios_grub partition anywhere on drive. If you have both you can convert manually or with Boot-Repair by installing grub-efi or grub-pc (BIOS). But cannot choose either or install both grubs (as far as I know?)

    For the Total space you want for Ubuntu:
    Ubuntu's standard install is just / (root) & swap, but it is better to add another partition for /home if allocating over 30GB.:
    Only if gpt - all partitions in gpt are primary:
    gpt: 250 MB efi FAT32 w/boot flag (for UEFI boot or future use for UEFI, you only can have one per drive, so if already existing do not attempt another)
    gpt: 1 MB No Format w/bios_grub flag (for BIOS boot not required for UEFI)
    for gpt(GUID) or MBR(msdos) partitioning
    Ubuntu partitions - smaller root only where hard drive space is limited.
    If total space less than about 30GB just use / not separate /home or standard install.
    1. 10-25 GB Mountpoint / primary or logical beginning ext4(or ext3)
    2. all but 2 GB Mountpoint /home logical beginning ext4(or ext3)
    3. 2 GB Mountpoint swap logical

    Depending on how much memory you have you may not absolutely need swap but having some is still recommended. I do not hibernate (boots fast enough for me) but if hibernating then you need swap equal to RAM in GiB not GB. And if dual booting with windows a shared NTFS partition is also recommended. But you usually cannot create that as part of the install, just leave some space. Or partition in advance (recommended).
    One advantage of partitioning in advance is that the installer will use the swap space to speed up the install. Thanks Herman for the tip.
    https://help.ubuntu.com/community/DiskSpace
    suggested partitions for just Ubuntu on 3TB drive.
    http://askubuntu.com/questions/33643...rtition-scheme
    Another advanced suggestion from TheFu with Multiple / (root) - Post #5 similar to what I actually do
    http://ubuntuforums.org/showthread.php?t=2170308
    http://ubuntuforums.org/showthread.php?t=2021534

    You can reinstall Windows in UEFI mode.

    Only 64 bit supported for UEFI boot
    http://www.sevenforums.com/tutorials...ndows-7-a.html
    Prepare an usb thumb drive, to boot windows 7 in UEFI mode
    http://forums.lenovo.com/t5/tkb/arti...article-id/177
    http://technet.microsoft.com/en-us/l...=ws.10%29.aspx
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.




Page 158 of 199 FirstFirst ... 58108148156157158159160168 ... 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
  •