drakkar-lig / debootstick

Generate a bootable live image from any Debian/Ubuntu filesystem tree.
62 stars 18 forks source link

Wishlist: Allow generate cdrom image to create live-cds #13

Closed i5513 closed 4 years ago

i5513 commented 6 years ago

Hello,

After running debootstick on a debian sid chroot, and generating the iso. It will run fine on my kvm

But If I load it from CDROM on esxi 4.1 it won't boot

Do you have any hint about how to make it run on vmware ?

Thank you ! PD: Maybe a FAQ entry ?

eduble commented 6 years ago

Hello, debootstick does not generate CDROM images. It generates raw disk images. (This is a design choice I took, because CDROM images have major issues over the long term. For example you cannot update the kernel and the bootloader on such a system.)

So you should attach it as a disk, not as a CDROM. I am not familiar with vmware, can you attach the image as a "raw disk"? If not, convert the image to vmdk first, with a command such as: $ qemu-img convert -f raw -O vmdk image.dd image.vmdk And attach image.vmdk as a disk. Let me know if it works. Thank you.

i5513 commented 6 years ago

Sorry I forgot about ISO 9660 / UDF format. Now I totally understand why it is not working.

I wanted to use your tool for making a live cd to recover a system

On vmware 4.1 to recover a system you can attach a CDROM to the vm and then work with its disks

Sorry for the confusion, so this issue should be labeled like "Please, add support to create CDROM image"

Thanks !

eduble commented 6 years ago

On vmware 4.1 to recover a system you can attach a CDROM to the vm and then work with its disks

And you cannot attach the debootstick image as the primary disk and boot on it?

Sorry for the confusion, so this issue should be labeled like "Please, add support to create CDROM image"

ISO booting is quite different from what debootstick does, so that would require much work. Plus, as I said, this is a motivated design choice, to favor disk images. Plus, optical disks is almost an obsolete technology nowadays! :) Thus sorry but you should not expect too much that debootstick would evolve this way...