You are not logged in.

#26 2014-05-23 17:55:33

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

Re: Success with Arch, Fail with Windows

headkase wrote:
FrigidDev wrote:
nomorewindows wrote:

You might try a repair installation, to see if it will reinstall your bootloader.

When I try to "repair" from my windows disk, it says that it is not compatible with my version of windows.

The Windows installer can't deal with GPT partitions in BIOS mode, you need to write an MBR partition table to the disk and then Windows can work with it.  I've run into that problem myself.  When you write an MBR to the disk be prepared for all data on it to be gone.

So, could I just delete the Linux, removing the GPT?

Offline

#27 2014-05-23 17:55:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Success with Arch, Fail with Windows

Be aware that if you change your partition table, you will no longer be able to log into Arch because the Windows would overwrite the grub. You will have to reinstall arch as well after you finish fixing Windows.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#28 2014-05-23 18:03:29

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

Re: Success with Arch, Fail with Windows

Always install Windows first as it will clobber other operating systems installed on the drive, and then once Windows is installed install your other operating system, Arch.

Keep your partition table as MBR if you are a BIOS system.

Offline

#29 2014-05-23 18:04:08

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

Re: Success with Arch, Fail with Windows

Inxsible wrote:

Be aware that if you change your partition table, you will no longer be able to log into Arch because the Windows would overwrite the grub. You will have to reinstall arch as well after you finish fixing Windows.

As long as I have windows, I can always get Arch again, not the other way around. I just need to be sure, that creating an MBR will FIX the problem. Any references on how to do this important stuff?
Edit: How do I know that I am a bios system?

Last edited by FrigidDev (2014-05-23 18:04:55)

Offline

#30 2014-05-23 18:04:32

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
headkase wrote:
FrigidDev wrote:

When I try to "repair" from my windows disk, it says that it is not compatible with my version of windows.

The Windows installer can't deal with GPT partitions in BIOS mode, you need to write an MBR partition table to the disk and then Windows can work with it.  I've run into that problem myself.  When you write an MBR to the disk be prepared for all data on it to be gone.

So, could I just delete the Linux, removing the GPT?

Which Arch of Windows (this seems like a pun) are you using?  Is it 64-bit?


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

Offline

#31 2014-05-23 18:05:49

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

Re: Success with Arch, Fail with Windows

nomorewindows wrote:
FrigidDev wrote:
headkase wrote:

The Windows installer can't deal with GPT partitions in BIOS mode, you need to write an MBR partition table to the disk and then Windows can work with it.  I've run into that problem myself.  When you write an MBR to the disk be prepared for all data on it to be gone.

So, could I just delete the Linux, removing the GPT?

Which Arch of Windows (this seems like a pun) are you using?  Is it 64-bit?

Haha, nice one, No I am using Windows 7 Ultimate 32-bit.

Offline

#32 2014-05-23 18:06:57

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Edit: How do I know that I am a bios system?

FrigidDev wrote:

fdisk -l /dev/sda
   
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0A569326-EF92-4480-AA6F-DA1BBB621D7B
Device           Start          End   Size Type
/dev/sda1         2048       206847   100M Microsoft basic data
/dev/sda2       206848   1577846467 752.3G Microsoft basic data
/dev/sda3   1577846784   1577848797  1007K BIOS boot partition
/dev/sda4   1577848832   1787564031   100G Linux filesystem
/dev/sda5   1787564032   1793855487     3G Linux filesystem
/dev/sda6   1793855488   1898713087    50G Linux filesystem

Look at your OWN output: Disklabel type: gpt

Edit: err, what is your mainboard?  And is it in CSM mode?  If you don't know then you probably have a BIOS system or a UEFI system in CSM mode which acts like a BIOS system.  I totally misunderstood there, sorry.

Last edited by headkase (2014-05-23 18:09:45)

Offline

#33 2014-05-23 18:07:53

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

Re: Success with Arch, Fail with Windows

You could try getting your current install to work (especially if you dont think you converted the partition table over).

Offline

#34 2014-05-23 18:11:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: Success with Arch, Fail with Windows

headkase wrote:
FrigidDev wrote:

Edit: How do I know that I am a bios system?

...
Look at your OWN output: Disklabel type: gpt

For the record,  MBR/BIOS drives look like this:

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x87b33479

Device    Boot     Start       End    Blocks  Id System
/dev/sda1           2048 121778159  60888056   7 HPFS/NTFS/exFAT
/dev/sda2      597366784 625135615  13884416  83 Linux
/dev/sda3      121778160 597366783 237794312   5 Extended
/dev/sda5 *    121778223 123770219    995998+ 83 Linux
/dev/sda6      123770283 131770589   4000153+ 82 Linux swap / Solaris
/dev/sda7      193213818 597360959 202073571  83 Linux
/dev/sda8      131781258 193213754  30716248+ 83 Linux
/dev/sda9      131770591 131781194      5302   1 FAT12

