Похожие чаты

I received a disk image of a VPS I'm supposed

to import to a customer's cluster. After some digging I found out it's not a disk image, but a partition image. So there's no partition table. I suspect there's some really hacky way to get this to boot?

4 ответов

5 просмотров

it depends on the OS, perhaps if it is Debian or Arch you could create an empty drive, format it with a partition table and a matching size partition inside (exact number of blocks, to be clear), then overwrite the partition in your disk image with your partition image (I'm supposing the partition image is for the root of the filesystem), and finally boot a live image, enter chroot and reinstall GRUB2

Wout- Автор вопроса
Bryan Joshua Pedini
it depends on the OS, perhaps if it is Debian or A...

It's a centOS system, but yeah I'm actually trying this now! copying the raw partition image to a cleanly formatted "disk" now.

Wout
It's a centOS system, but yeah I'm actually trying...

okay then, as I said before, good luck with the dracut system when trying to boot

Похожие вопросы

Обсуждают сегодня

Карта сайта