You are not logged in.

#1 2012-09-30 10:29:59

AlexCogn
Member
Registered: 2012-09-27
Posts: 20

(SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

Hi,

I have 4 partitions.
sda1: Windows boot partition (ntfs) - This has always been there
sda2: Windows Installation
sda3: HP_Tools - I need to keep this for warranty
sda4: Arch Installation

I want to use GRUB to have a dualboot option at startup. Do I need to install GRUB to the boot partition which is NTFS, this should be ext3 according to the tutorial.
Or can I just install grub on the Arch installation in the /boot folder?

Thanks already!

Last edited by AlexCogn (2012-10-02 15:02:10)

Offline

#2 2012-09-30 10:32:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

You can install it fine to sda4.

Online

#3 2012-09-30 10:35:43

AlexCogn
Member
Registered: 2012-09-27
Posts: 20

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

Scimmia wrote:

You can install it fine to sda4.

Do I have to set its flag to boot then?

Offline

#4 2012-09-30 11:11:39

progandy
Member
Registered: 2012-05-17
Posts: 5,180

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

AlexCogn wrote:
Scimmia wrote:

You can install it fine to sda4.

Do I have to set its flag to boot then?

My GRUB2 works without a boot flag (boot flag still on windows boot)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2012-09-30 11:56:39

AlexCogn
Member
Registered: 2012-09-27
Posts: 20

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

progandy wrote:
AlexCogn wrote:
Scimmia wrote:

You can install it fine to sda4.

Do I have to set its flag to boot then?

My GRUB2 works without a boot flag (boot flag still on windows boot)

When I do that Windows just starts.  When I set the boot flag on the linux partition, nothing happens. Just a black screen with _ flickering.

Offline

#6 2012-09-30 11:58:15

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

It doesn't matter where you set the boot flag with GRUB, because GRUB doesn't care about boot flags (Syslinux does).

You don't need a separate boot partition for Arch. The bootloader files can reside in "/boot" on your root partition just fine. It's how I have it set up.


...this should be ext3 according to the tutorial.

Which tutorial? Please don't follow any shitty Youtube tutorials. Stick to the Beginners' Guide and you should be fine.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-09-30 12:04:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

AlexCogn wrote:

When I do that Windows just starts.

Then you didn't install grub to the MBR. Don't forget, installing the package isn't enough, you actually have to install grub to sda as a separate step.

Last edited by Scimmia (2012-09-30 12:11:25)

Online

#8 2012-09-30 12:36:32

AlexCogn
Member
Registered: 2012-09-27
Posts: 20

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

Scimmia wrote:
AlexCogn wrote:

When I do that Windows just starts.

Then you didn't install grub to the MBR. Don't forget, installing the package isn't enough, you actually have to install grub to sda as a separate step.

So
# grub-install --target=i386-pc --recheck /dev/sda
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

and then
# grub-mkconfig -o /boot/grub/grub.cfg

?

I forgot the installation ... I'm trying it in half an hour, thanks already for you help guys!

Offline

#9 2012-10-02 15:01:55

AlexCogn
Member
Registered: 2012-09-27
Posts: 20

Re: (SOLVED) Dualboot Windows + Arch Linux (Windows boot partition)

That last did the job, thanks, should have read the beginners guide more carefully sad

Offline

Board footer

Powered by FluxBB