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

Thread: Install Grub2 to USB flash drive

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

    Re: Install Grub2 to USB flash drive

    Windows 7 installs usually use all 4 primary partitions. You may have a hidden Boot partition.

    My laptop already has 4 primary partitions: how can I install Ubuntu?
    http://askubuntu.com/questions/14982...install-ubuntu
    Good advice on how to handle all four primary partitions used. - srs5694
    http://ubuntuforums.org/showthread.php?t=1686440

    Be sure to create recovery DVD(s) first. And a Windows repair CD.

    Windows always needs a chkdsk after any resize. Best to use Windows own tools or Windows third party tools to resize Windows. Then immediately reboot so it can run chkdsk. NTFS partition have data in the NTFS partition boot sector on the start & size of NTFS partition and that must match partition table. Chkdsk updates that info.
    Do not create new partitions with Windows, it may convert to dynamic partitions which are Windows proprietary and do not work with Linux.

    How you set up partitions depends a lot on how you are going to use system. I tend to like smaller system partitions for both Windows & Ubuntu and larger data partitions. But I like to install the next Ubuntu to see if it works on my system while keeping current working install, so I have several / partitions.


    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: 300 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
    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
    Apr 2014
    Beans
    7

    Re: Install Grub2 to USB flash drive

    How do I check if I have a hidden boot partition? BTW one partition is OS (the one I'm resizing), the other is recovery and the third is a windows recovery tools partition I believe.

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

    Re: Install Grub2 to USB flash drive

    Post this from Ubuntu terminal from Live installer.

    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.







  4. #14
    Join Date
    Apr 2014
    Beans
    7

    Re: Install Grub2 to USB flash drive

    I ran the command you suggested using a live usb and this is what i got. Does this mean i can go ahead and resize it? BTW is not running chkdsk immediately after resizing the reason I see posts about corrupt Windows OS partitions on these forums? and What causes corruption when resizing partitions?

    Model: ATA Hitachi HDS72302 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 1049kB 106MB 105MB primary ntfs boot
    2 106MB 1984GB 1984GB primary ntfs
    3 1984GB 2000GB 16.5GB primary ntfs

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

    Re: Install Grub2 to USB flash drive

    It is not corrupted after a resize, except to the extent that it needs chkdsk. And best to run chkdsk before installing Ubuntu as booting from Grub menu does not always boot correctly when Windows needs fixes. Grub really only boots working Windows.

    The NTFS partition has start and size of its partition in the PBR or partition boot sector. If it does not match Windows will not work. But chkdsk updates the size info when partition is changed.

    Some then blame Linux for corrupting Windows when resizing & running chkdsk before install would eliminate all issues.

    Always best to have a separate Windows repair CD or flash drive for the current version of you Windows. And the current live installer of Ubuntu even if you upgrade as then you can make repairs if needed.

    Backup windows before install - post by Mark Phelps
    http://ubuntuforums.org/showthread.p...0#post12611710
    http://www.macrium.com/reflectfree.asp
    Another suggestion by srs5694
    http://www.runtime.org/driveimage-xml.htm

    Make your own Windows repairCD (not vendor recovery):
    http://forums.techarena.in/guides-tutorials/1114725.htm
    Windows users only - Silverlight
    http://windows.microsoft.com/en-GB/w...em-repair-disc

    Windows 7 repair USB, Also Vista if service pack installed
    http://www.intowindows.com/how-to-re...tion-dvd-disc/
    http://www.webupd8.org/2010/10/creat...usb-drive.html
    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
  •