Partition table entries are not in disk order.

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Online

#35 2014-05-23 18:18:09

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

Re: Success with Arch, Fail with Windows

Well 32-bit Windows is probably your problem.  You'll have to use gpart to switch it back to MBR and then you'll have to update your bootloader (you may need a reboot or two have the LiveCD handy).  I'd recommend using the less involved syslinux as grub (especially grub2) gets needlessly overcomplicated in certain situations.


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

Offline

#36 2014-05-23 18:19:20

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

Re: Success with Arch, Fail with Windows

headkase wrote:
FrigidDev wrote:

Edit: How do I know that I am a bios system?

FrigidDev wrote:

fdisk -l /dev/sda
   
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0A569326-EF92-4480-AA6F-DA1BBB621D7B
Device           Start          End   Size Type
/dev/sda1         2048       206847   100M Microsoft basic data
/dev/sda2       206848   1577846467 752.3G Microsoft basic data
/dev/sda3   1577846784   1577848797  1007K BIOS boot partition
/dev/sda4   1577848832   1787564031   100G Linux filesystem
/dev/sda5   1787564032   1793855487     3G Linux filesystem
/dev/sda6   1793855488   1898713087    50G Linux filesystem

Look at your OWN output: Disklabel type: gpt

Edit: err, what is your mainboard?  And is it in CSM mode?  If you don't know then you probably have a BIOS system or a UEFI system in CSM mode which acts like a BIOS system.  I totally misunderstood there, sorry.

My motherboard is an Asus P5ND, and I have no idea what CSM mode is.

Offline

#37 2014-05-23 18:21:13

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

Re: Success with Arch, Fail with Windows

nomorewindows wrote:

Well 32-bit Windows is probably your problem.  You'll have to use gpart to switch it back to MBR and then you'll have to update your bootloader (you may need a reboot or two have the LiveCD handy).  I'd recommend using the less involved syslinux as grub (especially grub2) gets needlessly overcomplicated in certain situations.

But I don't think I ever changed it from being MBR, I originally had 2 partitions, one Windows, and one just empty space. I installed Arch on the empy space, and now windows won't boot. Doesn't make any sense to me...

Offline

#38 2014-05-23 18:25:34

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

My motherboard is an Asus P5ND, and I have no idea what CSM mode is.

See: http://www.asus.com/Motherboards/P5ND/

It doesn't say UEFI so it must be a BIOS system.  With a BIOS system the disk partition table being GPT will cause problems with Windows.

Offline

#39 2014-05-23 18:27:01

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

Re: Success with Arch, Fail with Windows

headkase wrote:
FrigidDev wrote:

My motherboard is an Asus P5ND, and I have no idea what CSM mode is.

See: http://www.asus.com/Motherboards/P5ND/

It doesn't say UEFI so it must be a BIOS system.  With a BIOS system the disk partition table being GPT will cause problems with Windows.

So I basically can't have Arch Linux on my system?

Offline

#40 2014-05-23 18:27:38

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
headkase wrote:
FrigidDev wrote:

My motherboard is an Asus P5ND, and I have no idea what CSM mode is.

See: http://www.asus.com/Motherboards/P5ND/

It doesn't say UEFI so it must be a BIOS system.  With a BIOS system the disk partition table being GPT will cause problems with Windows.

So I basically can't have Arch Linux on my system?

Edit: Without screwing up Windows?

Offline

#41 2014-05-23 18:29:37

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
nomorewindows wrote:

Well 32-bit Windows is probably your problem.  You'll have to use gpart to switch it back to MBR and then you'll have to update your bootloader (you may need a reboot or two have the LiveCD handy).  I'd recommend using the less involved syslinux as grub (especially grub2) gets needlessly overcomplicated in certain situations.

But I don't think I ever changed it from being MBR, I originally had 2 partitions, one Windows, and one just empty space. I installed Arch on the empy space, and now windows won't boot. Doesn't make any sense to me...

I'm not sure what happened exactly, but I know

gpart /dev/sda

can switch it back.  It maybe the disk size that has it with gpt instead of mbr; I'm not sure.   Having nothing to work from, couldn't tell you.  But it would be worth a try to see if it'll boot.  You won't have to recreate anything with gpart.  Looks as if your postings are accurate, you'll be able to refer back to them on this thread.


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

Offline

#42 2014-05-23 18:31:28

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

Re: Success with Arch, Fail with Windows

nomorewindows wrote:
FrigidDev wrote:
nomorewindows wrote:

Well 32-bit Windows is probably your problem.  You'll have to use gpart to switch it back to MBR and then you'll have to update your bootloader (you may need a reboot or two have the LiveCD handy).  I'd recommend using the less involved syslinux as grub (especially grub2) gets needlessly overcomplicated in certain situations.

