How Can I Boot Windows 7 That Is Already Installed on a Hard Drive on a UEFI System

From what I've read, Windows 7 runs off BIOS and my system uses UEFI.On, no and yes, mostly no.You cannot swap between those. Installing in MBR mode and then moving to an EFI setup will not work. Neither the other way around. Use whatever settings you used for the old setup.

Note that many modern EFO firmwares support a legacy mode. This is likely what you enabled when you selected the Legacy only in the EFI.A second no because moveing an installed windows OS from one computer to another is not likely to work if the hardware is different. Windows tries (and is) smart about hardware and does some smart things in order to boot fast. But that also ties it to some hardware. This comes down to:Option 2 is likely to be accompagnied with needing to activate windows again (and hopefully you bought a full license in a shop for a windows version which allowsyou to install it on another computer. Moving the license from the Lenono setup is likely not allowed if it is a Lenovo OEM license).

And maybe to late for this time, but for completeness sake: It is possible to move windows between hardware. Usually this is started with sysprep which cleans out old drivers, sets compatability drivers etc. That is not an option unless your old system is still running since you need to do that before moving the disk.

I recently purchased aLenovomini tower server. I have an old system that died on me. The motherboard seems to have gone out. I wanted to try to add the hard drive to my new tower and boot from it. The thing is it runs off of Windows 7. From what I've read, Windows 7 runs off BIOS and my system uses UEFI.

I've selected the Legacy Only option and I've tired identifying the hard drive as the boot device, but it only barely gets to the starting windows screen before it restarts.

I think I'm woefully out of my league, but any advice on how I might be able to get this working would be appreciated. Thanks!

