You are not logged in.

#1 2014-05-23 04:33:14

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

Success with Arch, Fail with Windows

So I successfully partitioned Linux, and got everything working(internet, drivers, the whole shebang), as a dual boot with windows. However, now when I try to boot into Windows, it gives a /boot/bcd error, saying that I should use an installation disk to repair it. When I try the installation disk, it says that the disk is not compatible with this version of windows.

I know that I partitioned the HHD correctly, and here is the output of lsblk:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk
├─sda1   8:1    0   100M  0 part
├─sda2   8:2    0 752.3G  0 part
├─sda3   8:3    0  1007K  0 part
├─sda4   8:4    0   100G  0 part /home
├─sda5   8:5    0     3G  0 part [SWAP]
└─sda6   8:6    0    50G  0 part /
sdb      8:16   0 232.9G  0 disk
└─sdb1   8:17   0 232.9G  0 part
sr0     11:0    1  1024M  0 rom 

Please help, I have a LOT of extremely important data on Windows, so please reply quickly and accurately. I don't mind if I have to delete Arch to get windows working again, windows is REALLY important, so please help me save it!

Thank you for your help...

Offline

#2 2014-05-23 05:01:32

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

Re: Success with Arch, Fail with Windows

First, welcome to Arch Linux.
Second, you did not tell us which version of Windows you are using.
You did not mention whether you are using BIOS or EFI.  Or secure boot.

Please post the output of sudo fdisk -l /dev/sda so we can see a bit more about the file systems.
Don't panic.  Even if you cannot get into Windows (yet), we can mount the volumes and back up your data.

Now for a scolding:  What the heck are you doing partitioning and building file systems on a disk that is not backed up that contains critical data?


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

Offline

#3 2014-05-23 15:51:40

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

Re: Success with Arch, Fail with Windows

Ok, I'm really sorry that I didn't respond sooner, but I will run those tests, and please reply as quicky as possible!
I'm using Windows 7 Ultimate, dual booted with Arch Linux.
I used by BIOS to boot into the Arch Linux iso cd I created, and then installed it from there, and now I have Grub to boot into things.

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

I thought it would be safe because I already had successfully installed Bactrack 5 R3 into it's own seperate partition. I soon tired of seeing the script kiddy community, so I decided to go to Arch. So, I removed backtrack from the partition(Windows disk managment), so that it was about 179 Gb of free space. I then made sure that windows booted(it did), and then popped in my arch linux cd. I installed arch(no easy task, but this OS is definitely worth it), and then, for reassurance, booted into windows. When I tried(selected to boot from GRUB menu), I got the /boot/BCD error, and when I tried use the installation disk, and go into repair mode so that I can access the cmd(only half-way decent thing about windows, I think), it says that "this version of system installation disk is not compatible with your version of Windows". The problem with that, is that I tested it before I installed Arch, and it worked fine.

Thanks again.

Offline

#4 2014-05-23 16:00:29

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

Re: Success with Arch, Fail with Windows

This sounds more like a Windows problem than an Arch one. You might want to look into methods of repairing the Windows boot sector.

Offline

#5 2014-05-23 16:07:33

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

Re: Success with Arch, Fail with Windows

No, I'm pretty sure it has to do with windows, but the windows forums are all about stuff you did to it in windows, not in arch. And I have a feeling that Arch people are a little more....educated, and a little more....able.

Offline

#6 2014-05-23 16:11:45

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Ok, I'm really sorry that I didn't respond sooner, but I will run those tests, and please reply as quicky as possible!
I'm using Windows 7 Ultimate, dual booted with Arch Linux.
I used by BIOS to boot into the Arch Linux iso cd I created, and then installed it from there, and now I have Grub to boot into things.

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

I thought it would be safe because I already had successfully installed Bactrack 5 R3 into it's own seperate partition. I soon tired of seeing the script kiddy community, so I decided to go to Arch. So, I removed backtrack from the partition(Windows disk managment), so that it was about 179 Gb of free space. I then made sure that windows booted(it did), and then popped in my arch linux cd. I installed arch(no easy task, but this OS is definitely worth it), and then, for reassurance, booted into windows. When I tried(selected to boot from GRUB menu), I got the /boot/BCD error, and when I tried use the installation disk, and go into repair mode so that I can access the cmd(only half-way decent thing about windows, I think), it says that "this version of system installation disk is not compatible with your version of Windows". The problem with that, is that I tested it before I installed Arch, and it worked fine.

Thanks again.

