Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and fixed.


computers / alt.comp.os.windows-10 / Partitioning VirtualBox

SubjectAuthor
* Partitioning VirtualBoxBill Bradshaw
+- Re: Partitioning VirtualBoxBig Al
`* Re: Partitioning VirtualBoxPaul
 `* Re: Partitioning VirtualBoxBill Bradshaw
  +- Re: Partitioning VirtualBoxPaul
  +- Re: Partitioning VirtualBoxPaul
  `- Re: Partitioning VirtualBoxAndy Burns

1
Partitioning VirtualBox

<jfsdgnFj297U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63325&group=alt.comp.os.windows-10#63325

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: brads...@gci.net (Bill Bradshaw)
Newsgroups: alt.comp.os.windows-10
Subject: Partitioning VirtualBox
Date: Thu, 2 Jun 2022 10:23:18 -0800
Lines: 5
Message-ID: <jfsdgnFj297U1@mid.individual.net>
X-Trace: individual.net Ja9Q+cjqGNADH9+/SY80tQHyw8HdZu0b/qbtivlaEX54t42VA=
Cancel-Lock: sha1:J99aksdfyxEbsqIbXkVF6cZnZdk=
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
 by: Bill Bradshaw - Thu, 2 Jun 2022 18:23 UTC

Is there a way to partition a VirtualBox drive?

<Bill>

Re: Partitioning VirtualBox

<t7b3bf$oll$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63329&group=alt.comp.os.windows-10#63329

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Bea...@invalid.com (Big Al)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Thu, 2 Jun 2022 15:34:06 -0400
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <t7b3bf$oll$1@dont-email.me>
References: <jfsdgnFj297U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 2 Jun 2022 19:34:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5498635ba86e2d9641dcaa561eb87d24";
logging-data="25269"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PnA2LPyQPgbJFOZ2LCMHJcg4MxZeM0IY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Cancel-Lock: sha1:130usoGmMN5YR+OKVAduedfqQu4=
In-Reply-To: <jfsdgnFj297U1@mid.individual.net>
Content-Language: en-US
 by: Big Al - Thu, 2 Jun 2022 19:34 UTC

On 6/2/22 14:23, this is what Bill Bradshaw wrote:
> Is there a way to partition a VirtualBox drive?
>
> <Bill>
>
>
How would you do it on a standard PC. You put in a drive, then a boot dvd or usb, then boot to something that lets you
partition. Windows and Linux (the two I know) will let you define how much you want to allocate for the OS. The
remainder is unallocated and can later be partitioned once the OS comes up.

Al

Re: Partitioning VirtualBox

<t7bmim$1qa$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63340&group=alt.comp.os.windows-10#63340

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Thu, 2 Jun 2022 21:02:13 -0400
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <t7bmim$1qa$1@dont-email.me>
References: <jfsdgnFj297U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 3 Jun 2022 01:02:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a9e8098a494841c49b38e94b45570c8a";
logging-data="1866"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xWvsd26ZFDDEE/OiVR4JdWoT1zgB/Yjk="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:hjtonmqbSd5rp4KMTwNpWItm3i4=
In-Reply-To: <jfsdgnFj297U1@mid.individual.net>
Content-Language: en-US
 by: Paul - Fri, 3 Jun 2022 01:02 UTC

On 6/2/2022 2:23 PM, Bill Bradshaw wrote:
> Is there a way to partition a VirtualBox drive?
>
> <Bill>

1) Boot Linux LiveDVD and use

sudo apt install gparted
sudo gparted /dev/sda # If you only want to work on one disk
sudo gparted # Or use menu to select sda, sdb, sdc...

2) Boot Windows Installer DVD, select Troubleshooting,
select Command Prompt. The Command Prompt is administrator level...

diskpart
list disk
select disk 1 # like selecting sda in Linux
... # There are commands for the rest of it.
# You can create blank labeled partitions for everything

When a disk is blank (like a new VirtualBox disk), you need to
tell the disk whether it is to be MBR (legacy partitioning) or GPT
(suited to later Windows). Then you can define partitions.

When OS installers do their thing, they may re-format a volume
and screw up your carefully curated "label". Which will have to be
put back later via "Properties" or similar.

*******

Usually the OS installer has a "Custom" selector, and there is
a mini-partitioning tool offered to you there. Only the MacOS
is arcane enough to have a separate human-aided disk setup step.

*******

Windows Disk Management, if you "click" the left-most box in
any disk row, the "Attach VHD" commands in the menu will be enabled.
You can attach a .vhd file as a disk drive, and work on it in
host Disk Management. When done, you select Detach for the item in question,
as Disk Management cannot have a .vhd attached at the same time VirtualBox
is writing to it :-) I don't generally start with completely blank
..vhd files and do the entire setup that way. But I do attach .vhd files
for other types of operations, such as sdelete64 -z Q: to
zero out the white space on VHD volume Q: .

The diskpart command (analogous to the GUI Disk Management diskmgmt.msc
application), it also can interact with .vhd files. And I "compact"
VHD files there (shrink down the zeroed out space from the previous
sdelete64 step).

diskpart
select vdisk FILE=F:\WIN10.vhd
compact vdisk

When you make a brand-new dynamic VHD, it is already shrunk as
much as it will go.

VHDs also come in static flavor, where the
file starts out 40GB in size, and neither
shrinks nor grows. But that is a horrible waste of space.

The other container formats, have even crazier options. One of the
containers can be segmented, so your 40GB drive can consist of
ten 4GB files. And if you lose one... etc.

Paul

Re: Partitioning VirtualBox

<jfup32F10dnU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63378&group=alt.comp.os.windows-10#63378

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: brads...@gci.net (Bill Bradshaw)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Fri, 3 Jun 2022 07:53:04 -0800
Lines: 79
Message-ID: <jfup32F10dnU1@mid.individual.net>
References: <jfsdgnFj297U1@mid.individual.net> <t7bmim$1qa$1@dont-email.me>
X-Trace: individual.net Dc1f93upjzYyw5dXkFHuCguirXsBFwhHmVllDbwyjnTPMJlLM=
Cancel-Lock: sha1:gKp8HTXkiIpt6MP1HSIaSz+5TFs=
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
 by: Bill Bradshaw - Fri, 3 Jun 2022 15:53 UTC

Paul wrote:
> On 6/2/2022 2:23 PM, Bill Bradshaw wrote:
>> Is there a way to partition a VirtualBox drive?
>>
>> <Bill>
>
> 1) Boot Linux LiveDVD and use
>
> sudo apt install gparted
> sudo gparted /dev/sda # If you only want to work on one disk
> sudo gparted # Or use menu to select sda, sdb, sdc...
>
> 2) Boot Windows Installer DVD, select Troubleshooting,
> select Command Prompt. The Command Prompt is administrator level...
>
> diskpart
> list disk
> select disk 1 # like selecting sda in Linux
> ... # There are commands for the rest of it.
> # You can create blank labeled
> partitions for everything
> When a disk is blank (like a new VirtualBox disk), you need to
> tell the disk whether it is to be MBR (legacy partitioning) or GPT
> (suited to later Windows). Then you can define partitions.
>
> When OS installers do their thing, they may re-format a volume
> and screw up your carefully curated "label". Which will have to be
> put back later via "Properties" or similar.
>
> *******
>
> Usually the OS installer has a "Custom" selector, and there is
> a mini-partitioning tool offered to you there. Only the MacOS
> is arcane enough to have a separate human-aided disk setup step.
>
> *******
>
> Windows Disk Management, if you "click" the left-most box in
> any disk row, the "Attach VHD" commands in the menu will be enabled.
> You can attach a .vhd file as a disk drive, and work on it in
> host Disk Management. When done, you select Detach for the item in
> question, as Disk Management cannot have a .vhd attached at the same time
> VirtualBox is writing to it :-) I don't generally start with completely
> blank
> .vhd files and do the entire setup that way. But I do attach .vhd
> files for other types of operations, such as sdelete64 -z Q: to
> zero out the white space on VHD volume Q: .
>
> The diskpart command (analogous to the GUI Disk Management
> diskmgmt.msc application), it also can interact with .vhd files. And I
> "compact"
> VHD files there (shrink down the zeroed out space from the previous
> sdelete64 step).
>
> diskpart
> select vdisk FILE=F:\WIN10.vhd
> compact vdisk
>
> When you make a brand-new dynamic VHD, it is already shrunk as
> much as it will go.
>
> VHDs also come in static flavor, where the
> file starts out 40GB in size, and neither
> shrinks nor grows. But that is a horrible waste of space.
>
> The other container formats, have even crazier options. One of the
> containers can be segmented, so your 40GB drive can consist of
> ten 4GB files. And if you lose one... etc.
>
> Paul

Thanks. I should have given more information. It is a VDI disk running 32
bit WinXP. The VDI was created at 10 Gigs and I assume is MBR. I want to
create a 500MB fat partition on it for an old DOS program that does not like
anything but fat.

<Bill>

Re: Partitioning VirtualBox

<t7dk9u$svn$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63391&group=alt.comp.os.windows-10#63391

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Fri, 3 Jun 2022 14:35:42 -0400
Organization: A noiseless patient Spider
Lines: 109
Message-ID: <t7dk9u$svn$1@dont-email.me>
References: <jfsdgnFj297U1@mid.individual.net> <t7bmim$1qa$1@dont-email.me>
<jfup32F10dnU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 3 Jun 2022 18:35:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a9e8098a494841c49b38e94b45570c8a";
logging-data="29687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aPejS+/P4huUC+HWZf0uagt6p7snYtdc="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:SNWDBZvc4SpuB8mGcf7civvuFts=
In-Reply-To: <jfup32F10dnU1@mid.individual.net>
Content-Language: en-US
 by: Paul - Fri, 3 Jun 2022 18:35 UTC

On 6/3/2022 11:53 AM, Bill Bradshaw wrote:
> Paul wrote:
>> On 6/2/2022 2:23 PM, Bill Bradshaw wrote:
>>> Is there a way to partition a VirtualBox drive?
>>>
>>> <Bill>
>>
>> 1) Boot Linux LiveDVD and use
>>
>> sudo apt install gparted
>> sudo gparted /dev/sda # If you only want to work on one disk
>> sudo gparted # Or use menu to select sda, sdb, sdc...
>>
>> 2) Boot Windows Installer DVD, select Troubleshooting,
>> select Command Prompt. The Command Prompt is administrator level...
>>
>> diskpart
>> list disk
>> select disk 1 # like selecting sda in Linux
>> ... # There are commands for the rest of it.
>> # You can create blank labeled
>> partitions for everything
>> When a disk is blank (like a new VirtualBox disk), you need to
>> tell the disk whether it is to be MBR (legacy partitioning) or GPT
>> (suited to later Windows). Then you can define partitions.
>>
>> When OS installers do their thing, they may re-format a volume
>> and screw up your carefully curated "label". Which will have to be
>> put back later via "Properties" or similar.
>>
>> *******
>>
>> Usually the OS installer has a "Custom" selector, and there is
>> a mini-partitioning tool offered to you there. Only the MacOS
>> is arcane enough to have a separate human-aided disk setup step.
>>
>> *******
>>
>> Windows Disk Management, if you "click" the left-most box in
>> any disk row, the "Attach VHD" commands in the menu will be enabled.
>> You can attach a .vhd file as a disk drive, and work on it in
>> host Disk Management. When done, you select Detach for the item in
>> question, as Disk Management cannot have a .vhd attached at the same time
>> VirtualBox is writing to it :-) I don't generally start with completely
>> blank
>> .vhd files and do the entire setup that way. But I do attach .vhd
>> files for other types of operations, such as sdelete64 -z Q: to
>> zero out the white space on VHD volume Q: .
>>
>> The diskpart command (analogous to the GUI Disk Management
>> diskmgmt.msc application), it also can interact with .vhd files. And I
>> "compact"
>> VHD files there (shrink down the zeroed out space from the previous
>> sdelete64 step).
>>
>> diskpart
>> select vdisk FILE=F:\WIN10.vhd
>> compact vdisk
>>
>> When you make a brand-new dynamic VHD, it is already shrunk as
>> much as it will go.
>>
>> VHDs also come in static flavor, where the
>> file starts out 40GB in size, and neither
>> shrinks nor grows. But that is a horrible waste of space.
>>
>> The other container formats, have even crazier options. One of the
>> containers can be segmented, so your 40GB drive can consist of
>> ten 4GB files. And if you lose one... etc.
>>
>> Paul
>
> Thanks. I should have given more information. It is a VDI disk running 32
> bit WinXP. The VDI was created at 10 Gigs and I assume is MBR. I want to
> create a 500MB fat partition on it for an old DOS program that does not like
> anything but fat.
>
> <Bill>

In the Wikipedia article, there is FAT12, FAT16, and FAT32.

I think there is some size dependency. I seem to remember using
the "HP Formatter" for a relatively small USB stick.

But some of this is pretty old topic material. Even in 2004,
people were having trouble remembering what to do :-)

https://msfn.org/board/topic/34410-fat12-format-tool-needed/

FAT32 can be done with the Ridgecrop Formatter.

The HP Formatter was used for small USB sticks, and
that's either FAT12 or FAT16. This is probably not the
version I used back then. The URLs for HP stuff kept changing,
so I don't know how easy it will be to track one down.

https://download.cnet.com/HP-USB-Disk-Storage-Format-Tool/3000-2094_4-10974082.html

Using a P2V tool is one way to take a formatted physical device
and make a virtual volume out of it. For example disk2vhd from
sysinternals, could do that. But then you'd need a VHD to VDI tool.
And it's always a royal pain figuring out how to chain together
enough odd crusty tools to do some of those. Like, VBoxManage does
not have a full matrix of functions. Some of the from-to combinations
are missing.

Paul

Re: Partitioning VirtualBox

<t7eeji$qb8$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63405&group=alt.comp.os.windows-10#63405

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!aioe.org!wKOQXwthE3qNzCdODXx6NA.user.46.165.242.75.POSTED!not-for-mail
From: nos...@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Fri, 3 Jun 2022 22:04:35 -0400
Organization: Aioe.org NNTP Server
Message-ID: <t7eeji$qb8$1@gioia.aioe.org>
References: <jfsdgnFj297U1@mid.individual.net> <t7bmim$1qa$1@dont-email.me>
<jfup32F10dnU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="26984"; posting-host="wKOQXwthE3qNzCdODXx6NA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Paul - Sat, 4 Jun 2022 02:04 UTC

On 6/3/2022 11:53 AM, Bill Bradshaw wrote:

>
> Thanks. I should have given more information. It is a VDI disk running 32
> bit WinXP. The VDI was created at 10 Gigs and I assume is MBR. I want to
> create a 500MB fat partition on it for an old DOS program that does not like
> anything but fat.
>
> <Bill>

There's nothing particularly special about the GParted CD.
It is even tough to get it to boot in VirtualBox.

But it can be used to make FAT12 or FAT16, can take two separate programs.

https://i.postimg.cc/KYtFLk16/adventures-in-FAT.gif

mkdosfs -F 12 /dev/sda1

Paul

Re: Partitioning VirtualBox

<jg0g4kF8m5rU5@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=63412&group=alt.comp.os.windows-10#63412

  copy link   Newsgroups: alt.comp.os.windows-10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: use...@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10
Subject: Re: Partitioning VirtualBox
Date: Sat, 4 Jun 2022 08:32:36 +0100
Lines: 13
Message-ID: <jg0g4kF8m5rU5@mid.individual.net>
References: <jfsdgnFj297U1@mid.individual.net> <t7bmim$1qa$1@dont-email.me>
<jfup32F10dnU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net j85CnRHbC3GUnAp5weSZCwrieql2pM62uj6XqClMhL1W6XfDUw
Cancel-Lock: sha1:QJQ6gsauPGkJcaEZQEdhvwd6kPw=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101
Thunderbird/101.0
Content-Language: en-GB
In-Reply-To: <jfup32F10dnU1@mid.individual.net>
 by: Andy Burns - Sat, 4 Jun 2022 07:32 UTC

Bill Bradshaw wrote:

> I should have given more information. It is a VDI disk running 32
> bit WinXP. The VDI was created at 10 Gigs and I assume is MBR. I want to
> create a 500MB fat partition on it for an old DOS program that does not like
> anything but fat.

I'd do exactly the same as I would if it was a physical disk, instead of virtual.

Boot a vbox VM from a .iso of partedmagic and use it to shrink/move your 10GB to
make space for a 500MB FAT partition ...

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor