namespace:q4os
This is an old revision of the document!
sudo chmod +x /etc/initramfs-tools/scripts/init-bottom/ntfs-mount
If the Windows partition is not /dev/sda1 (you can check with cat /proc/partitions after the VM boots once), replace sda1 with the correct device name.
4. Re‑build the initramfs
First, make sure you are using an i686 kernel (the Omnibook’s CPU is 32‑bit). If you are on an amd64 kernel, install the 32‑bit one:
bash
sudo apt-get install -y linux-image-686
sudo reboot
After the VM boots the 32‑bit kernel, rebuild the initramfs:
bash
sudo update-initramfs -u -k all
The new initramfs will be written as /boot/initrd.img-$(uname -r).
5. Export the kernel and the freshly built initramfs
bash
# Find the exact kernel name (should be something‑686)
KERNEL=$(basename /boot/vmlinuz-*)
mkdir -p ~/export
cp /boot/$KERNEL ~/export/vmlinuz
cp /boot/initrd.img-$(uname -r) ~/export/initrd.img
sudo tee /etc/initramfs-tools/modules <<'EOF'
ata_piix
ahci
pata_acpi
sd_mod
libata
ntfs
ntfs3
ext4
vfat
loop
squashfs
iso9660
EOF
namespace/q4os.1761470519.txt.gz · Last modified: by jo