But I don't think I ever changed it from being MBR, I originally had 2 partitions, one Windows, and one just empty space. I installed Arch on the empy space, and now windows won't boot. Doesn't make any sense to me...

I'm not sure what happened exactly, but I know

gpart /dev/sda

can switch it back.  It maybe the disk size that has it with gpt instead of mbr; I'm not sure.   Having nothing to work from, couldn't tell you.  But it would be worth a try to see if it'll boot.  You won't have to recreate anything with gpart.  Looks as if your postings are accurate, you'll be able to refer back to them on this thread.

Yea, and if I do that and destroy Arch, then I'll have no OS to try and save Windows with if this fails.

Offline

#43 2014-05-23 18:31:39

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

So I basically can't have Arch Linux on my system?

No, you can have Arch on your system just fine.  The thing you need to do however is use a MBR partitioned drive for Windows to coexist.  Not GPT as you made it.

Offline

#44 2014-05-23 18:34:18

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Edit: Without screwing up Windows?

At this point I think Windows is already "screwed."  You might be able to recover it but someone else will have to give that advice as I'm not qualified in that aspect.

But, you can mount your Windows partitions right now: get all the data you need off them backed up before you do anything else.  If your thumbdrive is only 16GB then back up the data in that size repeatedly to another system until everything is backed up.

Last edited by headkase (2014-05-23 18:34:47)

Offline

#45 2014-05-23 18:34:26

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
nomorewindows wrote:
FrigidDev wrote:

But I don't think I ever changed it from being MBR, I originally had 2 partitions, one Windows, and one just empty space. I installed Arch on the empy space, and now windows won't boot. Doesn't make any sense to me...

I'm not sure what happened exactly, but I know

gpart /dev/sda

can switch it back.  It maybe the disk size that has it with gpt instead of mbr; I'm not sure.   Having nothing to work from, couldn't tell you.  But it would be worth a try to see if it'll boot.  You won't have to recreate anything with gpart.  Looks as if your postings are accurate, you'll be able to refer back to them on this thread.

Yea, and if I do that and destroy Arch, then I'll have no OS to try and save Windows with if this fails.

I've used gptdisk to convert from MBR to GPT.  It just creates a table with the same values.  MBR and GPT both use the same LBA numbers.  Remember you still have your  LiveCD.  As far as Arch is concerned, the underlying disklabel doesn't affect it.

Last edited by nomorewindows (2014-05-23 18:36:13)


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

Offline

#46 2014-05-23 18:37:34

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

Re: Success with Arch, Fail with Windows

If you really need to re-install your MBR (thus over-writing the GPT system you have now, which will NOT work with a Bios/GPT combination on any version of Windows) you can look at this page:  http://www.tomshardware.com/news/win7-w … 10036.html

That should give you a step-by-step method to wipe out the GPT MBR and re-instate the original Windows MBR code.  Just be warned that Linux will be un-bootable afterward and you will have to re-install Arch at a later date or get Grub/Syslinux to work on it by chroot-ing into the current linux install (probably too advanced for your level of knowledge at the moment, thus why I recommended a re-install).

Edit: nomorewindows is correct, your Arch install will still be there but "hidden" and you'll have to learn to chroot into it after booting your live-cd if you need to "fix" something else in the future.

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

Offline

#47 2014-05-23 18:38:41

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

Re: Success with Arch, Fail with Windows

There might be a problem with the conversion from GPT to MBR as it looks like you have 6 partitions on the disk and MBR only allows 4 primary partitions if I recall correctly.  This could mean you need to remove your linux partitions and do a clean install limiting yourself to 2 primary partitions for linux.

Offline

#48 2014-05-23 18:39:28

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

Re: Success with Arch, Fail with Windows

loqs wrote:

There might be a problem with the conversion from GPT to MBR as it looks like you have 6 partitions on the disk and MBR only allows 4 primary partitions if I recall correctly.  This could mean you need to remove your linux partitions and do a clean install limiting yourself to 2 primary partitions for linux.

It would convert them over to extended partitions.


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

Offline

#49 2014-05-23 18:42:02

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

Re: Success with Arch, Fail with Windows

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.

Offline

#50 2014-05-23 18:43:18

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

Re: Success with Arch, Fail with Windows

Hey guys, breakthrough news:
I was able to use the installation disk to get into the windows cmd(using shift+f10), and was placed in X:Sources. I used diskpart and found that I have 6 partitions: sda1 is for windows, sda2 is my main windows data, sda3 is the bios boot thing, sda4 - sda6 is linux.

Since I'm now able to get into the windows cmd, is there any new knowledge you may have that I can do to fix it from there?

Offline

Board footer

Powered by FluxBB