That a guid partition, not an mbr one.  But win7 should be able to boot from that, I think.  Grub has some sort of ability to boot windows with grub bootloader.  You're not using a 64-bit version of Windows installer on a 32-bit Windows?  You can boot from the 64-bit CD to override that.


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

Offline

#7 2014-05-23 16:14:22

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

Re: Success with Arch, Fail with Windows

I am concerned about something here.  That fdisk output looks much different than I would expect.  It does not look like output from the version that is used by Arch.  What is the output of fdisk -V  ?

I would start by installing and configuring ntfs-3g using this guide.  Then, mount /dev/sda2 inside Arch Linux and back up your critical data.
After the data are safe, I would follow this guide on how to configure Grub for dual boot.  I would suggest you use the os-prober technique.  It generally works well.  If you edit by hand, your NTFS volume with all your data and OS are on /dev/sda2.


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

Offline

#8 2014-05-23 16:19:03

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

Re: Success with Arch, Fail with Windows

Doesn't Windows require UEFI to boot from GPT drives? So if the drive had a GPT partitioning as noted by fdisk output, you should have used UEFI to install Archlinux as well.

Did you install Arch using the UEFI+GPT or with BIOS+GPT? If the latter, you might have overwritten the UEFI partition required by Windows.


Forum Rules

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

Offline

#9 2014-05-23 16:19:37

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

Re: Success with Arch, Fail with Windows

nomorewindows wrote:

That a guid partition, not an mbr one.  But win7 should be able to boot from that, I think.  Grub has some sort of ability to boot windows with grub bootloader.  You're not using a 64-bit version of Windows installer on a 32-bit Windows?  You can boot from the 64-bit CD to override that.

Question.  How did you determine that?  I have never used guid / EFI.  Is it because of the fairly large partition at /dev/sda1?   Also, I note he has a boot partition at /dev/sda3.  If the grub were installed as a grub install pointing at /dev/sda3 and this had been an EFI system, I imagine things are pretty hosed.  Is this why fdisk's output looks foreign to me?


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

Offline

#10 2014-05-23 16:21:55

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

Re: Success with Arch, Fail with Windows

ewaller wrote:

I am concerned about something here.  That fdisk output looks much different than I would expect.  It does not look like output from the version that is used by Arch.  What is the output of fdisk -V  ?

I would start by installing and configuring ntfs-3g using this guide.  Then, mount /dev/sda2 inside Arch Linux and back up your critical data.
After the data are safe, I would follow this guide on how to configure Grub for dual boot.  I would suggest you use the os-prober technique.  It generally works well.  If you edit by hand, your NTFS volume with all your data and OS are on /dev/sda2.

fdisk version:
fdisk from util-linux 2.24.1

Grub is already configured for dual boot(I used the os-prober technique btw), what I'm saying, is that when I *select windows from grub menu* it will give the /boot/bcd error, and when I try and insert the *windows 32-bit repair disk* for my 32 bit machine, it tells me that it is not compatible.

Offline

#11 2014-05-23 16:28:23

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

Re: Success with Arch, Fail with Windows

It appears to me that there is a mix of EFI and BIOS volumes here.  I know nothing of EFI, so I will have to defer to others.  Now would be a good time to install ntfs-3g in Arch and backup your data.


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

Offline

#12 2014-05-23 16:31:32

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

Re: Success with Arch, Fail with Windows

Not sure if I have EFI, but maybe this will help?

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
output:
BIOS

Let me get this straight, I just download that program, and select which partition I want, and which folder, and those files will be placed directly in Linux?

Last edited by FrigidDev (2014-05-23 16:32:05)

Offline

#13 2014-05-23 16:38:47

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

...
Let me get this straight, I just download that program, and select which partition I want, and which folder, and those files will be placed directly in Linux?

Huh?

ntfs-3g only allows you to read/write on partitions which have NTFS filesystem through the Linux environment. You will still need to "copy/paste" the files from your Windows drives to an external drive or wherever else you want to back it up to.


Forum Rules

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

Offline

#14 2014-05-23 16:40:54

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

Re: Success with Arch, Fail with Windows

Inxsible wrote:
FrigidDev wrote:

...
Let me get this straight, I just download that program, and select which partition I want, and which folder, and those files will be placed directly in Linux?

Huh?

ntfs-3g only allows you to read/write on partitions which have NTFS filesystem through the Linux environment. You will still need to "copy/paste" the files from your Windows drives to an external drive or wherever else you want to back it up to.

Ok, that makes sense.

Offline

#15 2014-05-23 16:41:32

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Let me get this straight, I just download that program, and select which partition I want, and which folder, and those files will be placed directly in Linux?

