Deutsch   English   Français   Italiano  
<u7r69b$38g8q$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.comp.hardware.pc-homebuilt
Subject: Re: clone not image when you upgrade to a larger drive...duh
Date: Sun, 2 Jul 2023 02:42:50 -0400
Organization: A noiseless patient Spider
Lines: 168
Message-ID: <u7r69b$38g8q$1@dont-email.me>
References: <39b569a0-0f9a-41fd-bb4c-ea5fd974cc35n@googlegroups.com>
 <df9700f5-1e34-4c34-a5b9-174d53cdf1fan@googlegroups.com>
 <u7e763$1blfi$1@dont-email.me>
 <8740ff2d-aa41-4428-987c-09d1e9baca03n@googlegroups.com>
 <u7qabc$321os$1@dont-email.me>
 <0face8ed-6e19-4f9b-a8ef-a3694fec040cn@googlegroups.com>
 <69bcbfac-6c25-46ee-8af0-1700f9046241n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 2 Jul 2023 06:42:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9feba30ca8f42587846320b146251a4e";
	logging-data="3424538"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19jiT9so4SRn2DYwqNVb7dupeRrg36mVhs="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:icMNCFbB/rm7CSrL3Ha5gCcGSeQ=
In-Reply-To: <69bcbfac-6c25-46ee-8af0-1700f9046241n@googlegroups.com>
Content-Language: en-US
Bytes: 8064

On 7/1/2023 11:55 PM, RayLopez99 wrote:
> On Saturday, July 1, 2023 at 11:47:45 PM UTC-4, RayLopez99 wrote:
>>>
>> I think I did get the 4.7 GB version (4.47 GB (4,810,539,008 bytes)) downloaded from MSFT as you describe. But I think (without checking) that it did not fit on my DVD?!
>>
>   
>> RL
> 
> BTW that's not a typo:  "Properties" shows both "size" and "size on disk" as shown above:  4.47 GB (4,810,539,008 bytes))
> 
> So it's 4.81 GB (masquerading as a 4.47 GB file) which will not fit on a standard DVD (limited to 4.7 GB).  That is using the .ISO provided by the "Media Creation Tool" for x64 Windows 10.
> 
> So I was right (memory is still good), it was 4.47 GB but in fact (due to I guess NTFS somesuch format conventions for memory chunks or what not) 4.81 GB in size, which is greater than the limit of 4.7 GB of a standard DVD.
> 
> I might again try to see if I get the same size downloaded, but I don't think I will, since I just checked the September 2020 Windows 10 ISO (which I have on my hard drive) and find it's exactly:  4,133,824 KB in size, well below the 4.7 GB limit.
> 
> To reiterate, I think after at least September 2020, MSFT has Windows 10 ISOs that don't fit on a standard 4.7 GB DVD.
> 
> RL
> 

Working on it.

*******

OK, I actually tested before I got your two messages, you're right and I was wrong.

It's now too big.

I guess I really do have to keep downloading these damn things.

Name: Windows.iso
Size: 4,801,691,648 bytes (4579 MiB)
SHA256: 7F1C44908A864C55F614C8D68796C63F50818992C10E130B10424250D38CA7A5

