Difference between revisions of "Ubuntu LiveCD Creation"

From copec
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
== Links ==
 
== Links ==
[https://help.ubuntu.com/community/LiveCDCustomizationFromScratch https://help.ubuntu.com/community/LiveCDCustomizationFromScratch]
+
* [https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall]
[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]
+
* [http://manpages.ubuntu.com/manpages/xenial/man7/casper.7.html http://manpages.ubuntu.com/manpages/xenial/man7/casper.7.html]
[http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/chroot.html http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/chroot.html]
+
* [https://help.ubuntu.com/community/LiveCDCustomizationFromScratch https://help.ubuntu.com/community/LiveCDCustomizationFromScratch]
[http://www.pendrivelinux.com/using-unetbootin-to-create-a-linux-usb-from-linux/ http://www.pendrivelinux.com/using-unetbootin-to-create-a-linux-usb-from-linux/]
+
* [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]
[http://unetbootin.github.io/ http://unetbootin.github.io/]
+
* [http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/chroot.html 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://www.pendrivelinux.com/using-unetbootin-to-create-a-linux-usb-from-linux/]
 +
* [http://unetbootin.github.io/ http://unetbootin.github.io/]

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