Difference between revisions of "Ubuntu LiveCD Creation"
From copec
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
== Links == | == Links == | ||
− | * [https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall] | + | * [https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall] |
+ | * [http://manpages.ubuntu.com/manpages/xenial/man7/casper.7.html http://manpages.ubuntu.com/manpages/xenial/man7/casper.7.html] | ||
* [https://help.ubuntu.com/community/LiveCDCustomizationFromScratch https://help.ubuntu.com/community/LiveCDCustomizationFromScratch] | * [https://help.ubuntu.com/community/LiveCDCustomizationFromScratch https://help.ubuntu.com/community/LiveCDCustomizationFromScratch] | ||
* [https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem] | * [https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem] |
Latest revision as of 11:39, 18 November 2017
Commands
506 mount --bind /dev /target/dev 507 mount --bind /dev/pts /target/dev/pts 508 mount --bind /proc /target/proc 509 mount --bind /sys /target/sys 510 chroot /target /bin/bash --login 491 chroot target dpkg-query -W --showformat='${Package} ${Version}\n' | sudo tee image/casper/filesystem.manifest 492 cp -v image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop 496 mksquashfs target image/casper/filesystem.squashfs 497 printf $(du -sx --block-size=1 target | cut -f1) > image/casper/filesystem.size 498 (cd image && find . -type f -print0 | xargs -0 md5sum | grep -v "\./md5sum.txt" > md5sum.txt) 500 mkisofs -r -V "Ubuntu 16.04 Rescue" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-1604-rescue.iso .
Links
- https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall
- http://manpages.ubuntu.com/manpages/xenial/man7/casper.7.html
- https://help.ubuntu.com/community/LiveCDCustomizationFromScratch
- https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem
- http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/chroot.html
- http://www.pendrivelinux.com/using-unetbootin-to-create-a-linux-usb-from-linux/
- http://unetbootin.github.io/