( https://www.winxdvd.com/dvd-ripper/dvd-size-capacity.htm )

Type        Sectors      Bytes            kB           MB       GB
DVD-R SL    2,298,496    4,707,319,808    4,707,320    4,707    4.7   <=== won't fit on this
DVD+R SL    2,295,104    4,700,372,992    4,700,373    4,700    4.7

This can be fixed by remastering. Really only two of seven images are worth keeping.
Index 1 and Index 6. Remastering depends on compression for results.

<VERSION>
    <MAJOR>10</MAJOR>
    <MINOR>0</MINOR>
    <BUILD>22621</BUILD>
    <SPBUILD>1702</SPBUILD>

<WIM>
     <IMAGE INDEX="1">
         <DISPLAYNAME>Windows 11 Home</DISPLAYNAME>
     <IMAGE INDEX="2">
         <DISPLAYNAME>Windows 11 Home N</DISPLAYNAME>
     <IMAGE INDEX="3">
         <DISPLAYNAME>Windows 11 Home Single Language</DISPLAYNAME>
     <IMAGE INDEX="4">
         <DISPLAYNAME>Windows 11 Education</DISPLAYNAME>
     <IMAGE INDEX="5">
         <DISPLAYNAME>Windows 11 Education N</DISPLAYNAME>
     <IMAGE INDEX="6">
         <DISPLAYNAME>Windows 11 Pro</DISPLAYNAME>
     <IMAGE INDEX="7">
         <DISPLAYNAME>Windows 11 Pro N</DISPLAYNAME>
</WIM>

https://www.tenforums.com/tutorials/133098-dism-create-bootable-iso-multiple-windows-10-images.html
https://oofhours.com/2021/08/04/make-windows-images-smaller-easily/

Using 7ZIP, I extracted the install.esd out of the ISO file. I renamed
this to installorig.esd to avoid confusion. Here, I copy index 1 and index 6
and pick terse names for the installer menu entries.

Administrator:

dism /Export-Image /SourceImageFile:D:\installorig.esd /SourceIndex:1 /DestinationImageFile:D:\install.esd
    /DestinationName:"W11Home64" /compress:recovery

dism /Export-Image /SourceImageFile:D:\installorig.esd /SourceIndex:6 /DestinationImageFile:D:\install.esd
    /DestinationName:"W11Pro64" /compress:recovery

I had to switch from "max" to "recovery" to get enough compression. "Recovery" compression seems to be
the same format as was used on the original ESD.

installorig.esd   4,056,557,808 bytes
install.esd       3,907,625,876 bytes   <=== it almost looks like is copies the solid block over...
                                              We may have saved enough this way. Just barely.

I create an empty directory D:\DVD and using 7ZIP, unpack the entire ISO into D:\DVD .
I navigate to Sources folder, delete the install.esd (== installorig.esd) that came in the ISO, and
put my home-made install.esd in its place. Now, the D:\DVD folder represents
the contents of my new ISO I want to make.

Macrium has an "oscdimg.exe" in its kits collection (if
you made a Macrium WinPE rescue disc). Macrium can use a WinRE.wim extracted from
your hard drive, if you allow it to use its default method. If you instead select
the custom method, of using a WADK kit, it downloads some stuff, including "oscdimg.exe".
Or, you can just download a WADK kit yourself (which may take a while).

Kari has a recipe for oscdimg that I used.

https://www.elevenforum.com/t/create-custom-windows-11-iso-file.443/

    oscdimg.exe -m -o -u2 -udfver102
      -bootdata:2#p0,e,bd:\dvd\boot\etfsboot.com#pEF,e,bd:\dvd\efi\microsoft\boot\efisys.bin
         d:\dvd d:\new.iso

This is what that looks like, copied out of the administrator Command Prompt window.

D:\>oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,bd:\dvd\boot\etfsboot.com#pEF,e,bd:\dvd\efi\microsoft\boot\efisys.bin d:\dvd d:\new.iso

OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2012. All rights reserved.
Licensed only for producing Microsoft authorized content.

Scanning source tree (500 files in 43 directories)
Scanning source tree complete (947 files in 86 directories)

Computing directory information complete

Image file is 4650270720 bytes (before optimization)

Writing 947 files in 86 directories to d:\new.iso

100% complete

Storage optimization saved 4 files, 24576 bytes (0% of image)

After optimization, image file is 4652345344 bytes
Space saved because of embedding, sparseness or optimization = 24576

Done.

Name: new.iso
Size: 4,652,345,344 bytes (4436 MiB)
SHA256: 8C86473F4F6612A2A5F55BE8451A1279C206D85FDE2882AD5BA439F97669D07B

That's a little bit less than the DVD limit :-)
Even remastering is getting damn close to not good enough.

*******

Now, I have to test it.

I'll have to switch boot OSes and set up a VM for it.

Works fine.

Needs lots of cores to unpack the contents.
I ran the VM on two cores, and it was slug slow. Stopped
the machine, and kicked it off again with a few more cores,
and it was fine as far as these slug-slow installers go.

    [Picture]

     https://i.postimg.cc/cC1jmt8J/w11testinstall-04.gif

I used T [Todds] recipe of using

    account:   a@a.a
    password:  a

to get around having to enter an MSA. It would not
have mattered, the entry of an MSA, just the nuisance of
me finding the piece of paper with the details on it.

    Paul