Migrate Linux server to Windows - linux

apologies for vague description but essentially I have a Linux box (Ubuntu) which has three drives. The first drive is formatted with a Linux format (I'm not sure which one but probably irrelevant) and the second and third drives are NTFS as they have been shares on a windows network.
Can I just reformat the first drive to NTFS and install windows? Would I expect windows to see drives 2 and 3 as they are already NTFS drives?
Thanks

Backup/Image your system before doing any changes, if the system is critical.
Yes, begin Windows installation process. There will be a point in the installation where you will be asked to select the drive/partition on which Windows should be installed. Your first drive will be listed. You can wipe it off and choose the entire drive for Windows. Default NTFS will be created for you.
If you have trouble, create gparted live CD and boot system with it. It will allow you to wipe off the first drive. Then install Windows on that drive.
Yes, Windows will see drive 2 and 3.
Also, you will get some nice help on https://serverfault.com/ if there are complications with disk setup (RAID/LVM etc.).

Related

Is there a manual way to roll back an Update on Windows 10?

Long story short, windows 10 is utterly broken on my laptop after it automatically installed some updates. It's now stuck in a loop which always ends up saying "Undoing changes made to your computer"
I can't get into the BIOS.
I can't get into the Windows Recovery Environment.
Been talking to MS support for far too long so far, so I'm wondering if it's possible to add it as a secondary disk drive to another machine that does work, and manually remove any updates that were installed directly through the filesystem?
The only solution MS were willing to offer was to format the whole drive and re-install windows.
When I moved the HDD into a working windows 7 machine it actually prompted a chkdsk to run over the disk.
It found a whole load of orphaned files, not sure if that was really the cause, but after backing up as many files as I had access to, I put the drive back into the other machine and now it boots.
tl;dr, chkdsk fixed it.
I was stuck in this loop last night
machine configuration : Dell Inspiron
windows 10 (original)
What the one thing you can do is to use an application name Dell usb recovery tool. You will have to format you whole computer be it c:// or any other. You will need an extra hard drive to make a backup.
the process goes like this.
You will have to install the above application on other computer and open it and fill your service tag and make that pen drive bootable with that application.
Now plug in that pen drive to the laptop.
Go for troubleshoot.
Repair.
Install new original os.
It will ask for backup make a backup to other HDD.
Install and recover your backup.

Kali Linux and Windows in the same partition on C Drive

I have a very serious problem, I have installed Kali and Windows in the same partition dual-boot, So I want to delete Kali so what I have to do, should I make back up for windows then format the c Drive and how to fix the dual-boot problem, And I Don't have that experience in Kali I'm just new on that filed.
Thank you.
Wrong site but I'll answer while I took the time to tell you the question was asked on the wrong site.
You don't have Kali -- which is Debian Linux -- and Windows on the same partition. You have them on the same drive perhaps; but not on the same partition.
Open Computer Management -> Go to Disk Management.
For the partition which is NOT your Windows stuff, right click on it choose Delete Volume.
Insert your Windows recovery disk. If you don't have one, the install disk will work but you many need to perform some extra steps (Google will be your friend) than these:
3a. Boot from the disk.
3b. Select Repair Your Computer.
3c. Select Troubleshoot.
3d. Select the option for Command Prompt if one doesn't come up.
4d. Type: bootrec /fixmbr.
That will clobber the Linux information in the boot sector and allow you go directly into Windows when your box reboots.
I recommend running chkdsk c: /b /v /r /f and defrag c: /v /f afterwards as well.
HTH.

Install software on Windows from Linux live usb

I'm a (noob) administrator of a little network. For business purpose I have some Windows 7 PCs and a 2008 Server.
While doing the setup, something has come to my mind: is it possible for a user without high privileges to install some kind of software using a live usb?
Ok, it's possible to reset admin password, manage partitions, etc. but can someone do that without change admin settings? just putting software in admin's (or else) directory and editing the windows register?
Thanks!
I would say: Yes. If someone manages to boot the machine from a live usb-stick, cd, dvd or whatever, he can:
Mount the disk with the windows-installation.
Read and Write to that disk.
Install software on that disk: Installing software is not much more than copying files from one place to another.
Possibly modify the registry: The registry must also be stored somewhere on the disc. If the user can access that file, he can modify it and therefore modify the registry (its another question if this are valid manipulations).
You can prevent access to the harddisk by using Windows 7 BitLocker.
It is not possible to mount the drive from a live system when it is activated:
Here is a guide how to do this:
BitLocker Guide

does the memory space of windows and linux overlap for some folders when both operating systems are installed?

I have both linux and windows installed on my pc. when I make some programs in lex and yacc (when working on linux)and store all the files in a folder ,they are corrupted If I use windows for some time. for example 3 days back after storing all the files( xyz.l , a.out ) I switched to windows for some other work after rebooting my pc. after 3 days when I again open that folder(while using linux) a.out was converted into an image and when I double clicked on it, an image opened. the image was same which I downloaded 2 days back while working on windows but I stored in some other folder. so does the memory space used for storage for linux and windows overlap? if not what could be the reasons? It has happened 2 times. and really I have to recode all my programs . I am not able to understand why?
It is not supposed to overlap.This sounds like a configuration problem , where windows and linux are configured to mount the same partition.
Check the file /etc/fstab (under linux) and find out whether this is true.You can try making files in various places and observe if they can be found on the other os.
I don't know how your partitioning looks like, but I guess that it is set up in a way that both OS have read/write access to all partitions, or at least windows has read/write access to the Linux partition.
Is your linux partition a FAT32 partition? You should set it to read only in windows, but I'm not sure how to do this.
Do you use hibernate on the windows side? Windows can get confused if data changes while it is asleep, and this might be the cause of the problems.

Converting FILES to NTFS

I did something wrong with my dual-OS PC (XP Pro and Ubuntu) and it now only works when booting from an Ubuntu Live CD (8.04 LTS).
I am backing up my data to an external HDD for reinstalling everying. I am not worried about the Linux part of my data because the external HDD is formatted in ext3, the file system Ubuntu operates on.
But what about the Windows part of my data? Does Linux (the live CD) properly copy NTFS files into an ext3 HDD? And then does Linux (this time, the newly installed Linux system on PC) properly copy them back to the NTFS partition?
I know I am asking a very simple question. I am sorry if I appear to ask someone to do my homework but I cannot experiment myself now.
Thanks you all in advance!
Edit:
Is it perhaps better to format the external HDD in fat32?
As amemus said, fat32 would be better for the external HDD. Even though it's Microsoft, fat32 is still, by far, the most supported HDD format.
That said, what you said SHOULD work, given you use a new-ish distro of linux with new packages.
Ubuntu 8.04 is very old these days, but I believe it had good support for NTFS read (using the old ntfs driver). It will correctly copy your Windows files to the ext3 external hard drive, plus or minus some attributes/permissions which have no equivalent in ext3.
Newer Ubuntu releases have full NTFS read/write support via the ntfs-3g driver which I have found to work very well.
Sidenote: I have found NTFS is a reasonably good filesystem for external hard drives - it works well for Windows and recent Linux computers, and it's technically superior to FAT32. The only issue is if you have to interact with Apple OSX, which still doesn't understand NTFS. (You can make OSX understand NTFS with a liberal application of FUSE and ntfs-3g, but it's not nice.)
Note: This is probably the wrong Stack Exchange - StackOverflow is for programming questions. Maybe the Ubuntu stackexchange would have been better?
Ubuntu shouldn't have a problem reading from NTFS.
Writing to NTFS used to be very difficult, but its gotten a lot better (a simple google search turns up lots of results)
As long as you aren't working with large (~4GB) files, FAT32 will be easier to work with across lots of different platforms.

Resources