MOOS
MOOS copied to clipboard
Expand VHD disk size ?
Hello, I want to know if there is a way to use a custom VHD disk or expand size of initrd.vhd. To add more files on the disk
Thanks
Yes there is.
Edit: MAX SIZE is 510mb
- Delete path/to/moos/Tools/grub2/boot/initrd.vhd ( Copy all the files to another directory if you are resizing )
- Open Windows Disk Management. ( Windows Key + X, then press K )
- Click on Action -> Create VHD
- Set the location to path/to/moos/Tools/grub2/boot/initrd.vhd
- Set the size
- Leave all the other settings the same ( Virtual Hard Disk Format is "VHD" and Virtual Hard Disk Type is "Fixed" ) and press "OK"
- Right click on the new disk's information panel and select "Initialize Disk". Then select MBR, and click "OK"
- Right click on the new empty volume
- Click "New simple volume"
- Go through all the steps but when it asks for "Format Disk" select "Don't format Disk"
- Open CMD
- Type
diskpart
- Select "Yes" if a UAC prompt appears
- Run
list disk
- Look for the number of the disk that you just created
- Run
select disk {disk_number}
- Run
select partition 1
- Run
format fs=exfat
- Add your files to the disk
- Done
the maximum size of initrd is 510mb because kernel loads at 0x10000000
Thank you, Is it possible to use another disk than the one put in the ISO? (For example, inserting a VMDK on the machine like a real hard disk on VMWare).
check out misc/entrypoint.asm
the last disk that it initialize is the disk to use. so just not initialize ramdisk
but you have to use ramdisk because everything that moos need is in it
but you have to use ramdisk because everything that moos need is in it And if I put the files on a new disk ?
yeah
If I use an external VHD, with over 500mb of storage, do you think that the kernel will work correctly?
it will
@ArtOS-Developper Are you trying to view data in external VHDs within MOOS?