Announcement

Collapse
No announcement yet.

Help with Windows XP dual boot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by oshunluvr View Post
    Grub needs sector 63 and some windows program used that sector for it's own (and undocumented usually) purposes.
    Originally posted by mr_raider View Post
    The first partition was NTFS for windows starting at sector 63. I did not want to move the partition. Kubuntu was unable to install grub. It failed at the end of the install with a message that grub could not install to /dev/sda. From what I read, when grub loads btrfs modules, it doesn't always fit before sector 63.
    Yet another reason why MBR needs to die its tie to ancient PC XT hard drives. These drives used a cylinder-head-sector (CHS) addressing system. There were 63 sectors per track. The MBR would sector 0 of the first track. The remainder of that track, sectors 1..62, were left empty. The first partition began on the next track, which started at sector 63.

    The partitioner in Windows XP and Windows NT and early versions of fdisk still relied on this old-fashioned understanding of hard drive geometries long after drive manufacturers moved on to newer methods of logical (not physical) block addressing. The tools would create the first partition on sector 63 rather than on the proper start of the next track.

    GRUB 1 was hardcoded to use the above assumptions. It would place stage 1 in the MBR. Because the MBR occupies only sector 0 (and is only 512 bytes), about the only thing stage 1 can do is launch stage 1.5. Stage 1.5 was designed to fit in the remainder of the first track -- that is, sectors 1..62. Stage 1.5 loads file system drivers into memory and then passes control to stage 2, which loads the rest of GRUB. If GRUB can't properly detect empty space on sectors 1..62, then the installation of stage 1.5 will fail.

    GRUB 2 is designed to eliminate dependencies on disk geometry. Stage 1 still fits in the MBR. Stage 1.5 still lives in the space between the MBR and the start of the first partition. But, crucially, stage 1.5 is not constrained to live in sectors 1..62. Not coincidentally, this is why GRUB 2 is much more practical for disks partitioned with modern tools. These tools use a 512-byte or a 4096-byte sector alignment and typically align the beginning of the first partition at wherever the 1 MB boundary begins.

    More: http://en.wikipedia.org/wiki/GNU_GRUB
    Last edited by SteveRiley; Jun 06, 2014, 11:40 PM.

    Comment


      #32
      Originally posted by mr_raider View Post
      What do you use? Thé mini.iso doesn't do 64 bit installs. There is no alternate CD anymore?
      Yes, 64-bit versions of mini.iso exist: https://help.ubuntu.com/community/In...tion/MinimalCD

      Comment


        #33
        Originally posted by SteveRiley View Post
        Yes, 64-bit versions of mini.iso exist: https://help.ubuntu.com/community/In...tion/MinimalCD
        Does it uefi installs.

        Sent from my Nexus 5 using Tapatalk

        Comment

        Working...
        X