LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 06-26-2014, 10:08 AM   #1
mobjr
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Slackware
Posts: 50

Rep: Reputation: 0
Question Xubuntu - Boot from Windows 7 with GPT


Hi.

I have Slackware with dual boot using bcdedit...
http://alien.slackbook.org/blog/addi...ws7-boot-menu/

Can I boot my xubuntu with bcdedit using GPT partition?

Last edited by mobjr; 06-26-2014 at 10:11 AM.
 
Old 06-27-2014, 09:21 AM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,115

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Are you booting Slackware with this method with GPT? I would think you would just need to repeat the process you used for Slackware for Xubuntu. Seems like a convoluted method but I suppose there are situations when it is best.
 
Old 06-27-2014, 04:07 PM   #3
mobjr
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Slackware
Posts: 50

Original Poster
Rep: Reputation: 0
Unfortunately no.

I have MBR using Slackware with my PC and my Note GPT using Xubuntu.

I can boot my Slack with "lilo" and "Windows boot"(Boot from Windows)
I need to pass -P ignore to install lilo because Windows change my sector size.
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
1 heads, 2 sectors/track, 976762584 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xdaf99b34

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   419432447   209715200    7  HPFS/NTFS/exFAT
/dev/sda2       419432448  1468008447   524288000    5  Extended
/dev/sda5       419434496  1048580095   314572800    7  HPFS/NTFS/exFAT
/dev/sda6   *  1048582144  1258297343   104857600   83  Linux
/dev/sda7      1258299392  1468006399   104853504   83  Linux
My Note I use grub2 and EFI.

Code:
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 67DF012A-57E4-4348-B881-497D428A17C0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 341611885 sectors (162.9 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          206847   100.0 MiB   EF00  EFI system partition
   2          206848          468991   128.0 MiB   0C01  Microsoft reserved part
   3          468992       409602047   195.1 GiB   0700  Basic data partition
   4       409602048       410578943   477.0 MiB   EF02  
   5       410578944       411578367   488.0 MiB   8200  
   6       411578368       606889983   93.1 GiB    8300  
   7       606889984       997515263   186.3 GiB   8300  
   8       997515264      1611915263   293.0 GiB   0700  Basic data partition
Is possible to copy the first 512 bytes from GPT partition(4 EF02)?
If yes I think I can boot Xubuntu from windows using bcdedit.
 
Old 06-27-2014, 07:27 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,499

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
No - UEFI boots completely differently.

I don't have Win7 on gpt disk, but I'd expect grub2 to find it and add a Win7 entry to the boot list - I'd suggest you use grub2 as the default firmware load.

To modify the firmware boot menu, install efibootmgr from Intel - should be in the Xubuntu repos (Mint has it) - comes with good help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slack/windows dual boot with efi/gpt BCarey Slackware 17 12-31-2012 02:55 PM
Dual boot Gentoo + Windows 7 on a GPT disk Hammett Linux - General 0 01-11-2012 04:03 PM
Disk Partitions for dual boot with Windows 7 GPT/EFI motiv8d1 Linux - General 2 01-10-2011 07:22 PM
I have windows XP and want to install XUbuntu on a dual boot setup, how do I do it? Mac_09 Linux - Newbie 4 05-07-2008 05:57 PM
[HELP]Broken windows booting. Able to boot to xubuntu. Low Man Linux - Newbie 2 07-03-2007 07:45 AM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration