Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

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

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    I suggest both efi and bios_grub partitions as adding an efi partition to beginning of drive later can be difficult. But efi partition will only be used by UEFI install or bios_grub by BIOS/Legacy install. If gpt partitioned then you can convert from BIOS boot to UEFI. But if MBR you cannot convert and do not need those partitions.

    I do not suggest a separate /boot, but do keep / (root) smaller. If dual booting with other Debian based I would just leave /home inside / and use data partitions for all data. Then you can easily mount the same data partition in all installs. I have many Ubuntu installs and do exactly that.

    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 (for UEFI boot or future use for UEFI, you only can have one, so if already existing do not attempt another)
    gpt: 1 MB bios_grub no format (for BIOS boot not required for UEFI)
    gpt or MBR(msdos)
    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.

    Instead of /home create as many 25GB future root partitions as you want. I created two 100GB data partitions on my new 650GB drive 3 years ago and left the rest unallocated. I then installed Ubuntu, and the then beta. But I left those partitions and with every version I added another 25GB / partition. And If I wanted to test another 25GB. I now have so many I cannot keep track, have to turn off os-prober as it finds too many, It is time to houseclean as some of the old installs are now obsolete.


    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata
    Link is on move home but see post by bodhi.zazen on data partition #6
    http://ubuntuforums.org/showthread.php?t=325048
    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.







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

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    I suggest both efi and bios_grub partitions as adding an efi partition to beginning of drive later can be difficult. But efi partition will only be used by UEFI install or bios_grub by BIOS/Legacy install. If gpt partitioned then you can convert from BIOS boot to UEFI. But if MBR you cannot convert and do not need those partitions.

    I do not suggest a separate /boot, but do keep / (root) smaller. If dual booting with other Debian based I would just leave /home inside / and use data partitions for all data. Then you can easily mount the same data partition in all installs. I have many Ubuntu installs and do exactly that.

    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 (for UEFI boot or future use for UEFI, you only can have one, so if already existing do not attempt another)
    gpt: 1 MB bios_grub no format (for BIOS boot not required for UEFI)
    gpt or MBR(msdos)
    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.

    Instead of /home create as many 25GB future root partitions as you want. I created two 100GB data partitions on my new 650GB drive 3 years ago and left the rest unallocated. I then installed Ubuntu, and the then beta. But I left those partitions and with every version I added another 25GB / partition. And If I wanted to test another 25GB. I now have so many I cannot keep track, have to turn off os-prober as it finds too many, It is time to houseclean as some of the old installs are now obsolete.


    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata
    Link is on move home but see post by bodhi.zazen on data partition #6
    http://ubuntuforums.org/showthread.php?t=325048
    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.







  3. #13
    Join Date
    Jan 2011
    Beans
    48

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    February 5, 2013
    Hello OldFred, and others.

    Well.
    I wiped out both disk; burned an AMD 64 Lubuntu 12.10 cd and installed it.

    As part of the install I added another partition for UEFI boot, with space before that for the GUID Partition table.

    As much as I would like to say "RESOLVED", Nope.

    As I said, the disk booted and installed OK.
    EXCEPT.
    When I tried to start from the HD (It's time to boot your new system.) I get this grub display:

    GRUB Loading.
    Welcome to GRUB!

    error: no such device: cba609c8-fca7-4a66-8ed6-31b9da5a929a.
    grub rescue>

    -------
    a google of the error message sends me to:
    http://askubuntu.com/questions/14366...ce-grub-rescue

    it says to run grub boot repair.
    OK, I'll do that, but I think that the install that I just did should not have left the HD in an error state.

    Will keep this short and post again with results of endeavors.
    Jay

  4. #14
    Join Date
    Jan 2011
    Beans
    48

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    Quite Late on February 5, 2013

    While I was waiting for the boot-repair and the linux-secure to download,
    I read a posting where a user changed is disks and had the same boot problem.

    Uh-Oh.

    I deleted all partitions on Both disks - created all-encompassing partitions and did a format.
    Went back and deleted the new partitions. (did these just to wipe the disks.)

    Yikes!

    The manage flags for the two disks were different!

    /dev/sda is a solid state drive 0 80GB. Previously, I had set this up as root and boots.
    /dev/sdb is a hard disk drive 800 GB - I had set this up as swap and home.

    Sooooooo.
    I switched.
    set up /dev/sda as swap and /home and /var ( for boinc task checkpointing).


    It Booted.
    no grub errors.

    Why would this be?
    Is there some restriction of SDD vs HDD ??

    Almost resolved.

    Jay

  5. #15
    Join Date
    Jan 2011
    Beans
    48

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    February 6, 2013

    While I was waiting for the boot-repair and the linux-secure to download,
    I read a posting where a user changed is disks and had the same boot problem.

    Uh-Oh.

    I deleted all partitions on Both disks - created all-encompassing partitions and did a format.
    Went back and deleted the new partitions. (did these just to wipe the disks.)

    Yikes!

    The manage flags for the two disks were different!

    /dev/sda is a solid state drive 0 80GB. Previously, I had set this up as root and boots.
    /dev/sdb is a hard disk drive 800 GB - I had set this up as swap and home.

    Sooooooo.
    I switched.
    set up /dev/sda as swap and /home and /var ( for boinc task checkpointing).

    Reinstalled from scratch. (add this line in edit.)
    It Booted.
    no grub errors.

    Why would this be?
    Is there some restriction of SDD vs HDD ??

    Almost resolved.

    Jay



    PS
    I think this is the second time I tried to post this.
    I could not find it this morning so I reposted.
    I sincerely apologize if it shows up again somewhere else.
    Jay
    Last edited by Jay_E; March 6th, 2013 at 06:05 PM. Reason: Added line about reinstall.

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

    Re: grub fails to boot Ubuntu 12.04-2 (64 bit)after install

    Should be no difference between SSD & hard drive. But SSDs work better with some BIOS and Linux entries.

    Is one drive MBR and the other gpt?

    Do SSD need customization?
    http://ubuntuforums.org/showthread.php?t=1981478
    Arch suggests gpt for SSD. Only if installing Windows on older system may you want MBR as Windows only boots from gpt with UEFI.
    https://wiki.archlinux.org/index.php/Solid_State_Drives
    http://ubuntuforums.org/showthread.php?t=2003022
    https://sites.google.com/site/easylinuxtipsproject/ssd

    post this:
    sudo parted -l
    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 2 of 2 FirstFirst 12

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
  •