[opensuse] Attempting to boot Windows 10 from an external disk
Hi, I got a small Lenovo Yoga 300-11IBR laptop, that came with Windows 10 installed on a rotating rust 500GB hard disk. After two days of playing with it, I removed the original internal hard disk and replaced it with a 250 GB SSD and installed openSUSE 15.0 on it, which is working fine. The original hard disk I placed on an USB 3 enclosure for extra storage, and possibly to boot Windows if needed. Alas, W10 does not boot. It tries to, I see the rotating dots patterns characteristic of Windows, then it stops and boots Linux instead. I don't think it is a license issue, it would say so. It is not that important to boot Windows, but as I have it, it would be nice to have double boot. There is one setting that I apparently can only adjust on Windows, the battery charge limit. Ideas? Grub creates this entry:
### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-CE88-C933' { insmod part_gpt insmod fat set root='hd1,gpt1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 CE88-C933 else search --no-floppy --fs-uuid --set=root CE88-C933 fi chainloader /efi/Microsoft/Boot/bootmgfw.efi } ### END /etc/grub.d/30_os-prober ###
External disk layout:>
sdb sdb 512 0 0 465.8G disk 0 ├─sdb1 sdb1 512 0 0 260M part vfat SYSTEM_DRV EFI system partition CE88-C933 f8cc1b03-845f-495d-afb8-8763d362576a 0 ├─sdb2 sdb2 512 0 0 16M part Microsoft reserved partition b580048b-b412-4280-8628-4f5a642bf3f3 0 ├─sdb3 sdb3 512 0 0 426.4G part ntfs Windows Basic data partition EE688AB5688A7C59 7448c205-37a2-4258-870e-52feebabcd15 0 ├─sdb4 sdb4 512 0 0 25G part ntfs LENOVO Basic data partition 9C6E39116E38E5A4 c31e105b-60af-4f4c-869a-2eaf69a562a3 0 ├─sdb5 sdb5 512 0 0 1000M part ntfs WINRE_DRV Basic data partition 5EF039DCF039BB5B 9a6c9c26-7de4-4715-b71c-0d3ee9abac5c 0 ├─sdb6 sdb6 512 0 0 12.2G part ntfs LENOVO_PART Basic data partition 08F43CF0F43CE21C 1be4dcd8-b6e9-4f4a-8c22-c5b0d4b0d764 0 └─sdb7 sdb7 512 0 0 1000M part vfat LRS_ESP Basic data partition 64A5-5D54 c879d40e-fb2e-4a36-8cd9-1e38edfd32c9 0
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 33553920 bytes Disklabel type: gpt Disk identifier: 3596C2CC-16C3-4FA6-9665-89D0C78548B0
Device Start End Sectors Size Type /dev/sdb1 2048 534527 532480 260M EFI System /dev/sdb2 534528 567295 32768 16M Microsoft reserved /dev/sdb3 567296 894713855 894146560 426.4G Microsoft basic data /dev/sdb4 894713856 947142655 52428800 25G Microsoft basic data /dev/sdb5 947142656 949190655 2048000 1000M Windows recovery environment /dev/sdb6 949190656 974725119 25534464 12.2G Windows recovery environment /dev/sdb7 974725120 976773119 2048000 1000M Lenovo boot partition
bootinfoscript output (contains all relevant boot information) here: <http://paste.opensuse.org/3587437> -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On Mon, Jun 25, 2018 at 2:16 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
Hi,
I got a small Lenovo Yoga 300-11IBR laptop, that came with Windows 10 installed on a rotating rust 500GB hard disk. After two days of playing with it, I removed the original internal hard disk and replaced it with a 250 GB SSD and installed openSUSE 15.0 on it, which is working fine.
The original hard disk I placed on an USB 3 enclosure for extra storage, and possibly to boot Windows if needed.
Alas, W10 does not boot. It tries to, I see the rotating dots patterns characteristic of Windows, then it stops and boots Linux instead. I don't think it is a license issue, it would say so.
Start with making sure Windows boots directly from firmware. This likely involves changing drivers for boot device and is better discussed on dedicated Windows forums. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-06-25 13:37, Andrei Borzenkov wrote:
On Mon, Jun 25, 2018 at 2:16 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
Hi,
I got a small Lenovo Yoga 300-11IBR laptop, that came with Windows 10 installed on a rotating rust 500GB hard disk. After two days of playing with it, I removed the original internal hard disk and replaced it with a 250 GB SSD and installed openSUSE 15.0 on it, which is working fine.
The original hard disk I placed on an USB 3 enclosure for extra storage, and possibly to boot Windows if needed.
Alas, W10 does not boot. It tries to, I see the rotating dots patterns characteristic of Windows, then it stops and boots Linux instead. I don't think it is a license issue, it would say so.
Start with making sure Windows boots directly from firmware. This likely involves changing drivers for boot device and is better discussed on dedicated Windows forums.
Ay, you mean that perhaps it doesn't support the enclosure USB chips. Oh :-( I have no idea how to test that. The windows side doesn't boot, so I can not add any driver. I was thinking of telling grub to fake swaping the disk :-? I might install it fresh instead, if the license keeps. About Windows forums, anyone in particular? -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Carlos E. R. composed on 2018-06-25 13:16 (UTC+0200):
I got a small Lenovo Yoga 300-11IBR laptop, that came with Windows 10 installed on a rotating rust 500GB hard disk. After two days of playing with it, I removed the original internal hard disk and replaced it with a 250 GB SSD and installed openSUSE 15.0 on it, which is working fine.
The original hard disk I placed on an USB 3 enclosure for extra storage, and possibly to boot Windows if needed.
Alas, W10 does not boot. It tries to, I see the rotating dots patterns characteristic of Windows, then it stops and boots Linux instead. I don't think it is a license issue, it would say so.
It is not that important to boot Windows, but as I have it, it would be nice to have double boot. There is one setting that I apparently can only adjust on Windows, the battery charge limit.
Ideas?
I would never expect Windows to adapt to being moved to a different bus type (USB from SATA). What I think would stand a chance is eSATA, if a laptop has such a port, if that port is driven by the same I/O chip (same ATA bus) as the internal storage. -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/06/18 17:29, Felix Miata wrote:
I would never expect Windows to adapt to being moved to a different bus type (USB from SATA). What I think would stand a chance is eSATA, if a laptop has such a port, if that port is driven by the same I/O chip (same ATA bus) as the internal storage.
Agreed. There is a very _very_ remote chance that if you run a Boot Repair from a Windows startup medium, it might be able to fix it, but I very much doubt it. A complete reinstall _might_ work but I am not sure that Windows _can_ run off a USB-attached drive. It driver setup needs to know what bus the boot disk is on, and with USB, it can't know that. As Felix said, eSATA *might* work. If you don't have eSATA then I suspect it won't. -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 25/06/18 17:37, Liam Proven wrote:
A complete reinstall _might_ work but I am not sure that Windows _can_ run off a USB-attached drive.
I did a little more research. It can but it's tricky. This is a feature of Enterprise editions of Windows, and even then, it requires special USB media. It is called Windows To Go. There is a significant list of limitations. <https://docs.microsoft.com/en-us/windows/deployment/planning/windows-to-go-overview> However, there is a 3rd party tool that can install ordinary Windows in this scenario. <https://www.pcworld.com/article/3185777/windows/how-to-install-windows-on-an-external-drive.html> It's called Win2USB. https://www.easyuefi.com/wintousb/ -- Liam Proven - Technical Writer, SUSE Linux s.r.o. Corso II, Křižíkova 148/34, 186-00 Praha 8 - Karlín, Czechia Email: lproven@suse.com - Office telephone: +420 284 241 084 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-06-25 17:43, Liam Proven wrote:
On 25/06/18 17:37, Liam Proven wrote:
A complete reinstall _might_ work but I am not sure that Windows _can_ run off a USB-attached drive.
I did a little more research.
It can but it's tricky.
This is a feature of Enterprise editions of Windows, and even then, it requires special USB media. It is called Windows To Go. There is a significant list of limitations.
<https://docs.microsoft.com/en-us/windows/deployment/planning/windows-to-go-overview>
However, there is a 3rd party tool that can install ordinary Windows in this scenario.
<https://www.pcworld.com/article/3185777/windows/how-to-install-windows-on-an-external-drive.html>
Thanks, I'll read that. «Before we start, let’s get the bad news out of the way: Windows will refuse to install on an external drive if it knows that’s what you’re doing. But there are a few ways around this, including emulation via tools like VMWare. The easiest workaround is an application called WinToUSB.» Oh, so it may be that they just do not want to do it... :-(
It's called Win2USB.
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-06-25 17:29, Felix Miata wrote:
Carlos E. R. composed on 2018-06-25 13:16 (UTC+0200):
Ideas?
I would never expect Windows to adapt to being moved to a different bus type (USB from SATA). What I think would stand a chance is eSATA, if a laptop has such a port, if that port is driven by the same I/O chip (same ATA bus) as the internal storage.
I've become spoiled by Linux, things are so easy... Forgot a driver on the moved disk to boot? Mount it, chroot, add whatever by command line. No eSATA on this thing. One USB3, 2*USB2. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 06/25/2018 06:16 AM, Carlos E. R. wrote:
It is not that important to boot Windows, but as I have it, it would be nice to have double boot. There is one setting that I apparently can only adjust on Windows, the battery charge limit.
Ideas?
Windows (and it's system partition) must be the first thing on the *primary drive*. I doubt you will ever be able to boot directly from a USB (without quite a bit of fancy boot magic and trickery). I dual-boot W10 and Leap by virtue of having 2 SSD in the laptop so Win10 remains the primary and I just tap the bios and tell it to boot from HD2 to boot leap (with 5 hours added to the sysclock in between) If you don't find a solution, then make sure you shuffle the W10 drive back in at least once a month (about mid-month) to make sure you keep it current. You can do a lot with Win10, so it is worth playing with, but once you are used to a separate copy and select buffer -- there is no going back.... -- David C. Rankin, J.D.,P.E.
On 2018-06-25 23:15, David C. Rankin wrote:
On 06/25/2018 06:16 AM, Carlos E. R. wrote:
It is not that important to boot Windows, but as I have it, it would be nice to have double boot. There is one setting that I apparently can only adjust on Windows, the battery charge limit.
Ideas?
Windows (and it's system partition) must be the first thing on the *primary drive*. I doubt you will ever be able to boot directly from a USB (without quite a bit of fancy boot magic and trickery).
That's what I hopped, that somebody knows the magic. People that only use Windows will never put Linux in the mix and even less as main system, so they will not know. That's why I asked here and not "there".
I dual-boot W10 and Leap by virtue of having 2 SSD in the laptop so Win10 remains the primary and I just tap the bios and tell it to boot from HD2 to boot leap (with 5 hours added to the sysclock in between)
If you don't find a solution, then make sure you shuffle the W10 drive back in at least once a month (about mid-month) to make sure you keep it current.
No, I either boot windows on that usb enclosure, or never. I'm not going to shuffle the disks back and forth, too much stress for the laptop. I have the main laptop that doubles boot (single disk), and a virtual machine with W10. That's enough. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" (Minas Tirith))
David C. Rankin composed on 2018-06-25 16:15 (UTC-0500):
Windows (and it's system partition) must be the first thing
IME this has never been true. Until very roughly 10 years years ago, I never put Windows on sda1. The only reason I switched to using sda1 for it is that any other primary is a larger size in sectors than a nominally identical logical. When it's on sda1, it can be cloned to an identical size logical as a simple backup.
on the *primary drive*. Win10 here gets only 400MB at the front of sda for its boot files. Its system and data partitions go on logicals, following the most important Linux and/or DOS partitions. -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/25/2018 7:57 PM, Felix Miata wrote:
David C. Rankin composed on 2018-06-25 16:15 (UTC-0500):
Windows (and it's system partition) must be the first thing
IME this has never been true. Until very roughly 10 years years ago, I never put Windows on sda1. The only reason I switched to using sda1 for it is that any other primary is a larger size in sectors than a nominally identical logical. When it's on sda1, it can be cloned to an identical size logical as a simple backup.
on the *primary drive*. Win10 here gets only 400MB at the front of sda for its boot files. Its system and data partitions go on logicals, following the most important Linux and/or DOS partitions.
Well then -- I have more testing to do. (I don't dabble with windows too much, though I did boot it for this thread). If the System Partition (the 400M or so) is the only thing required up-front with Win10, then Carlos has a chance. Now booting through the USB is something I'm just flat ignorant about. I've never tried and other than virtualizing OS's, I have, and probably always will, keep my OS's on the primary or secondary drives. The reason for that is that to establish and boot from the USB, the controller must make the drive available as part of the boot process. Maybe you can include an initrd hook to insure a particular USB device is present before continuing the boot -- but that is a lot different than plugging a USB in after the system and USB controller is fully up and have the drive show us as /dev/sdc, etc.. Maybe somebody on the list is already doing something like that. Now you have me interested in how it could work... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-06-26 09:29, David C. Rankin wrote:
Maybe somebody on the list is already doing something like that. Now you have me interested in how it could work...
I found two links. <https://windowsreport.com/windows-10-external-drive/> How to move Windows 10 to an external hard drive They simply use Clonezilla installed on an auxiliary flash disk (booted with TuxBoot) to clone the existing internal disk with Windows to an external hard disk, nothing extra. But my case is different: I physically moved the disk. <https://www.easeus.com/partition-master/install-windows-10-on-external-hard-drive.html> Apparently what they do is partition the destination external disk in advance, with "EaseUS Partition Master free", then use "diskpart", then do something with "dism.exe" that I do not understand with "f:\sources\install.wim" and finally with bcdboot. I think that what they are doing is create a Windows on the go disk. So it may be possible, but I need to ask friendly Windows experts somewhere. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
Le 26/06/2018 à 11:19, Carlos E. R. a écrit :
On 2018-06-26 09:29, David C. Rankin wrote:
Maybe somebody on the list is already doing something like that. Now you have me interested in how it could work...
I found two links.
<https://windowsreport.com/windows-10-external-drive/>
How to move Windows 10 to an external hard drive
They simply use Clonezilla installed on an auxiliary flash disk (booted with TuxBoot) to clone the existing internal disk with Windows to an external hard disk, nothing extra. But my case is different: I physically moved the disk.
but may be clonezilla can still "move" it to a third disk (if available) I see clonezilla say it can move windows, but never tried it. I long time ago moved windows from his partition to an other one with linux without problem, but on an other internal disk jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-06-26 12:18, jdd@dodin.org wrote:
Le 26/06/2018 à 11:19, Carlos E. R. a écrit :
On 2018-06-26 09:29, David C. Rankin wrote:
Maybe somebody on the list is already doing something like that. Now you have me interested in how it could work...
I found two links.
<https://windowsreport.com/windows-10-external-drive/>
How to move Windows 10 to an external hard drive
They simply use Clonezilla installed on an auxiliary flash disk (booted with TuxBoot) to clone the existing internal disk with Windows to an external hard disk, nothing extra. But my case is different: I physically moved the disk.
but may be clonezilla can still "move" it to a third disk (if available)
Worth a try, but I would need to place the main disk "inside" and boot it, perhaps. I do have some old (retired) hard disks of 500 or 1000 GB.
I see clonezilla say it can move windows, but never tried it. I long time ago moved windows from his partition to an other one with linux without problem, but on an other internal disk
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 2018-06-26 02:57, Felix Miata wrote:
David C. Rankin composed on 2018-06-25 16:15 (UTC-0500):
Windows (and it's system partition) must be the first thing
IME this has never been true. Until very roughly 10 years years ago, I never put Windows on sda1. The only reason I switched to using sda1 for it is that any other primary is a larger size in sectors than a nominally identical logical. When it's on sda1, it can be cloned to an identical size logical as a simple backup.
on the *primary drive*. Win10 here gets only 400MB at the front of sda for its boot files. Its system and data partitions go on logicals, following the most important Linux and/or DOS partitions.
In my case sdb1 is EFI, sdb2 is the Windows boot partition, 16 megs, and sdb3 is the main windows partition. This was made by the manufacturer, but on sda, of course. I suspect that sdb2 has hardcoded that Windows is in sda3. I have to explore the Win2USB that Liam suggested. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
David C. Rankin
-
Felix Miata
-
jdd@dodin.org
-
Liam Proven