You are not logged in.

#1 2020-02-06 01:41:37

Favorinus
Member
Registered: 2016-04-26
Posts: 3

load root partition into memory before booting

Hi,

I need some advise for building an arch system.

Now I am using a stripped down windows 8.1  in a 2.2 GB VHD file which is loaded from a USB stick into RAM before booting using grub4dos.  The system has 8 GB of ram so losing 2.2 is not a big deal.
The system this way cannot be broken, just a reboot resets everything to it's initial state. the usb stick can also be remove while the system keeps running. and last the access speed of the ramdisk is beyond compare of that of a real usb partition.

now I want change windows 8.1 to arch.

how can I do this?

thanks,

Mariano

Offline

#2 2020-02-06 01:56:34

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 255

Re: load root partition into memory before booting

Take a look at my ancient post [SOLVED] Hook for Arch to optionally run "LIVE"


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 because I can.  ]=-
Backward compatibility is for the masses. There's no dual-boot here.

[KairiTech is only artificially intelligent.  Turing would be agast at just how artificial.]

Offline

#3 2020-02-06 02:15:36

Favorinus
Member
Registered: 2016-04-26
Posts: 3

Re: load root partition into memory before booting

Thanks for the reply,
I see just decompress into a tmpfs prior to boot it.

how about a more compressed ram image like squashfs ?

Offline

#4 2020-02-06 03:07:49

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 255

Re: load root partition into memory before booting

I don't use many apps and I never store my data or the pacman cache on the same partition as root so I've never considered using squashfs but I'm sure it's workable.


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 because I can.  ]=-
Backward compatibility is for the masses. There's no dual-boot here.

[KairiTech is only artificially intelligent.  Turing would be agast at just how artificial.]

Offline

Board footer

Powered by FluxBB