HOT PRODUCTS
GET IN TOUCH WITH US
recommended articles
related-blogs Blog
Kernel Does Not Skip Bad Blocks When Mounting Filesystem
We've figured out that the problem is with squashfs itself. It has no support for bad block detection, as stated here: the possible solution is to use another filesystem or use UBI to manage the bad blocks and then keep using squashfs.I am developing for an embedded Linux application using friendlyARM's micro2440.It runs on a Samsung s3c2440 ARM processor and uses squashfs in its NAND flash.Recently, some flash blocks went bad. u-Boot correctly finds them and creates a bad block table with the offsets given by the nand bad command:Device 0 bad blocks:013400000abc00000f0800000ff800000ffa00000ffc00000ffe0000When I try to boot the kernel, it correctly scans the bad blocks and creates its bad block table, as seen in the following messages:Scanning device for bad blocksBad eraseblock 154 at 0x000001340000Bad eraseblock 1374 at 0x00000abc0000Bad eraseblock 1924 at 0x00000f080000But when it comes the time for the kernel to mount the filesystem in the partition where the bad block at 0x000001340000 happens, it seems unable to skip the bad blocks and then it panics. The error messages given were:SQUASHFS error: squashfs_read_data failed to read block 0xd0e24bSQUASHFS error: Unable to read metadata cache entry [d0e24b]SQUASHFS error: Unable to read inode 0x3d1d0f68------------[ cut here ]------------WARNING: at fs/inode.c:712 unlock_new_inode0x20/0x3c()Modules linked in:[] (unwind_backtrace0x0/0xcc) from [] (warn_slowpath_null0x34/0x4c)[] (warn_slowpath_null0x34/0x4c) from [] (unlock_new_inode0x20/0x3c)[] (unlock_new_inode0x20/0x3c) from [] (iget_failed0x14/0x20)[] (iget_failed0x14/0x20) from [] (squashfs_fill_super0x3c8/0x508)[] (squashfs_fill_super0x3c8/0x508) from [] (get_sb_bdev0x110/0x16c)[] (get_sb_bdev0x110/0x16c) from [] (squashfs_get_sb0x18/0x20)[] (squashfs_get_sb0x18/0x20) from [] (vfs_kern_mount0x44/0xd8)[] (vfs_kern_mount0x44/0xd8) from [] (do_kern_mount0x34/0xe0)[] (do_kern_mount0x34/0xe0) from [] (do_mount0x5d8/0x658)[] (do_mount0x5d8/0x658) from [] (sys_mount0x84/0xc4)[] (sys_mount0x84/0xc4) from [] (mount_block_root0xe4/0x20c)[] (mount_block_root0xe4/0x20c) from [] (prepare_namespace0x160/0x1c0)[] (prepare_namespace0x160/0x1c0) from [] (kernel_init0xd8/0x104)[] (kernel_init0xd8/0x104) from [] (kernel_thread_exit0x0/0x8)---[ end trace c21b44698de8995c ]---VFS: Cannot open root device "mtdblock5" or unknown-block(31,5)Please append a correct "root" boot option; here are the available partitions:1f00 256 mtdblock0 (driver?)1f01 128 mtdblock1 (driver?)1f02 640 mtdblock2 (driver?)1f03 5120 mtdblock3 (driver?)1f04 5120 mtdblock4 (driver?)1f05 40960 mtdblock5 (driver?)1f06 40960 mtdblock6 (driver?)1f07 167936 mtdblock7 (driver?)1f08 1024 mtdblock8 (driver?)Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)[] (unwind_backtrace0x0/0xcc) from [] (panic0x3c/0x114)[] (panic0x3c/0x114) from [] (mount_block_root0x1c8/0x20c)[] (mount_block_root0x1c8/0x20c) from [] (prepare_namespace0x160/0x1c0)[] (prepare_namespace0x160/0x1c0) from [] (kernel_init0xd8/0x104)[] (kernel_init0xd8/0x104) from [] (kernel_thread_exit0x0/0x8)I tried mounting the filesystem in mtdblock6 partition and everywhing worked as expected, as there are no badblocks in that part of the memory.I investigated the mtd source files responsible for the bad block management, but I couldn't find something useful about how the kernel skips the bad blocks.
From GRUB2, Boot an ISO in an LVM2 Logical Volume
Inspired by this simple solution for Ubuntu, I used the following, which works for loading a Fedora 27 KDE iso and a Ubuntu 17.10 iso.I just appended the following lines in the file /etc/grub.d/40_customThe line that begins with search has a strange alphanumerical variable (a so called UUID) at the end, that begins with 6340. I got this number from the command which gave me, along others, the following lineThen, another important thing if you want to boot other iso files, are the lines that begin with linux and initrd. I got them by opening the iso file with file-roller (gui for extracting compressed archives) or mc (console file manager).Fedora and similar: There you go to the directory /isolinux, where you will find a file called isolinux.cfg. There I found some lines beginning with label, and below them the following important lineswhich you will use to fill the last two lines of my grub2 menuentry.Ubuntu and similar: There you go to the directory /boot/grub, where you will find a file called grub.cfg. Here you will find some lines beginning with menuentry, and below them the following important lineswhich you can just copy.tl;dr - Is it possible to boot from a .iso file that is located in an unencrypted lmv2 logical volume? How?I'm trying to set this up in a VirtualBox VM before I do it for real with my laptop. I have the following set up:4 gpt partitionsgpt1 - 2M ef02 bios bootgpt2 - 5G unencrypted non-lvm, for misc data,iso's, etc.gpt3 - 5G unencrypted lvm, for /boot,iso's, etc.gpt4 - remaining, lvm, encrypted with dm-crypt/luks, for root,swap,home,etc.in gpt2, I have copies of current Arch and Xubuntu iso'sin gpt3, I have an lvm2 lv with the same copies of the same iso'sI have the following working:in gpt4, functioning installs of Arch and Xubuntu (and would like to add other distro's in other logical volumes at some point)grub2 installed from Arch on /dev/sdausing grub2's configfile command, can switch and boot from both distro's grub2 menu'scan boot iso's from grub menu from non-lvm gpt2What I would like to do is boot from the iso's in gpt3 lvm (and ultimately, not even have the non-lvm gpt2 partition at all).My grub entry is:menuentry "Xubuntu ISO" set isofile"xubuntu-12.04.1-desktop-amd64.iso" # from non-lvm loopback loop (hd0,gpt2)$isofile # from lvm #loopback loop (vgboot-iso)$isofile linux (loop)/casper/vmlinuz bootcasper iso-scan/filename$isofile noprompt noeject initrd (loop)/casper/initrd.lzThe 2 loopback lines point to 2 different copies of the same iso.I've verified at the grub command line that both loopback lines work.When booting from the iso in the non-lvm partition, everything works fine.When booting from the iso in the lvm partition, the boot starts, and eventually gets this error:(initramfs) /scripts/casper-premount/20iso_scan: line 46: can't open /dev/sr0: No medium foundFor the arch entry:menuentry "Arch ISO" set isofile"archlinux-2012.09.07-dual.iso" loopback loop (hd0,gpt2)$isofile #loopback loop (vgboot-iso)$isofile linux (loop)/arch/boot/x86_64/vmlinuz archisolabelARCH_201209 img_dev/dev/sda2 img_loop$isofile earlymodulesloop initrd (loop)/arch/boot/x86_64/archiso.imgbooting from gpt2 iso works, but I don't know what to change the "dev/sda2" to for lvm boot.EDIT: Can this be done? For any current Linux distro's official .iso file? Fedora? Debian? openSUSE? CentOS?Is this impossible? Or is it something no one has thought to try before?EDIT2: My bounty has long since expired, and after 9 months, I'm assuming this is simply not possible with any Linux distro. I'll leave the question open, but I'm doubtful there will be a working solution anytime in the near future.·OTHER ANSWER:tl;dr - Is it possible to boot from a .iso file that is located in an unencrypted lmv2 logical volume? How?I'm trying to set this up in a VirtualBox VM before I do it for real with my laptop. I have the following set up:4 gpt partitionsgpt1 - 2M ef02 bios bootgpt2 - 5G unencrypted non-lvm, for misc data,iso's, etc.gpt3 - 5G unencrypted lvm, for /boot,iso's, etc.gpt4 - remaining, lvm, encrypted with dm-crypt/luks, for root,swap,home,etc.in gpt2, I have copies of current Arch and Xubuntu iso'sin gpt3, I have an lvm2 lv with the same copies of the same iso'sI have the following working:in gpt4, functioning installs of Arch and Xubuntu (and would like to add other distro's in other logical volumes at some point)grub2 installed from Arch on /dev/sdausing grub2's configfile command, can switch and boot from both distro's grub2 menu'scan boot iso's from grub menu from non-lvm gpt2What I would like to do is boot from the iso's in gpt3 lvm (and ultimately, not even have the non-lvm gpt2 partition at all).My grub entry is:menuentry "Xubuntu ISO" set isofile"xubuntu-12.04.1-desktop-amd64.iso" # from non-lvm loopback loop (hd0,gpt2)$isofile # from lvm #loopback loop (vgboot-iso)$isofile linux (loop)/casper/vmlinuz bootcasper iso-scan/filename$isofile noprompt noeject initrd (loop)/casper/initrd.lzThe 2 loopback lines point to 2 different copies of the same iso.I've verified at the grub command line that both loopback lines work.When booting from the iso in the non-lvm partition, everything works fine.When booting from the iso in the lvm partition, the boot starts, and eventually gets this error:(initramfs) /scripts/casper-premount/20iso_scan: line 46: can't open /dev/sr0: No medium foundFor the arch entry:menuentry "Arch ISO" set isofile"archlinux-2012.09.07-dual.iso" loopback loop (hd0,gpt2)$isofile #loopback loop (vgboot-iso)$isofile linux (loop)/arch/boot/x86_64/vmlinuz archisolabelARCH_201209 img_dev/dev/sda2 img_loop$isofile earlymodulesloop initrd (loop)/arch/boot/x86_64/archiso.imgbooting from gpt2 iso works, but I don't know what to change the "dev/sda2" to for lvm boot.EDIT: Can this be done? For any current Linux distro's official .iso file? Fedora? Debian? openSUSE? CentOS?Is this impossible? Or is it something no one has thought to try before?EDIT2: My bounty has long since expired, and after 9 months, I'm assuming this is simply not possible with any Linux distro. I'll leave the question open, but I'm doubtful there will be a working solution anytime in the near future.
Ubuntu on the Sony Vaio VPCY 21S1E
This is a subnotebook (ultraportable) sold by Sony with quite a nice hardware lineup. Installing Ubuntu on it wasnt quite easy due to graphic drivers but fear not! There is a solution that makes it work 100%, including 3D acceleration. Also, the touchpad doesnt work at first. Doesnt matter either, well fix that too.All those issues have fixes.Per default, the device comes withPer default, the laptop comes with 3 Partitions already:When booting from standard Ubuntu installation media, the screen goes blank right at the beginning, even before the boot splash. This is due to the graphics card not being supported correctly by the kernel. What doesnt work is Kernel Mode Setting (i.e. switching resolution etc), hence the black screen.To install Ubuntu correctly, you will need the Alternate Installation CD. And since your laptop has 4 GiB of RAM, you will need the amd64 variant.Dont worry if the touchpad doesnt work. Well fix that later. Also, well improve the screen resolution. Until then, plug in an USB mouse.Since we disabled kernel mode switching before installation and Intel has removed User Mode Switching in their drivers, were running on VESA drivers that support only 1024x768. To fix that, we will have to both re-enable kernel mode switching and install a newer kernel with the appropriate drivers.Before we install a new kernel, re-enable KMS:gksudo gedit /etc/default/grubIn the line that starts with GRUB_CMDLINE_LINUX remove everything between the quotes. Leave the quotes where they are.As of 2010-12-28, I had the best luck with the 2010-12-24 snapshot of 2.6.37rc3:Install the packages you just downloaded.Add the Ubuntu X-Swat-Updates PPA:To see your current battery capacity, youll need to install an updated GNOME power manager. Add a PPA that includes the bugfixAfter reboot, the new kernel and system updates will have taking care both of the graphics issues and the nonworking touchpad. The new GNOME power manager and upower packages should show the correct battery capacity, tooMy girlfriend got a new Subnotebook for Christmas (Sony Vayo VPCY21S1E), which comes with an "Intel HD graphics" vga adaptor.When I try to boot the Ubuntu installer from USB, the screen goes blank after a short while, before I even see the Ubuntu logo. However, when I select "nomodeset" in the boot options, I can boot it to the CLI login prompt. When I start X, though, that only works in VESA mode (I've read Intel eventually got rid of Usermode Mode Setting and only offers KMS now, which I've disabled to get it to boot).What can I do to enable a) higher resolution than 1024x768 in VESA b) hardware acceleration for compiz, video playback, etc?·OTHER ANSWER:My girlfriend got a new Subnotebook for Christmas (Sony Vayo VPCY21S1E), which comes with an "Intel HD graphics" vga adaptor.When I try to boot the Ubuntu installer from USB, the screen goes blank after a short while, before I even see the Ubuntu logo. However, when I select "nomodeset" in the boot options, I can boot it to the CLI login prompt. When I start X, though, that only works in VESA mode (I've read Intel eventually got rid of Usermode Mode Setting and only offers KMS now, which I've disabled to get it to boot).What can I do to enable a) higher resolution than 1024x768 in VESA b) hardware acceleration for compiz, video playback, etc?
I Cannot Upgrade Ubuntu Or Autoclean Due to the Inability to Run Apt-get -f Install
You likely have a separate /boot partition, or a very small root partition. Unfortunately, the Ubuntu upgrade does not automatically remove kernels. As a result, is space is limited, it may fill up, possible to the extent that you cannot anymore use the apt tools to remove old kernels.If you have a single partition for Ubuntu that contains both system and data (your Home folder) then just temporarily move data away so the apt tools have disk space to work. Otherwise, read on.If all works, remember to regularly issue a 'sudo apt autoremove'. This is not done automatically in Ubuntu, unfortunately.I am unable to clean my disk space by running autoclean, nor can I upgrade because I am continually asked to run apt-get -f install however due to a full disk it will not install. autoclean doesn't work purge doesn't work. These are my results when I try to run upgrade:agiles@agiles-23-1015:$ sudo apt-get upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run 'apt-get -f install' to correct these.The following packages have unmet dependencies: linux-image-extra-4.4.0-128-generic : Depends: linux-image-4.4.0-128-generic but it is not installed linux-image-extra-4.4.0-130-generic : Depends: linux-image-4.4.0-130-generic but it is not installed linux-image-extra-4.4.0-131-generic : Depends: linux-image-4.4.0-131-generic but it is not installed linux-image-generic : Depends: linux-image-4.4.0-131-generic but it is not installedE: Unmet dependencies. Try using -f.When I run -f install:agiles@agiles-23-1015:$ sudo apt-get -f installReading package lists... DoneBuilding dependency treeReading state information... DoneCorrecting dependencies... DoneThe following packages were automatically installed and are no longer required: linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-image-4.4.0-124-generic linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-genericUse 'sudo apt autoremove' to remove them.The following additional packages will be installed: linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-4.4.0-131-genericSuggested packages: fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-toolsThe following NEW packages will be installed: linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic0 upgraded, 3 newly installed, 0 to remove and 194 not upgraded.7 not fully installed or removed.Need to get 0 B/66.4 MB of archives.After this operation, 204 MB of additional disk space will be used.Do you want to continue? [Y/n] y(Reading database ... 425417 files and directories currently installed.)Preparing to unpack .../linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericDone.Unpacking linux-image-4.4.0-131-generic (4.4.0-131.157) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-131-generic' to 'boot/vmlinuz-4.4.0-131-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericPreparing to unpack .../linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericDone.Unpacking linux-image-4.4.0-128-generic (4.4.0-128.154) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-128-generic' to 'boot/vmlinuz-4.4.0-128-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericPreparing to unpack .../linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericDone.Unpacking linux-image-4.4.0-130-generic (4.4.0-130.156) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-130-generic' to 'boot/vmlinuz-4.4.0-130-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericErrors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb /var/cache/apt/archives/linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb /var/cache/apt/archives/linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.debE: Sub-process /usr/bin/dpkg returned an error code (1)·OTHER ANSWER:I am unable to clean my disk space by running autoclean, nor can I upgrade because I am continually asked to run apt-get -f install however due to a full disk it will not install. autoclean doesn't work purge doesn't work. These are my results when I try to run upgrade:agiles@agiles-23-1015:$ sudo apt-get upgradeReading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run 'apt-get -f install' to correct these.The following packages have unmet dependencies: linux-image-extra-4.4.0-128-generic : Depends: linux-image-4.4.0-128-generic but it is not installed linux-image-extra-4.4.0-130-generic : Depends: linux-image-4.4.0-130-generic but it is not installed linux-image-extra-4.4.0-131-generic : Depends: linux-image-4.4.0-131-generic but it is not installed linux-image-generic : Depends: linux-image-4.4.0-131-generic but it is not installedE: Unmet dependencies. Try using -f.When I run -f install:agiles@agiles-23-1015:$ sudo apt-get -f installReading package lists... DoneBuilding dependency treeReading state information... DoneCorrecting dependencies... DoneThe following packages were automatically installed and are no longer required: linux-headers-4.4.0-124 linux-headers-4.4.0-124-generic linux-headers-4.4.0-128 linux-headers-4.4.0-128-generic linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic linux-image-4.4.0-124-generic linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-extra-4.4.0-124-generic linux-image-extra-4.4.0-128-generic linux-image-extra-4.4.0-130-genericUse 'sudo apt autoremove' to remove them.The following additional packages will be installed: linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-4.4.0-131-genericSuggested packages: fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-toolsThe following NEW packages will be installed: linux-image-4.4.0-128-generic linux-image-4.4.0-130-generic linux-image-4.4.0-131-generic0 upgraded, 3 newly installed, 0 to remove and 194 not upgraded.7 not fully installed or removed.Need to get 0 B/66.4 MB of archives.After this operation, 204 MB of additional disk space will be used.Do you want to continue? [Y/n] y(Reading database ... 425417 files and directories currently installed.)Preparing to unpack .../linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericDone.Unpacking linux-image-4.4.0-131-generic (4.4.0-131.157) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-131-generic' to 'boot/vmlinuz-4.4.0-131-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-131-generic /boot/vmlinuz-4.4.0-131-genericPreparing to unpack .../linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericDone.Unpacking linux-image-4.4.0-128-generic (4.4.0-128.154) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-128-generic' to 'boot/vmlinuz-4.4.0-128-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-128-generic /boot/vmlinuz-4.4.0-128-genericPreparing to unpack .../linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb ...Examining /etc/kernel/preinst.d/run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericDone.Unpacking linux-image-4.4.0-130-generic (4.4.0-130.156) ...dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.deb (--unpack): cannot copy extracted data for './boot/vmlinuz-4.4.0-130-generic' to 'boot/vmlinuz-4.4.0-130-generic.dpkg-new': failed to write (No space left on device)No apport report written because the error message indicates a disk full error dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Examining /etc/kernel/postrm.d .run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericrun-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-130-generic /boot/vmlinuz-4.4.0-130-genericErrors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-131-generic_4.4.0-131.157_amd64.deb /var/cache/apt/archives/linux-image-4.4.0-128-generic_4.4.0-128.154_amd64.deb /var/cache/apt/archives/linux-image-4.4.0-130-generic_4.4.0-130.156_amd64.debE: Sub-process /usr/bin/dpkg returned an error code (1)
Suggest Slot for SSD
Yes, it will act just like a tradition spinning hard drive (Mass storage device)You have 3 sata ports on the motherboard, use one of those.Slots on that particular motherboard are not for hard drives• Related QuestionsWhite screen on imac duplicateIt means the volume you're trying to boot from is not bootable - perhaps the /System directory has been deleted, or an OS hasn't been installed at all, or the disk could even be failing------Increase ramdisk size on Ubuntu 9.10See for how to do this.If you can't find menu.lst, then your system might be using the new grub.cfg file. Look in /boot/grub------enable tcp_syncookies even after rebootYou could just put this code in your /etc/rc.local file:But please make sure that it goes before any exit statements. It should force your net.ipv4.tcp_syncookies to be 1 at startup------List of installed programs without running a program in the systemI tested this with an Ubuntu 13.10 partition but it should equally work for Mint,Boot from the flash disk, mount your Mint partition, chroot to it and then run the command.E.g. (as root):------Change service apache2 on linuxAs far as I know, /usr/sbin/service is just a wrapper for init.d scripts. Have a look at the file:So, if your init.d uses apachectl, then service should use them too.------How to triple boot windows and two linux distros duplicateInstall Ubuntu first with a partition (Remember your UEFI permissions) then after that instalation Mint will ask you if you would like to install alongside windows and mint, if not use the "something else" partition------Is there any way to open recovery mode with only hard keys? closedPossible with command but there are conditions,you have usb debugging enabledyou need to configure adbif you have this two things configured then you can type following command to boot your phone into recovery modeor------All of my executables are trying to open via 7zip. How can I put them back to normal? duplicateCertainly, to me this sounds like a virus. I would immediately run a complete scan using EVERY anti virus I have AFTER disconnecting from the internet.I use Malwarebytes and Microsoft Security Essentials.Good luck.------Samsung Galaxy S4 stuck on Samsung logo after booting from OdinThe good new is your phone is not bricked, so yes, you can still fix it.Just enter download mode again and flash with odin one more time.To enter download mode you have to:------Has the CVE-2019-11815 bug been patched in the kernel version 4.15.0-50-generic? duplicateThis affects all Linux kernels prior to 5.0.8 therefore, it will affect version 4.15.0. It is currently being patched by the Ubuntu security team. For more details, check out the Ubuntu CVE Tracker page on CVE-2019-11815.------How to disable extra packages can be installed popup in Kubuntu 15.04?I found an answer to this on the Kubuntu forum. In KDE you can turn off "Restricted codec availability" under 'System Settings' -> Notifications -> 'Other Notifications'. It works for me (Kubuntu 15.04 with kubuntu-ppa backports)------Can't install 0.4.1 (latest) from USB with nVidia 1060 (SOLVED)In order to solve nvidia problem during boot you can add nouveau.modeset0 before quiet splash. This way you can install the os and do the same to first boot and install propriety nvidia drivers------I changed Volumegroup name via Webmin, now I can't boot. Stuck on initramfsYou need to update initramfsFirst start from a live USB-Device or DVD.You need to install lvm:Now mount it:where X is your ubuntu partition.Change into your ubuntu system:Now it should work.------Wifi not working with Linux Mint 18.1 in Samsung NP900According to the official website the Intel Dual Band Wireless-AC 8265 will work on the 4.6 kernel version and higher 1) Upgrade your kernel version : the 4.8 and the 4.10 kernel is available for linux mint.2) Install the wifi driver------How to test a physical machine?To add to D.W.'s answer: after you make the machine as secure as practical, use measures to detect tampering. For example:Whatever measures you use, make sure you check them! Otherwise they're useless------Determine when Linux lost powerCheck last | grep reboot. This will show you a list of boot times. On my Ubuntu 11.04 installation, this produces lines like: These mean that my system is up for Hopefully Ubuntu 8.04 has the same feature------Best way to install ubuntu on Asus Eee PC 901 with 4GB Boot SLC and 16GB MLC driveYou may be interested in my experiences in doing this: I have the OS on the 4GiB SSD but enough space to install applications and do updates etc------Screen Brightness not permanentI finally found an answer to my own question here: added a few lines to rc.local so that this script gets executed at startup, thus setting the required brightness.------Catalina Beta 7 bricked my Macbook ProI had the same experience with my MacBookAir. Turns out Catalina killed the firmware and the only solution according to the Genius Bar is to replace the motherboard. That is around 500 Bucks in my case------Error finding preseed file when booting the UbuntuServer installer via iPXE through HTTPI can see two options:Change your DHCP server configuration so that it serves the filename only to requests not from a Debian installer. The example given in the Installation guide can be easily adapted:------Unable to resolve FQDN, hostname worksAdd the FQDN into the DNS Suffix Search List on the computers that are not part of your domain. This is configured under Advanced TCP/IP settings, DNS tab ... Append these DNS suffixes (in order)------Dell PowerEdge 860 always does PXE bootis there more than one nic? almost all the Poweredges we have contain multiple nics, ensure all of them are enabled without PXE (or disable all the other nics. all additional network cards installed too?)------No UDC shows up for USB mass storage gadget with configfsFinally the problem was that the module dwc2 had to be loaded.So I added dtoverlaydwc2 to /boot/config.txt and dwc2 at the end of /etc/modules to load it automatically at boot.------stuck installing cyanogenmod on htc one Xreflash the rom, dont reboot into system, reboot to fastboot or bootloader (if so go to fastboot) then do fastboot flash boot boot.img) (you need to extract this from the rom zip you installed)------Having trouble repairing window xp that is dual-booted with Ubuntu 12.10Try to boot from your CD using EFI-shell. You can choose this option in the bios settings (stands right next to the boot-override-option). That worked for me.Else use boot-repair and post the result here------Does the recovery partition get updates?Yes, the local recovery partition is updated when you upgrade your OS. Whereas Internet Recovery will download the original OS version that came with your Mac. lifewire.com/identify-os-x-version-on-recovery-hd-partition-2259968------How to fix semaphore timeout period has expiredI had a problem copying from a logical partition on my laptop hard drive to an external USB3.0 drive. Turns out the cable was bad. I swapped the USB3.0 cable and the transfer completed successfully------Removed Linux Kernels are still showing up in GRUBRemove them with sudo purge-old-kernels (from byobu package), not but hand.And execute sudo apt-get autoremove afterwards for removing obsolete packages (headers and images).FIY, you can save this script anywhere and run as root:------Sound does not work on a Lenovo Ideapad 310After some more extensive reading I found a post indicating that upgrading the kernel in Ubuntu 14.04 worked.Did the same with Ubuntu 18.04.1LTS, from 4.15.0-29.31 to 4.17.0 and the sound was properly installed and working well------Unable to get grub after upgrading to windows 8.1Boot into the BIOS screen. Check the "Startup Order" tab, there you'll see Windows Boot Loader in position 1. Change the order so "ubuntu" is in the first position.I just recovered my partition this way------Problem while installing Ubuntu 16.04 LTS alongside to Windows 10You can manually select the right partition to install Ubuntu to, during the installation process, as outlined here.Also, maybe consider installing Ubuntu 20.04, which is the newest version. Ubuntu 16.04 is only supported until next year------Can't uninstall Ubuntu and install Mint closedNOTE : Deleting a partition or using format option will completely wash the data off it. If you do this on complete hard drive then it will remove every bit of data on it. BE CAREFUL------Full disk encrypted linux windowsWindows does not support LUKS containers and booting from it natively.You can use LibreCrypt to access such containers, but i don't think it is possible to install and use windows entirely from LUKS container.------Hard drive error - NTFS damagedI would suggest TestDisk for Data Recovery or try to fix the partition. It's mainly for data recovery (in case you can't get it to work again) or you could use it for trouble shooting------Can't install Windows 98 SE in virtualbox - SUWIN caused a General Protection Fault in module Problem:Windows 98SE is incompatible with the newer hardware that VirutalBox virtualizes; specifically when hardware resources are passed-through from the host directly.Solution:In VirtualBox, disable the hardware acceleration for that VM.To do so:------OS-Prober won't find Windows 7Ugghh I feel your pain.I think you may need to reinstall grub. Try creating a live disk/usb first. Make sure you can boot it. Then follow these instructions. ------What is the best way to create secure/encrypted system?You can install Ubuntu on an encrypted partition using dm-crypt. The /boot partition needs to be unencrypted, but the entire rest of the disk will reside in one encrypted volume. Here is a nice how-to------How to clear or remove domain-applied group policy settings after leaving the domainRemove workstation from the domain. Go to C:Windowssecuritydatabase and rename file edb.chk to edb.old. Run a gpupdate /force three times and restart workstation. When done reconnect to domain and test------Windows 10 Disable Welcome ScreenI don't know how to suppress the screen entirely, but you can at least changethe background picture that is displayed:For changing the logo that is displayed during the boot, there are two cases:------Reasons for missing IP info in last output on pts logins?I solved it by adding a script to /.bashrcthe script finds the last telnet connection source IP address,Then you can add the IP to a log file or do whatever you need..Sharon------Error: No default or UI configuration directive found duplicateOn Dell Vostro, I had to change SATA Operation setting to ATA in BIOS to make the CD boot.It is probably important to set it back after installation, because BIOS advices against changing it.------Dual booting Ubuntu and Windows 8. w8 boots through grub shell, but not from menuYou need to supply the UUID of the SYSTEM device on your search line (at the end). And remove the --bios tag, since you're using EFI to boot.To find the UUID, execute the following:------Grub does not show a Windows 8 option after dual bootTry running sudo update-grub.This should hopefully recognize Windows 8 automatically and add it to the GRUB and reconfigure the menu.If that fails, please share your /etc/default/grub file here, we'll have a look.------Install Linux on existing multiboot system without messing up drive lettersWindows won't change which drive it identifies as C: after it is installed. Other partitions that it has seen before and assigned a letter won't change unless you change them in the disk management utility------Grub never shows, always boots to Windows 8.1 - Sony VaioTry use the recommended Boot Repair from a Ubuntu Live CD/DVD/USBRun these commands in a terminal in number order with a internet connection:Press the enter/return key after typing each commandAnswer source------Intermittent DNS resolution problemsI'm fairly confident in saying that this was caused by MAX RemoteManagement's / MSP Remote Management's RMM agent as uninstalling it has resolved a wide variety of DNS- / network-related problems on different PCs in different locations------Reset root password Pi4 RaspianIf you haven't changed your password before then your password may be raspberry which is the default password for user pi.If you want to change the default password then use passwd command. Documentation link------How to add a new kernel to grub2/boot/grub/grub.cfg is the file that replaced menu.lst from grub1In Debian/Ubuntu systems this is generated by update-grub, which runs the scripts in /etc/grub.d using something similar to run-parts------Can't mkdir /root (btrfs)Whoops?! Perhaps you meant to do this, instead:Assuming no typo in your question, that's probably the reason why you later find /media/root/root already exists. You never moved it out of the way!------How do I disable a Nvida GPU and use the Intel one instead?If you install the propriatary drivers from Nvidia in Ubuntu, you can switch between graphics cards in the Nvidia control panel. This option can be found in the Nvidia PRIME tab in that control panel------Unable to load Windows after using EasyBCD to Reset bcd duplicateYou must boot in UEFI mode from the DVD. Look at the manual which key you have to press to get the boot menu shown. Here you should see BIOS and UEFO boot for DVD------Rom Toolbox Pro Crashing awkwardly!Sorry I cannot add comment for some reason.Well you can try these:After that.If these doesnt work I can give a previous version which works on mine with its data.Hope it helps!------How to remove Ubuntu options when starting my computerGrub2: Enter the command sudo gedit /boot/grub/grub.cfg and enter your main password. Rearrange the menuentry entries in the order you like. Do not call sudo updage-grub. That will re-order it back again------Delete previous partition after reinstalling XPFirst of all: DON'T BOOT THIS NEW SYSTEM ANY MORE.After that, plug your HDD as an external drive into another computer.Then you could try to recover your data using PhotoRec, Testdisk or Recuva.------api-ms-win-core-libraryloader-l1-2-1.dll is missingUse Rufus to create a WindowsToGo drive. Select the Windows 10 ISO and "Windows To Go" radio button.It has a fix for the issue. It simply invokes the Windows 8.1 bcdboot.ee to avoid the error------How to change GRUB timeout only for the next reboot?One of the first set of scripts I developed was to speed up rebooting time:To reboot quickly type sudo zapboot. After logging in type sudo zaprestore.In zapboot the command:In zaprestore the command:
Inserting 100000 Records to MySQL Takes too Much Time
Using batch-inserting is one of the methods to decrease a saving time, but still not enough to handle 100k records in 5 or less seconds due to ORM internal mechanism. I suggest you to look into your MySQL DB and use its capabilities. Try to tune your DB tables engine, by default it's set to InnoDB.InnoDB is a pretty good engine. However, it's recommended to be 'tuned'. In case of unordered PM key inserting, the engine can take a bit longer time than MyISAM. This can be easily overcome by setting a higher value for innodb_buffer_pool_size.Anyway I would suggest to use LOAD DATA INFILE syntax so that MySQL can perfectly manage CSV files.I'm using spring boot, hibernate any MySQL for reading 100000 records from csv file and write the same to the database. I'm doing the batch insert where the data is committed at intervals equal to batch size. The data is saved properly but it takes around 3 minutes to insert all data. Is there anything I can do to improve the performance. Spring Batch is not allowedThis will separate the rows/records with missing values in cell.private String selectTempFile(String fileName) try List validList new ArrayList(); List invalidList new ArrayList(); Reader in new FileReader(TEMP_LOCATIONfileName); Iterable record CSVFormat.EXCEL.withFirstRecordAsHeader().withAllowMissingColumnNames().withIgnoreHeaderCase().parse(in); extractColumnHeader(record.iterator().next().toString()); for(CSVRecord r:record) if(r.get(DATE).isEmpty() || r.get(TIMESTAMP).isEmpty() || r.get(FROM_CURRENCY).isEmpty() ||r.get(TO_CURRENCY).isEmpty() || r.get(SPREAD).isEmpty()) invalidList.add(r); else validList.add(r); log.info("start time :"new Date().toString()); setInvalidDeal(invalidList,fileName); setValidDeal(validList,fileName); validCSVWriter(validList, fileName); invalidCSVWriter(invalidList, fileName); log.info("end time :"new Date().toString()); catch (Exception e) e.printStackTrace(); return INDEX;This will set all the deals object in list and pass for saving in dbprivate void setValidDeal(List validList, String fileName) List listnew ArrayList(); ValidDeal deal null; for(CSVRecord r:validList) deal new ValidDeal(); try deal.setDate(new SimpleDateFormat(DATE_PATTERN).parse(r.get(DATE))); catch (ParseException e) e.printStackTrace(); /deal.setId(UUID.randomUUID().toString()); deal.setTimeStamp(r.get(TIMESTAMP)); deal.setFromCurrencyISOCode(FROM_CURRENCY); deal.setToCurrencyISOCode(TO_CURRENCY); deal.setFromCurrencyISOCodeAmount(r.get(FROM_CURRENCY)); deal.setToCurrencyISOCodeAmount(r.get(TO_CURRENCY)); deal.setAmount(r.get(SPREAD)); deal.setFileName(fileName"-valid"new Date()CSV_SUFFIX); list.add(deal); validDealService.saveDeal(list);Entity class@Entitypublic class ValidDeal @Id @GeneratedValue private Long id; @Column(name"from_currency_iso_code") private String fromCurrencyISOCode; @Column(name"to_currency_iso_code") private String toCurrencyISOCode; @Column(name"from_currency_iso_code_amount") private String fromCurrencyISOCodeAmount; @Column(name"to_currency_iso_code_amount") private String toCurrencyISOCodeAmount; private Date date; private String timeStamp; private String amount; private String fileName; /getters and settersThis inserts records to Databasepublic void saveDeal(List validDeal) int batchSize50; int numberOfElementsvalidDeal.size(); /* * This will commit at every time when the size of persist is equal to batch size but will be slow * Measured time 3min */ Session session sessionFactory.openSession(); Transaction tx; while (numberOfElements > 0) numberOfElements - batchSize; /if @GeneratedValue is removed from entity, same record is saved in db after first commit tx session.beginTransaction(); for (int i 0; i validList new ArrayList(); List invalidList new ArrayList(); Reader in new FileReader(TEMP_LOCATIONfileName); Iterable record CSVFormat.EXCEL.withFirstRecordAsHeader().withAllowMissingColumnNames().withIgnoreHeaderCase().parse(in); extractColumnHeader(record.iterator().next().toString()); for(CSVRecord r:record) if(r.get(DATE).isEmpty() || r.get(TIMESTAMP).isEmpty() || r.get(FROM_CURRENCY).isEmpty() ||r.get(TO_CURRENCY).isEmpty() || r.get(SPREAD).isEmpty()) invalidList.add(r); else validList.add(r); log.info("start time :"new Date().toString()); setInvalidDeal(invalidList,fileName); setValidDeal(validList,fileName); validCSVWriter(validList, fileName); invalidCSVWriter(invalidList, fileName); log.info("end time :"new Date().toString()); catch (Exception e) e.printStackTrace(); return INDEX;This will set all the deals object in list and pass for saving in dbprivate void setValidDeal(List validList, String fileName) List listnew ArrayList(); ValidDeal deal null; for(CSVRecord r:validList) deal new ValidDeal(); try deal.setDate(new SimpleDateFormat(DATE_PATTERN).parse(r.get(DATE))); catch (ParseException e) e.printStackTrace(); /deal.setId(UUID.randomUUID().toString()); deal.setTimeStamp(r.get(TIMESTAMP)); deal.setFromCurrencyISOCode(FROM_CURRENCY); deal.setToCurrencyISOCode(TO_CURRENCY); deal.setFromCurrencyISOCodeAmount(r.get(FROM_CURRENCY)); deal.setToCurrencyISOCodeAmount(r.get(TO_CURRENCY)); deal.setAmount(r.get(SPREAD)); deal.setFileName(fileName"-valid"new Date()CSV_SUFFIX); list.add(deal); validDealService.saveDeal(list);Entity class@Entitypublic class ValidDeal @Id @GeneratedValue private Long id; @Column(name"from_currency_iso_code") private String fromCurrencyISOCode; @Column(name"to_currency_iso_code") private String toCurrencyISOCode; @Column(name"from_currency_iso_code_amount") private String fromCurrencyISOCodeAmount; @Column(name"to_currency_iso_code_amount") private String toCurrencyISOCodeAmount; private Date date; private String timeStamp; private String amount; private String fileName; /getters and settersThis inserts records to Databasepublic void saveDeal(List validDeal) int batchSize50; int numberOfElementsvalidDeal.size(); /* * This will commit at every time when the size of persist is equal to batch size but will be slow * Measured time 3min */ Session session sessionFactory.openSession(); Transaction tx; while (numberOfElements > 0) numberOfElements - batchSize; /if @GeneratedValue is removed from entity, same record is saved in db after first commit tx session.beginTransaction(); for (int i 0; i
Can I Replace the Windows Bootloader with GRUB?
Unfortunately, you cannot use GRUB2 to replace NTLDR because GRUB2 cannot load itself from an NTFS partition.You should understand that installing Ubuntu via Windows does NOT create it's own partition, but creates a flat file on the NTFS partition which is loop-mounted and then formatted as ext3. Thats why this partition will only be detected by tools running from within the Ubuntu install -- neither Windows nor a LiveUSB/LiveCD will detect it.• Related QuestionsHow to protect Windows Server 2008 r2 from persons, which have physical access to computer? closedThe way I would do it is create a fullscreen .exe in Visual Studio, and change the post-Winlogon shell path from explorer.exe to your new .exe, under HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon -> ShellAnd for any functions that explorer is responsible for, I would then start explorer.exe silently inside your program.Disabling CtrlAltDel and WinFlag-M will also be necessary. This article has an interesting way of doing it------How can Lubuntu 20.04 LTS be installed in a USB which can boot into both- UEFI & Legacy BIOS systems?I do it using YUMI Multiboot USB creator (you can download it from Pendrivelinux.com). It is used to put multiple operating systems on 1 pen drive. I have one that is set up for UEFI and one that is set for Legacy BIOS (Version YUMI-2.0.7.2 is legacy, version YUMI-UEFI-0.0.2.3 for UEFI (obviously). This has worked for me on older systems, if I wish a legacy boot on a UEFI BIOS, I disable secure boot------Why can't I install Windows on hard disk but Ubuntu can?Go here: follow the steps under "Using the Custom installation option and reformatting the hard disk". Windows does not play well with linux file systems on its own. Since you had Ubuntu before, your filesystem is either ext3 or ext4. You'll need to reformat the hard drive from ext3/ext4 to NTFS. But follow those instructions and it will help you do that and install Windows------command for enabling/disabling local area connectionIs this a laptop? On many laptops, your NIC will be disabled if you are running on battery power. On my Dell for example, there is an item in Control Panel called "Internal NIC Configuration" which controls this behavior. You may have something similar, or it may be in your power settings.Other place to check would be in the BIOS settings - see if there is any setting that would disable the NIC.------Burning Ubuntu ISO image into Hard diskI kind of agree with Woeitg's comment, but if you really need to do this then it should work if you "dd" the iso to a blank hard drive.The command would be something like this:Be careful! If you get the target wrong you could wipe your hard drive.To check which drive is which try:That will show the brand/make of your hard drive and which sdX udev has assigned it.------Force macbook to sleep when lid closed and external monitor connected in LionIn previous versions of OS X, you would go to /Library/Preferences/SystemConfiguration to find a file called com.apple.PowerManagement.plist. In that file you would find ways to tweak things like the old "clamshell" mode. I have not looked in Lion yet to see if this still exists, but if the file is still there, you may want to take a look at what it allows you to control. Hope this helps.------Arch Linux pacman -Syu breaks machine closedThis warning typically indicates that there is a problem with your RAM disk. Given you cannot reboot, I would suggest you download and boot a recent Arch installer, mount your partitions (I think at a minimum you need /boot and /etc), and arch-chroot into your non-working system. Once there, you should be able to recreate your RAM diskYou may need to configure your options by editing /etc/mkinitcpio.conf before creating the RAM disk.------Add physical disk as a VM without imaging or altering the diskThese instructions are for VMware Workstation 8:Manually create a virtual machine and select settings matching your Physical Disk's operating system settings, and opt to not create a disk or install an OS.Add a physical disk manually, specifying the physical disk you wish to virtualize.Thee virtual machine should boot as expected.The documentation is not clear, and the workflow has changed between different versions of Vmware, however this works well in VMware Workstation 8------Windows 7 Install command prompt can't access the C driveYou don't change drives with CD, that's for Changing Directories.To switch to another drive you just type C: (for example) and hit enter. Or if you really want to use CD to switch directories AND drive you can use CD /D C:. Also, if doing it one of these ways still doesn't work, ensure you have the driver loaded for you controller (AHCI, RAID or whatnot) so that setup can see the drive------WinPE slow dhcp crashes LTIHere's a script I call at the end of startnet.cmd. The goal here is to connect to MYSERVERMYSHARE and run a menu script stored there. If the script can't be found I release and renew my IP address and try again.Here's a ping to provoke name resolution, Here's the logon attempt from WinPE to the server, If I can't see the menu script, then I release and renew and try again,------Explorer.exe crashes and restarts, faulting module Comctl32.dllFrom your exception error code 0xC0000005there might be possible infection of files in your computer ,try to Check your BCD and do the fix if necessaryIn Windows open CMD as Administrator and type BCDEdit and enter, if your Windows Boot Loader Path is xOsload.exe then you need to remove some files and repair your BCD.NOTE: you will need to re-activate Windows afterwards, so make sure you have your Windows 8.1 key handy.------Does the recovery partition get updates?The Recovery Partition does not get updated. Once the partition is created, OS X Recovery downloads the latest of your OS X version from Apple.Extracted from Apple's About OS X Recovery:Reinstalling OS X Lion or OS X Mountain Lion via OS X Recovery requires broadband access to the Internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the Internet from Apple when OS X Recovery is used for reinstallation------Turning a running Linux system into a KVM instance on another machineYou could possibly pipe the output from dd through an SSH tunnel to your target machine. I've known it to be done relatively successfully into a VMWare virtual machine.Good details in the main answer here, and provides instructions for what to do if SSH isn't running (a number of liveCDs have SSH server on them anyway, so shouldn't be a problem):How to set up disk cloning with dd, netcat and ssh tunnel?------How to properly clone harddisk to external hardiskPlease Remember that When GHOSTING or Cloning a Computer, The Hardware on BOTH MACHINES MUST BE IDENTICAL, You can't just clone a Computer to any other computer, You will have driver and Startup issues, not to mention that your copy of windows, after each clone will keep asking you to Register your copy of windows again, this is to prevent against piracy, I suggest you look into how to set up a virtual Machine------Looking for Gummi for WindowsI have a copy of it archived from October 2014, and I just managed to install a copy of the beta version of gummi on my new Windows machine. If you would like to PM me your email, I can send you a temporary link for the install file. I also contacted the creator Alexander van der Meij; he said that a Windows install file should be up on the new website sometime this week.------How would I reinstall the grub-efi bootloader on Fedora Linux?Just to keep it simple here is all you do:DO NOT run grub2-install it will break your system by presenting you with a blank grub boot menu (this is because grub2-install will give you a bad/generic .efi file that tries to load grub.cfg from the wrong location.Additionally you may want to update your grub-config if you have migrated to new disks or your partition/layout has changed with:------Run Adobe CS6 from Win7 install in dual-boot?No you can't just re run the installed exe from that location.You need to install them in linux again. You can take help of wine.Though there is several restriction and the product may not run correctly to full extent.Please see for know the compatibility.Related question : Is it possible to run adobe master collection cs6 in ubuntu------Windows 10 update ruined my GRUB menuHave you tried running Boot-Repair?It worked for me with a similar issue.This software repairs common issues with boot and grub menu entries. And if it can't solve a certain issue, it outputs a report which you may paste here so that the issue may be understood better.You may install and run it on Ubuntu through the following commands:I hope it can work out the issues with kernel entries you described!------GRUB not appearing after upgrade to Windows 8.1 duplicateFirst reload Windows MBR or boot the Windows OS and uninstall EasyBCD , this will delete it's MBR as EasyBCD MBR is easy to penetrate then, download Ubuntu 14.04 fresh version and make a live USB FLash and reinstall the Ubuntu system this will create a new MBR I recommend you to create a partition for ubuntu with atleast 100 GB free space and format the old ubuntu partition,then install new fresh copy of ubuntu 14.04 LTS------Why won't Windows XP 64 install on my machine?Essentially, I downloaded and copied Windows XP 64 bit Trial to CDs and DVDs How did you copy to the CD? If you simply copied the iso file to the CD/DVD, or even copy the files from one CD to another it will not create a bootable disk.If you have an iso file, you need to burn the image using a utility.You can use ImageBurn or CDBurnerXP or BootCDCC (or loads more).------Two older Macs (G3 / Intel) need their drives erased. No install discsDo you have a current Mac with a Firewire port? You can attach the old Macs1 to the new one via Firewire, and boot them using Target Disk Mode, and use Disk Utility on the new Mac to wipe the drives (they'll appear as external drives).1 Note that the earliest G3 iMacs didn't have Firewire, and thus can't use this feature. The G3 with slot loading drive (released in Octoboer 1999) and later will work.------Upgrading EE from very old version to currentI've done several EE 2.X upgrades to 4.X and 5.X in the last few years, and on some pretty big sites to boot. It is non-trivial, but you can totally do it. Rather the retype a bunch of info, I laid out some strategies I've used successfully in this answer:Upgrade a site from EE2 to EE5If you have more specific questions, feel free to ask a new question or edit this one.------Windows XP stuck on loading screenIt seems that having done too much, you are almost out of options.You can try using a trouble-shooting boot cd, such as the Ultimate Boot CD for Windows.You can try to use your boot cd to roll Windows back to a previous restore point.If you can't find a solution, you might have to do a repair installation as described by Ivo, and if this doesn't work (horror) then a full installation.------Error allocating Mem BAR for PCI Device 0X/00/0The documentation lists that code: Error allocating Mem BAR for PCI DeviceThe system encountered a problem while trying to configure an expansion card or integrated on-board devices.If the device number points to an expansion card, the card can be removed. See "Troubleshooting Expansion Cards" in "Troubleshooting Your System."If the device number points to a an on-board device, disable the device. See "Using the System Setup Program" in your User's Guide for details------Trying to login-in in the Ubuntu ttyDoes your regular user have a password?If not, i doubt you can login using your tty.However you can try this:Reboot, on grub menu type e, then go to the kernel entry and again type e, at the end of the line add rw init/bin/bash, then hit b for boot using the recent edited line.This will give you a root terminar, then you can set you password using passwdRegards!.------D-Link DIR-300 with OpenWRT - How to access bootloader?You need to pay close attention to output of fconfig when making initial flash to check which address is used by this specific image. If you don't have a log, check openwrt install docs for specific hardware, they usually have full output of every command. :...You can reach bootloader by Telnet at 192.168.1.10 port 9000 for five seconds. Use ping in separate terminal to determine when address is available
Contact us
  • Cel : +86 158-2024-2923
  • Tel(Fax) : +86 020-29835956
  • E-mail : info@torylight.com
    Facebook : Torylight sandy
  • Twitter : @torylight sandy

  • Add : No.1, XinHe Industrial Park, Huadu
  • District, Guangzhou, CHINA
Whatsapp :
+86 158-2024-2923
        
Copyright © 2021 Guangzhou Tory Light Co., Ltd. | Sitemap