How To Boot From Cd Windows Xp

0 views
Skip to first unread message

Avice

unread,
Aug 4, 2024, 2:31:18 PM8/4/24
to tricmasschamisp
Thistopic covers how to manually create a Windows installation flash drive from Windows installation ISO disc image file or DVD, and is intended for manufacturers looking into creating media that they can use to manufacture Windows devices.

The steps described on this page assume you have Windows installation media and access to a Windows technician PC. If you're looking for an easy, automated way to create a bootable Windows installation flash drive, see:


If the computer boots into Ubuntu automatically without showing the GRUB menu at all, sometimes you can press the manufacturer's BIOS/UEFI key at boot time and while in UEFI or BIOS mode from the firmware menus select the operating system you need. Common keys used are Esc, Delete, F1, F2, F10, F11, or F12. On tablets, common buttons are Volume up or Volume down. During startup, there's often a screen that mentions the key. If there's not one, or if the screen goes by too fast to see it, check your manufacturer's website.*


If this doesn't work when the GRUB menu does not appear at boot time, immediately after the motherboard / computer manufacturer logo splash screen appears when the computer is booting, with BIOS, quickly press and hold the Shift key, which will bring up a GNU GRUB menu screen. With UEFI press (perhaps several times) the Esc key to get to the GNU GRUB menu screen. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GNU GRUB menu screen, and then pressing Shift is unnecessary.


Open the Boot Repair application and select Advanced Options -> Other Options tab -> Repair Windows boot files. The boot flag should be placed on the same partition on which Ubuntu is installed. The partition on which Ubuntu is installed can be identified from the Disks application which is built-in in Ubuntu.


Rescatux is a free bootable live CD/USB that can repair GRUB and the Windows bootloader. Rescatux has a graphical interface with a menu of operating system rescue tasks. If your hard disk has the MBR partitioning format, you can select the Restore Windows MBR (BETA) option to repair the Windows bootloader. If your computer has UEFI firmware, you can select among the UEFI boot options.


Insert a USB flash drive and check if the boot flag has been enabled on the flash drive using the GParted application. Unmount the USB flash drive. Open GParted and select the USB flash drive from the menu list of drives. From the GParted menu select: Partition -> Manage Flags -> check boot.


It is very important to verify that the device that you are installing the Rescatux live USB to is indeed your flash drive, so that you don't overwrite any of your system or personal files which may make your operating system unbootable. In Ubuntu you can find the device name of the flash drive using the Disks application.


On the pinned apps section on the left side of the Start menu, locate the Settings app. It's typically represented by a gear icon. Click the Settings app to open the Windows Settings app. You can also select the Settings app from the app list. Under Settings, click Update & Security to continue.


At this point, you have two options. You can either choose to keep your personal files and only remove downloaded apps and settings, or you can wipe everything and start from scratch. Each choice will also give you an additional setting to change.


If you choose Keep my files, apps and settings will default to what they were when the PC was brand new. This setting can be turned off by clicking the Change settings link and switching it off. If you choose Remove everything, there's also a way to remove your personal files while saving apps and settings. Click the Change settings link and toggle the Data erasure option to on.


Once you decide what should be removed from the computer, hit Next and Windows will tell you what will be deleted before you make a final decision. If you selected Keep my files, you can look at a list of apps that will be removed with the reset.


Finally, click Reset to actually commit. Your computer will restart, and after several minutes, it will boot back up again. When you return to Windows, you'll see that whatever you selected to be removed has been wiped from the machine. If you backed up your files, they can now be restored to the machine.


Reboot and you should see an entry titled "Windows (UEFI)" and if you select it then Windows should boot. If that does not work, please run boot info script ( ) and post the RESULTS.txt that it produces so that I have the information needed to give you proper advice.


If the OSs were installed in different modes, dual booting Windows and Ubuntu can't work. If your Windows is installed in BIOS mode, it is recommended to install your Ubuntu in BIOS mode, but if it's installed in UEFI mode, then do the same with Ubuntu. The easiest way to find out if you are running UEFI or BIOS is to look for a folder named /sys/firmware/efi. The folder will be missing if your system is using BIOS.


If you have installed Ubuntu in legacy mode on the same drive with GPT partitioning, you can use Boot Repair's Advanced options to uninstall grub-pc and install grub-efi-amd64. That converts the Ubuntu installation from BIOS boot to UEFI boot, the same firmware as most recently manufactured laptops with Windows pre-installed have.


