namespace:q4os
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| namespace:q4os [2025/10/26 08:02] – jo | namespace:q4os [2025/10/27 07:00] (current) – jo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | `Your unformatted text` | + | < |
| + | sudo chmod +x / | ||
| + | |||
| + | If the Windows partition is not /dev/sda1 (you can check with cat / | ||
| + | |||
| + | 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 / | ||
| + | 5. Export the kernel and the freshly built initramfs | ||
| + | |||
| + | bash | ||
| + | |||
| + | # Find the exact kernel name (should be something‑686) | ||
| + | KERNEL=$(basename / | ||
| + | |||
| + | mkdir -p ~/export | ||
| + | cp / | ||
| + | cp / | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | sudo tee / | ||
| + | ata_piix | ||
| + | ahci | ||
| + | pata_acpi | ||
| + | sd_mod | ||
| + | libata | ||
| + | ntfs | ||
| + | ntfs3 | ||
| + | ext4 | ||
| + | vfat | ||
| + | loop | ||
| + | squashfs | ||
| + | iso9660 | ||
| + | EOF | ||
| + | |||
| + | |||
| + | </ | ||
namespace/q4os.1761465724.txt.gz · Last modified: by jo
