| 660 | |
| 661 | == Q42/ How to transform a mondo CD/DVD into a mondo USB device ? == |
| 662 | |
| 663 | Follow and adapt the following recipe. First prepare the USB device (here /dev/sdc): |
| 664 | {{{ |
| 665 | # dd if=/dev/zero of=/dev/sdc bs=1M count=10 |
| 666 | # fdisk /dev/sdc << EOF |
| 667 | n |
| 668 | p |
| 669 | 1 |
| 670 | |
| 671 | |
| 672 | t |
| 673 | b |
| 674 | a |
| 675 | 1 |
| 676 | w |
| 677 | EOF |
| 678 | # mkdosfs -F 32 /dev/sdc1 |
| 679 | # mkdir -p /mnt1 |
| 680 | # mount /dev/sdc1 /mnt1 |
| 681 | }}} |
| 682 | Then copy the content of the mondo CD/DVD to the USE device mounted and prepare the device. |
| 683 | {{{ |
| 684 | # mkdir -p /mnt |
| 685 | # mount /path/to/mondorescue-1.iso /mnt -o loop |
| 686 | # cp -a /mnt/* /mnt1/* |
| 687 | # umount /mnt1 |
| 688 | # umount /mnt |
| 689 | # syslinux -s /dev/sdc1 |
| 690 | }}} |