Set up your BIOS so that it boots the hard drive in UEFI mode. The way to adjust this setting depends on the specific model of the computer, but generally this setting is located in the boot priority settings under the Boot tab of the BIOS/UEFI setup utility.


The already installed Windows OS wasn't detected when you installed Ubuntu. os-prober from the default Ubuntu repositories detects other OSs available on a system and outputs the results in the terminal. If os-prober doesn't work, check if the command sudo fdisk -l is able to find the Windows partition.


Make sure you boot in UEFI mode. Use sudo efibootmgr -t nn to utilize your EFI's menu. You can choose Windows Boot Manager or ubuntu (GRUB).

NOTICE: Windows will erase GRUB installation at its own EFI system partition each time BOOTMGR is updated.


If you are using Bitlocker, you probably made some changes to the partitions right before installing Ubuntu (like freeing up unallocacted space for the Ubuntu installation), then you may get that problem because GRUB cannot deal with the security prompt that appears when starting windows that asks you for the bitlocker recovery key.


I had almost the same problem after installing Ubuntu 16.04.02 alongside Windows 7. Ubuntu would start fine, but after choosing the Windows 7 loader from GRUB, the screen would show some strange pattern of regular multicolored skewed lines and stay stuck there until the processor fan would turn on and hot and I decided to shut down the computer to avoid damage.


Salvation came from using Hiren's Boot CD and using the Boot Windows 7 option in the main menu therein, which allowed me to get to the prompt for the bitlocker recovery key, enter the key, suspend and resume bitlocker in my windows session, and use my dual boot system as intended afterwards.


Some secure boot machines cannot seem to boot Windows from grub.A workaround is to provide a different set of EFI files for each type of boot, putting the second set for Ubuntu on a USB stick, and leaving the EFI files on the hard disk for Windows.


You have a working Ubuntu set of EFI files already on the hard disk, so take a (small) USB stick (empty, as you will lose all dataon it), put a GPT partition table on it, and make a 250M partition forthe EFI files. Copy the hard disk's EFI files to the stick. They willappear in the /boot/efi directory, under the directory EFI.


Take the EFIdirectory and all its contents, and put it on the USB partition.I'd suggest editing the stick version of EFI/ubuntu/grub.cfg to changethe name of the menu item "Ubuntu" to "Ubuntu on USB" or something tomake it obvious which set of files you are booting with.


Nowtry booting from the USB, and see if you get the altered menu item,and that it works. When the USB boot is working, you may simply goto /boot/efi/EFI/Boot, which should be the hard disk's EFI partition, andit should contain copies (possibly with different names) of the Ubuntuversions of the boot files, which should also be in /boot/efi/EFI/ubuntu.

Use md5sum to confirm that you have copies of all files which are in /boot/efi/EFI/Boot, because you are going to delete them! Copy andrename the file /boot/efi/EFI/Microsoft/bootxmgfw.efi to /boot/efi/EFI/Boot/bootx64.efiand you should be able to boot windows from the hard disk again -- removethe stick and try the Windows boot.


When you update the kernel, and get a new grub.cfg generated on the hard disk (unused, since the hard disk boots only Windows), you will have tocopy it yourself to the USB stick's EFI/ubuntu/grub.cfg.


If the /boot/efi partition or the MSR partition has been damaged or deleted during the Ubuntu installation, you might not be able to see Windows in grub. Try the following command in Ubuntu to show all the available partitions:


I had a similar problem. After changing order of boot in bios, it booted on Windows but only on safe mode. To solve that I did Windows+R->msconfig->boot:normal. And everything was solved. Hope this can help.


Insert your Windows installation DVD/USB and boot from it. Choose your language and click Next. When prompted to Install now just look left down to that window and click Repair your computer. Wait and a new window will pop up with the operating systems installed in your PC. Click on Windows 7/8/10 and click Next. In the next window click Command prompt. When the command prompt appears type this:


After that you will no longer have the option to choose between operating systems to boot on startup. You will have to repair grub. You can do that with an Ubuntu live DVD/USB. The easy way is after repairing the Windows bootloader, format the Ubuntu partition(s) and reinstall Ubuntu. To repair grub after repairing the Windows bootloader, try this.

3a8082e126
Reply all
Reply to author
Forward
0 new messages