No.   Installing NTFS-3g will install a kernel module that will allow you to mount NTFS partitions.  You use these partitions  the same way as any other partition with other file systems such as ext, Reiser, jfs, etc...

Once ntfs-3g is installed, you mount your NTFS partition with the mount command to a mount point of your choice.  Then, back up your data using your favorite user space tool -- rsync, cp, Thunar, Nautilus, Dolphin, mc, etc...

Edit: Posted too late.

Last edited by ewaller (2014-05-23 16:42:19)


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

Offline

#16 2014-05-23 16:43:20

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

Re: Success with Arch, Fail with Windows

ewaller wrote:
FrigidDev wrote:

Let me get this straight, I just download that program, and select which partition I want, and which folder, and those files will be placed directly in Linux?

No.   Installing NTFS-3g will install a kernel module that will allow you to mount NTFS partitions.  You use these partitions  the same way as any other partition with other file systems such as ext, Reiser, jfs, etc...

Once ntfs-3g is installed, you mount your NTFS partition with the mount command to a mount point of your choice.  Then, back up your data using your favorite user space tool -- rsync, cp, Thunar, Nautilus, Dolphin, mc, etc...

Edit: Posted too late.

Would a USB work?

Offline

#17 2014-05-23 16:45:52

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

Re: Success with Arch, Fail with Windows

Also, Windows only supports GPT disks for the boot drive when it is running under and installed as a UEFI system.  The boot drive can only be GPT then.  Data drives can still be GPT under a BIOS system, but not the boot drive.  Under a BIOS system the boot drive must be MBR, NOT GPT.

Edit: Under Linux however, a boot drive may be GPT even under BIOS systems.

Last edited by headkase (2014-05-23 16:47:20)

Offline

#18 2014-05-23 16:49:03

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

Would a USB work?

Sure.  It gets mounted too.  Then you copy files from the directory structure under the mount point for your Windows partition to the directory structure under the mount point for the USB drive.  Extra bonus points:  The USB may be a NTFS drive too -- if so, it need ntfs-3g also (which you have already installed)


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

Offline

#19 2014-05-23 16:52:52

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

Re: Success with Arch, Fail with Windows

I was wondering, can't you just create a new partition for windows to boot into, and then set it as UEFI or MBR or whatever?

Offline

#20 2014-05-23 17:00:18

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

Re: Success with Arch, Fail with Windows

ewaller, successfully mounted windows.
New problem, I have about 280 Gb of data, and a 16 Gb Usb. However, I should be able to fit the important stuff, just not Crysis 16. haha

Offline

#21 2014-05-23 17:03:47

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

Re: Success with Arch, Fail with Windows

ewaller wrote:
nomorewindows wrote:

That a guid partition, not an mbr one.  But win7 should be able to boot from that, I think.  Grub has some sort of ability to boot windows with grub bootloader.  You're not using a 64-bit version of Windows installer on a 32-bit Windows?  You can boot from the 64-bit CD to override that.

Question.  How did you determine that?  I have never used guid / EFI.  Is it because of the fairly large partition at /dev/sda1?   Also, I note he has a boot partition at /dev/sda3.  If the grub were installed as a grub install pointing at /dev/sda3 and this had been an EFI system, I imagine things are pretty hosed.  Is this why fdisk's output looks foreign to me?

Look at the

disklabel type: gpt

.
Usually if you are actually using a MBR table with 0xee it is a protective MBR, with a GPT table.
Since I have no more windows on my main box, I converted over to gpt, and dual boot with FreeBSD which also recognizes GPT.  It was a tossup with OpenBSD which I no longer use,  because of it's lack of GPT support (yet).

Last edited by nomorewindows (2014-05-23 17:07:14)


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

Offline

#22 2014-05-23 17:36:04

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

Re: Success with Arch, Fail with Windows

I need to know this:
If I do a fresh reinstall of Windows, will it be able to boot?

Offline

#23 2014-05-23 17:40:41

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:

I need to know this:
If I do a fresh reinstall of Windows, will it be able to boot?

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


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

Offline

#24 2014-05-23 17:42:26

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

Re: Success with Arch, Fail with Windows

nomorewindows wrote:
FrigidDev wrote:

I need to know this:
If I do a fresh reinstall of Windows, will it be able to boot?

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.

Offline

#25 2014-05-23 17:51:15

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

Re: Success with Arch, Fail with Windows

FrigidDev wrote:
nomorewindows wrote:
FrigidDev wrote:

I need to know this:
If I do a fresh reinstall of Windows, will it be able to boot?

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.

Offline

Board footer

Powered by FluxBB