Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I formatted my ~200GB HDD with RMPrepUSB to FAT32 and with syslinux bootloader.

Used XBoot to "Create USB" with debian-6.0.6-amd64-netinst.iso inside.

In linux.cfg it shows up as:

### MENU START
LABEL -
MENU LABEL Debian 6 netinst x64 (debian-6.0.6-amd64-netinst)
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/debian6x64netinst.iso || find --set-root /images/debian6x64netinst.iso;map --heads=0 --sectors-per-track=0 /images/debian6x64netinst.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/debian6x64netinst.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
debian-6.0.6-amd64-netinst
ENDTEXT
### MENU END

The problem is, when booting from it and trying to install, it refuses to continue install, as it "can't find CDROM".

Could you explain me why is it happening and what should be done, to solve?

PS: I want to create my universal USB-HDD, with many distros' inside, want to be able to boot from that and choose, which .iso to boot from, and XBoot looks just the piece of software, to achieve my needs.

share|improve this question

1 Answer 1

Debian netinst is a bit special in regards to iso booting. The kernel on the ISO has zero support for filesystems and devices other than cdrom iso9660. It simply can not loop mount an ISO image. It can't even mount an ext2 partition from a local drive because pretty much everything is missing. With Debian when you download a CD image it really is CD only.

However for the Debian netinst there is a simple solution: Debian offers a different kernel and initrd for that which can be booted directly using any bootloader of your choice. No need for the ISO.

You can find these files here:

http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux

http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

Example boot entry for grub2: (linux and initrd.gz renamed accordingly)

    menuentry "Debian squeeze amd64 netinst" {
        linux /debian/squeeze-amd64-linux
        initrd /debian/squeeze-amd64-initrd
    }

That boots into a netinstaller which just works without CD.

share|improve this answer
    
Thanks for the post. I have made a long way before I understood that neither hd-media kernel nor debian-x-i386-netinst.iso image cannot mount FAT32 partitions, thus can't be used for USB booting for big flash drives. –  dma_k Jun 15 at 19:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.