You are not logged in.

#1 2012-04-16 12:45:10

Paingiver
Member
Registered: 2008-03-01
Posts: 83

Windows 7 + ArchLinux UEFI Dual-Boot

https://gitorious.org/tianocore_uefi_du … I_boot_USB

Is the guide above is all i need when setting Windows 7 + ArchLinux in a PC with UEFI? From what i understand you do all the config in the USB driver and then you install without hassle?

Offline

#2 2012-04-16 13:28:44

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Windows 7 + ArchLinux UEFI Dual-Boot

That links gives instructions for creating bootable UEFI+BIOS Linux+Windows Setup/Installer USB drive. It is not actual install guide, if thats what you are looking for.

Last edited by the.ridikulus.rat (2012-04-16 14:33:53)

Offline

#3 2012-04-16 14:19:06

Paingiver
Member
Registered: 2008-03-01
Posts: 83

Re: Windows 7 + ArchLinux UEFI Dual-Boot

This haunts me for a long time. Can you direct me to a more clear, explanatory step-by-step guide?

Last edited by Paingiver (2012-04-16 14:46:27)

Offline

#4 2012-04-16 14:32:52

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Windows 7 + ArchLinux UEFI Dual-Boot

Paingiver wrote:

This haunts me for a long time. Can you direct me to a more clear, explanatory step-by-step guide?

I am the author of that page. What doubt do you have? Have you read Archwiki UEFI and GPT pages?

Offline

#5 2012-04-16 14:46:45

Paingiver
Member
Registered: 2008-03-01
Posts: 83

Re: Windows 7 + ArchLinux UEFI Dual-Boot

From what i understand:

STEP-BY-STEP:

1-) Open Gparted Live and make your whole disk label as GPT(not MS-DOS)

2-) If you are using an SSD make an 2 MiB unused space before your first partition for SSD aligning.

3-) Create the UEFI partition: 400 MiB FAT32

4-) Put a bootable flag to UEFI partition.

5-) Create your other partitions. Don't forget to make them EXT4 for using the SSD's TRIM feature. (You will write an option to fstab)

6-) Put your Windows 7 DVD and start it with UEFI boot.

7-) Install Windows 7 normally.

8-) Official Archlinux installation does not support UEFI install. Download the ArchBoot unofficial script.

9-) Install UEFI firmware.

10-) Create /boot/efi and mount the boot partition there.

11-) Install UEFI files needed by GRUB2 by grub-install

# grub-install --directory=/usr/lib/grub/x86_64-efi --target=x86_64-efi --root-directory=/boot/efi --boot-directory=/boot --bootloader-id=arch_grub --recheck --debug

And we are done? Any special thing for both Windows and Linux appear and boot from GRUB2 menu?

Offline

#6 2012-04-16 15:19:13

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Windows 7 + ArchLinux UEFI Dual-Boot

Paingiver wrote:

From what i understand:

STEP-BY-STEP:

1-) Open Gparted Live and make your whole disk label as GPT(not MS-DOS)

2-) If you are using an SSD make an 2 MiB unused space before your first partition for SSD aligning.

I haven't used SSD. No idea whether this 2 MiB space is required. But if you are talking about partition alignment, gdisk or recent parted/gparted should do it automatically.

3-) Create the UEFI partition: 400 MiB FAT32

4-) Put a bootable flag to UEFI partition.

5-) Create your other partitions. Don't forget to make them EXT4 for using the SSD's TRIM feature. (You will write an option to fstab)

6-) Put your Windows 7 DVD and start it with UEFI boot.

7-) Install Windows 7 normally.

8-) Official Archlinux installation does not support UEFI install. Download the ArchBoot unofficial script.

Upto this its correct. Step 4 , either parted's "boot" flag or gdisk's EF00 type code.

9-) Install UEFI firmware.

What do you mean by "install" UEFI firmware? Did you mean boot Archboot via UEFI CD/USB?

10-) Create /boot/efi and mount the boot partition there.

No. Mount the UEFI partition. Not the boot partition (/boot). Both are different.

11-) Install UEFI files needed by GRUB2 by grub-install

# grub-install --directory=/usr/lib/grub/x86_64-efi --target=x86_64-efi --root-directory=/boot/efi --boot-directory=/boot --bootloader-id=arch_grub --recheck --debug

Archboot setup script should do this automatically.

And we are done? Any special thing for both Windows and Linux appear and boot from GRUB2 menu?

Use "efibootmgr".

Last edited by the.ridikulus.rat (2012-04-16 15:28:41)

Offline

#7 2012-04-16 16:43:08

Paingiver
Member
Registered: 2008-03-01
Posts: 83

Re: Windows 7 + ArchLinux UEFI Dual-Boot

9-) I was looking from GRUB2 page. There it says to install the UEFI firmware.

But i guess we are not using GRUB2?

10-) I mistakenly wrote /boot. Yes it would be the UEFI partition.

Offline

#8 2012-04-16 16:55:02

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Windows 7 + ArchLinux UEFI Dual-Boot

Paingiver wrote:

9-) I was looking from GRUB2 page. There it says to install the UEFI firmware.

But i guess we are not using GRUB2?

It says install the appropriate "package" for the corresponding UEFI arch.

Offline

Board footer

Powered by FluxBB