You are not logged in.
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
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
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
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
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
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-DA1BBB621D7BDevice 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 filesystemI 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
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
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
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
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
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
...
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.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
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
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
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
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
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
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
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
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
I need to know this:
If I do a fresh reinstall of Windows, will it be able to boot?
Offline
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
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
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