You are not logged in.

#51 2014-05-23 18:43:48

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:

In my opinion, I think it may be best to get the OP's Windows up & running again before worrying about re-installing of any kind.  This thread can quickly make a newbie's head spin if we keep going about in circles about different partition layouts and how to re-install everything/linux.

Yea, thanks!

Offline

#52 2014-05-23 18:46:01

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

See my link above on using "fixmbr."  FYI, that command can be used from your command prompt but I highly recommend reading that page first for its information value.

To speed up things here is the relevant section of commands you need to use:

Now sitting at the command prompt, enter the following command and then press enter:
         bootrec.exe /FixMbr

If successful, you should be greeted with the message The operation completed successfully.  That's it!  Your Master Boot Record has been repaired.
While the above command does fix the MBR, and sometimes that is enough, there still might be an error with the system partition's boot sector and Boot Configuration Data (BCD). This might occur if you have tried to install another operating system alongside Windows 7, such as Windows XP.  To write a new boot sector, try the following command:
        bootrec.exe /FixBoot

Last edited by MoonSwan (2014-05-23 18:48:18)

Offline

#53 2014-05-23 18:47:54

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:

See my link above on using "fix /mbr."  FYI, that command can be used from your command prompt but I highly recommend reading that page first for its information value.

Ok, but what gets me, is why can't I just make a new partition for windows, set it to be MBR, and use that to boot windows. And use my other partitions when I want to boot Linux?
Edit: I've already read through that guide before, but didn't consider it relevant because I couldn't access cmd.

Last edited by FrigidDev (2014-05-23 18:49:10)

Offline

#54 2014-05-23 18:48:42

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Success with Arch, Fail with Windows

See: http://www.howtogeek.com/howto/32523/ho … -problems/

But *before* you get to repairing the bootloader with those instructions the partition table on the disk needs to be MBR.  Rewriting the table from GPT to MBR is the risky part, once that is done the above instructions should work.  Back everything up under the assumption that if you don't it will be gone.

Offline

#55 2014-05-23 18:51:33

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

headkase wrote:

See: http://www.howtogeek.com/howto/32523/ho … -problems/

But *before* you get to repairing the bootloader with those instructions the partition table on the disk needs to be MBR.  Rewriting the table from GPT to MBR is the risky part, once that is done the above instructions should work.  Back everything up under the assumption that if you don't it will be gone.

Strangely, diskpart is reading his gpt table.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#56 2014-05-23 18:51:34

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Ok, but what gets me, is why can't I just make a new partition for windows, set it to be MBR, and use that to boot windows. And use my other partitions when I want to boot Linux?

Simplified answer MBR and GPT are mutually exclusive a single disk has one type of partition table one or the other for that entire disk.

Last edited by loqs (2014-05-23 18:52:09)

Offline

#57 2014-05-23 18:52:35

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

loqs wrote:
FrigidDev wrote:

Ok, but what gets me, is why can't I just make a new partition for windows, set it to be MBR, and use that to boot windows. And use my other partitions when I want to boot Linux?

Simplified answer MBR and GPT are mutually exclusive a single disk has one type of partition table one or the other the the entire disk.

I think there is a hybrid mbr/gpt, but that may just be the protected mbr with gpt.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#58 2014-05-23 18:52:39

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

Just to be clear, doing this to windows will completely remove my Linux partitions, and keep the data on my windows(if it succeeds)?

Offline

#59 2014-05-23 18:52:44

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

You can't do that because that isn't how windows is built.  AFAIK, your idea *can* work but honestly it's a lot of advanced black voodoo to get it right.  On top of that, you would have no fallback with either OS because you would be hitting the MS-Dos partition limitations (thanks you piece of trash PC-DOS for doing that!).  A DOS MBR is limited to 4 primary partitions and (I think) 16 extended partitions.  Right now you have 6 PRIMARY partitions, which GPT can handle, but the MBR cannot.  So technically you couldn't even add a new partition to begin with!

Please trust the posters in this thread, they do know what they're saying and giving you the best advice you can ask for, in my opinion.

Offline

#60 2014-05-23 18:55:11

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:

You can't do that because that isn't how windows is built.  AFAIK, your idea *can* work but honestly it's a lot of advanced black voodoo to get it right.  On top of that, you would have no fallback with either OS because you would be hitting the MS-Dos partition limitations (thanks you piece of trash PC-DOS for doing that!).  A DOS MBR is limited to 4 primary partitions and (I think) 16 extended partitions.  Right now you have 6 PRIMARY partitions, which GPT can handle, but the MBR cannot.  So technically you couldn't even add a new partition to begin with!

Please trust the posters in this thread, they do know what they're saying and giving you the best advice you can ask for, in my opinion.

Ok, will do.
So, if I just removed the swap partition, and the other boot bios partition(on the Linux), then I would be good? Because that would only be 4...

Offline

#61 2014-05-23 18:55:32

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

A bootloader is usually inside of each partition.  There can be a master bootloader to hand off to each of the bootloaders (such as mbr code).


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#62 2014-05-23 18:56:38

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Just to be clear, doing this to windows will completely remove my Linux partitions, and keep the data on my windows(if it succeeds)?

Work under that assumption, yes.

nomorewindows, you're correct about the mbr-protected gpt issue afaik.

Offline

#63 2014-05-23 18:57:27

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
MoonSwan wrote:

You can't do that because that isn't how windows is built.  AFAIK, your idea *can* work but honestly it's a lot of advanced black voodoo to get it right.  On top of that, you would have no fallback with either OS because you would be hitting the MS-Dos partition limitations (thanks you piece of trash PC-DOS for doing that!).  A DOS MBR is limited to 4 primary partitions and (I think) 16 extended partitions.  Right now you have 6 PRIMARY partitions, which GPT can handle, but the MBR cannot.  So technically you couldn't even add a new partition to begin with!

