You are not logged in.
So I have (had) dual boot Windows 7 and Arch. It all worked great for a couple of days now. Last night I was on Windows playing some games, switched to Arch later, used it, turned the computer off. Today I logged in to Arch first, enjoyed it a lot and went to play a game in Windows.
When I chose Windows from GRUB, it all of a sudden said "No such device".
I've had a problem with Windows boot earlier so I put in my Windows 7 CD to try and repair it. Went in console and reloaded the Windows boot. But now I think I did something even worse.
Now there's no Arch either. When I put in GParted live CD, all i shows is my HDD with completely unallocated space. What the hell happened?
Can I save it? And why did it come to this in the first place when it worked fine for a couple of days and I didn't touch anything involving boot?
UPDATE: I've managed to reinstall GRUB. GParted thing was a misinformation that nearly gave me a heart attack. Now I have an idea how to fix Windows. I need to specifically restore boot to Windows only, not to replace the entire GRUB.
Last edited by JasonHockeyPuck (2016-05-28 13:58:19)
Offline
When you reinstall windows boot record from windows cd, then you will not be able to see the Linux partition.
Then you have to run the arch cd and run again the grub configs.
Is your hdd healthy?
You don't give us any information of your system , like grub.cfg and disk partitions. If you want more help, please give us some details.
Offline
My HDD is healthy because I'm browsing it without a problem, even Windows partition from Arch.
I've been struggling with this for hours now. I simply can't restore the boot to Windows, and I've tried a million techniques using Windows 7 CD for repair and command prompt.
This doesn't seem to be a Linux problem anymore. I think I must have done this when I expanded my D:\ partition yesterday on some unallocated space (which had nothing to do with my C:\)
One thing comes to mind now, since I can browse my Windows partition from Arch without a problem, is it possible to manually copy/paste boot file inside?
Offline
Offline
You might need BCD editor or just use it to clear the BCD information and have it start over.
Then go back into repair from the CD. Eventually, it'll figure itself out. Times I've done it, was kind of guess work.
Last edited by nomorewindows (2016-05-28 16:55:21)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I gave up and now I'm reinstalling Windows. Weird thing was, while selecting partitions for Windows, the original one where the Windows were was not there at all. Like I was about 250 GB short on my HDD.
Used GParted to wipe it all clean and now I don't even have my Arch again. I'm scared to install it again because this happened when I didn't even do anything. Who's to say it won't happen again?
Edit.
On second thought, I'm fairly sure it was a free disk partitioning wizard I installed on Windows, unrelated to Arch. I saw some unallocated space left over from a previous Ubuntu installation and I went to expand my second partition to use that space. During that process it said "Could not... C:\ is in use" and I was puzzled why anyone is mentioning C:\ when it had nothing to do with it. It probably changed something that took effect after I rebooted my PC.
I'll assume this happened so I can safely install Arch again. I really enjoyed it.
Last edited by JasonHockeyPuck (2016-05-28 19:06:33)
Offline
Or to make it easy, you could restrain Windows to a VirtualBox session under Arch!
Dual booting is kinda necessary/kinda annoying, because virtualization doesn't always run at full speed.
Windows Install/Repair doesn't always do what you expect it to do.
Last edited by nomorewindows (2016-05-28 22:57:50)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I need Windows to play games properly. Even those games with Linux support don't run that nicely. AMD and all that.
OK, so I've reinstalled Arch, but now I'm afraid to even mount my Windows partition to listen to music from it and stuff like that.
Is it in any way possible I could ruin Windows just by mounting the partition to read it from Arch?
(I hope you don't consider this a bump, this is a new concern related to the topic)
Last edited by JasonHockeyPuck (2016-05-29 19:16:07)
Offline
I need Windows to play games properly. Even those games with Linux support don't run that nicely. AMD and all that.
OK, so I've reinstalled Arch, but now I'm afraid to even mount my Windows partition to listen to music from it and stuff like that.
Is it in any way possible I could ruin Windows just by mounting the partition to read it from Arch?
(I hope you don't consider this a bump, this is a new concern related to the topic)
Fair point is that linux sees OSes w/out emotional prejudgement and stuff, whether they're WinNT or *nix based.
Replacing ntfs-3g rw with ntfs-3g ro in /etc/fstab is an appropriate step to ensure read-only operations on Windows partition.
blitz@inode ~ % cat /etc/fstab
# /dev/sda5 LABEL=Arch
UUID=765808fc-e96d-41a8-9ae3-14d5fbe45446 / f2fs rw,noatime,background_gc=on,inline_data,active_logs=6 0 0
...
# Windows Users
UUID=B4069F43069F0610 /home/blitz/Users ntfs-3g rw,nosuid,nodev,noatime,nodiratime,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,async,big_writes 0 0Offline
I don't think mounting Windows would ruin it, but to be sure you can separate your data and os (that's how I do it on my dual-boot).
Make a separate NTFS partition, you can change in Windows settings to put your documents and music there.
And then mount the partition to your Linux home folder or so, and your Windows is safe.
I do suggest to keep an Arch installation usb (and maybe a Windows one too) at hand, Windows has a tendency to ruin the bootloader.
Offline
My /etc/fstab only shows sda3 (Linux), doesn't show Windows. Would simply right clicking on the device and under permission setting "Read only" suffice?
Last edited by JasonHockeyPuck (2016-05-30 14:22:23)
Offline
You are way overthinking this. On what kind of identifier have you let grub create the windows entry? Chances are it tried to use something unstable like hd0,0 or similar which changed to hd1,0 on reboot by virtue of these not being stable identifiers (always fun, having a bootable USB stick plugged in will shift those values depending on where in the BIOS order it was set). Next time this happens, edit the Windows Entry with e and play with the hd values, or ensure you are using UUIDs. I've never had ntfs-3g corrupt a Windows partition YMMV, it usually detects if the partition has been in an unclean state and will mount ro automatically. If you want to be certain that the disk gets mounted read-only mount it with the mount command and the ro option appended (I don't know how a filesystem property change to readonly in *unkownDEandfilemanager* would affect the filesystem, it might work, but don't take my word for it)
Last edited by V1del (2016-05-30 14:41:16)
Offline
Yea, I'm probably being too paranoid. Especially since the most likely perpetrator is the partitioning wizard I installed from who knows where.
Offline
Your partitions are visible through 'lsblk'. /etc/fstab only contains information about which partition to mount at boot. You can edit it there.
Always use UUID's for these things, it's just copy-paste and can spare you a lot of trouble.
For partitioning stuff: just use gparted (or the live cd), it's easy and reliable and works with Windows partitions too.
Offline
I lost the track here...
Did you install Windows? On which partition? Can you boot on Windows?
You don't give us any information of your disk partitions.
Does Linux is functional? Did you set grub to see your Windows system?
Offline
If your setup is uefi and you happen to have a secure boot, check out this article, it is for Fedora but pointed out the issue to me.
http://twomorecents.com/cant-boot-linux … aken-over/
Offline
That is a dirty hack and will likely prevent Windows from updating properly.
The correct fix is in the ArchWiki (what a surprise):
https://wiki.archlinux.org/index.php/Un … boot_order![]()
Jin, Jîyan, Azadî
Offline