Please trust the posters in this thread, they do know what they're saying and giving you the best advice you can ask for, in my opinion.

Ok, will do.
So, if I just removed the swap partition, and the other boot bios partition(on the Linux), then I would be good? Because that would only be 4...

Removing partitions if not at the end will change the partition structure and numbering.  The BIOS boot partition is sort of an implementation of the MBR-GPT battle.  It could contain your boot code needed to boot your computer (such as /boot).


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#64 2014-05-23 18:59:07

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: Success with Arch, Fail with Windows

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

Offline

#65 2014-05-23 18:59:16

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:
FrigidDev wrote:

Just to be clear, doing this to windows will completely remove my Linux partitions, and keep the data on my windows(if it succeeds)?

Work under that assumption, yes.

nomorewindows, you're correct about the mbr-protected gpt issue afaik.

Well, I'll start backing up Windows, and in a few hours I'll start to do the whole /fixmbr thing, and I'll probably come back here for a double check.

Oh, and when this is all cleared up and everything's working again, maybe this should be made community wiki or whatever you do here, because there are a lot of very informative and helpful posts regarding a somewhat wide topic.
Thanks.

Offline

#66 2014-05-23 18:59:51

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

loqs wrote:

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

gdisk would be safer to use since it can convert in either direction (with a few provisos).  Check out the wiki on gdisk to see how to use it.

Last edited by nomorewindows (2014-05-23 19:01:20)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#67 2014-05-23 19:01:14

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

nomorewindows wrote:
loqs wrote:

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

gdisk would be safer to use since it can convert in either direction (with a few provisos).

Ok, safer sounds good to me, so what is gdisk?

Offline

#68 2014-05-23 19:01:30

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

His sda1 partition is Windows' implementation of a /boot partition and works as a back-up failsafe in case of corrupted boot files. Keep that one as well as sda2!  Removing other partitions won't help you so just fix your mbr (with either/both methods if need be) and move on from there.

Offline

#69 2014-05-23 19:03:02

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

loqs wrote:

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

Off-topic - I have an open test-bed system here and this got me thinking...maybe I'll try to do exactly this and see what happens.  I can report back later in this (or a new) thread if people are interested.  Just an idea.

Offline

#70 2014-05-23 19:03:24

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:

His sda1 partition is Windows' implementation of a /boot partition and works as a back-up failsafe in case of corrupted boot files. Keep that one as well as sda2!  Removing other partitions won't help you so just fix your mbr (with either/both methods if need be) and move on from there.

Yea, I'm not dumb enough to remove the only partitions that say they belong to Windows!

Offline

#71 2014-05-23 19:04:28

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:
loqs wrote:

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

Off-topic - I have an open test-bed system here and this got me thinking...maybe I'll try to do exactly this and see what happens.  I can report back later in this (or a new) thread if people are interested.  Just an idea.

Yea, that's sounds like a brilliant idea, you would be contributing to an entire community of arch/windows users.

Last edited by FrigidDev (2014-05-23 19:04:38)

Offline

#72 2014-05-23 19:04:39

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
nomorewindows wrote:
loqs wrote:

The reason you were being advised to backup data before beginning on the repair is because there is no absolute guarantee that it will succeed with or without data loss.  The guide kindly provided by MoonSwan does not say how fixmbr will handle none Windows partitions or greater than 4 partitions so unless someone has tried it its an unknown.

gdisk would be safer to use since it can convert in either direction (with a few provisos).

Ok, safer sounds good to me, so what is gdisk?

See if it is installed first,

pacman -Q gptdisk

Last edited by nomorewindows (2014-05-23 19:06:29)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#73 2014-05-23 19:04:52

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Success with Arch, Fail with Windows

And I never thought you were dumb.  I'm just trying to make things clear - to everyone - myself included.

Offline

#74 2014-05-23 19:08:07

FrigidDev
Member
Registered: 2014-05-23
Posts: 34

Re: Success with Arch, Fail with Windows

MoonSwan wrote:

And I never thought you were dumb.  I'm just trying to make things clear - to everyone - myself included.

I know that, I'm just trying to lighten the mood(the one I just escaped from, thinking that I destroyed almost 300 Gb of important programming free-lance projects)[I've been developing some games in Windows, and I wanted to port them over to Arch, that's what started this whole fiasco]

And as for gptdisk, it doesn't exist, but this does:
sudo pacman -S gdisk
resolving dependencies...
looking for inter-conflicts...

Packages (1): gptfdisk-0.8.10-1

Total Download Size:    0.16 MiB
Total Installed Size:   0.67 MiB

:: Proceed with installation? [Y/n]

Last edited by FrigidDev (2014-05-23 19:09:55)

Offline

#75 2014-05-23 19:10:38

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
MoonSwan wrote:

And I never thought you were dumb.  I'm just trying to make things clear - to everyone - myself included.

I know that, I'm just trying to lighten the mood(the one I just escaped from, thinking that I destroyed almost 300 Gb of important programming free-lance projects)

And as for gptdisk, it doesn't exist, but this does:
sudo pacman -S gdisk
resolving dependencies...
looking for inter-conflicts...

Packages (1): gptfdisk-0.8.10-1

Total Download Size:    0.16 MiB
Total Installed Size:   0.67 MiB

:: Proceed with installation? [Y/n]

I can't type, but that's it.
You can also look up the GUID Partition Table in the wiki online, or arch-wiki-docs if you have that installed locally.  Going directly to this article will tell you the process in brief terms (reference located at the bottom of the wiki).

Last edited by nomorewindows (2014-05-23 19:13:02)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB