Results 1 to 9 of 9

Thread: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHardd

  1. #1
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,658
    Distro
    Ubuntu

    Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHardd

    Please use this thread for discussion regarding

    https://help.ubuntu.com/community/Ma...arddiskInstall

    Support threads should be posted in normal forums.

    Thank you.

  2. #2
    Join Date
    Mar 2011
    Location
    Cheyenne, WY USA
    Beans
    42
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Last edited by c4c; January 2nd, 2013 at 07:41 AM. Reason: Solved by using Remastersys

  3. #3
    Join Date
    Feb 2010
    Location
    City Of Angels
    Beans
    110
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    I'm now on the part "C. Chroot into the new system and modify it:"

    whenever I do update, I'm getting this error


    Code:
    root@ubuntu:/# apt-get update
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring Release.gpg
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring Release
    Err http://dl.google.com stable Release.gpg
    Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
    Ign http://dl.google.com stable Release
    Err http://archive.ubuntu.com raring Release.gpg
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/main i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/restricted i386 Packages
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err http://archive.ubuntu.com raring-updates Release.gpg
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security Release.gpg
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/main Translation-en_US
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/main Translation-en
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/restricted Translation-en_US
    Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424) raring/restricted Translation-en
    Ign http://security.ubuntu.com raring-security Release
    Ign http://archive.ubuntu.com raring Release
    Ign http://archive.ubuntu.com raring-updates Release
    Err http://dl.google.com stable/main i386 Packages
    Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
    Err http://dl.google.com stable/main Translation-en_US
    Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
    Err http://dl.google.com stable/main Translation-en
    Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/main i386 Packages
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/restricted i386 Packages
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/main Translation-en_US
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/main Translation-en
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/restricted Translation-en_US
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://security.ubuntu.com raring-security/restricted Translation-en
    Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/main i386 Packages
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/restricted i386 Packages
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/main Translation-en_US
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/main Translation-en
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/restricted Translation-en_US
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring/restricted Translation-en
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/main i386 Packages
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/restricted i386 Packages
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/main Translation-en_US
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/main Translation-en
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/restricted Translation-en_US
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    Err http://archive.ubuntu.com raring-updates/restricted Translation-en
    Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ng/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...es/Release.gpg Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://dl.google.com/linux/chrome/de...le/Release.gpg Something wicked happened resolving 'dl.google.com:http' (-11 - System error)


    W: Failed to fetch cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)/dists/raring/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs


    W: Failed to fetch cdrom://Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)/dists/raring/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs


    W: Failed to fetch http://dl.google.com/linux/chrome/de...-i386/Packages Something wicked happened resolving 'dl.google.com:http' (-11 - System error)


    W: Failed to fetch http://dl.google.com/linux/chrome/de...nslation-en_US Something wicked happened resolving 'dl.google.com:http' (-11 - System error)


    W: Failed to fetch http://dl.google.com/linux/chrome/de...Translation-en Something wicked happened resolving 'dl.google.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...-i386/Packages Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_US Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...nslation-en_US Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...Translation-en Something wicked happened resolving 'security.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_US Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_US Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...-i386/Packages Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_US Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...nslation-en_US Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...Translation-en Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)


    E: Some index files failed to download. They have been ignored, or old ones used instead.
    can't find any fix
    Proverbs 16:9
    In his heart a man plans his course, but the LORD determines his steps.

  4. #4
    Join Date
    Sep 2013
    Beans
    4

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Hi there.

    I need some help with creating bootable CD/DVD based on installed version of Ubuntu.

    The last step ends with the error on my machine.
    E. Build the CD/DVD
    1. Make the ISO file
    Code:
    sudo grub-mkrescue -o ~/live-cd.iso ${CD}
    Code:
    grub-mkrescue -o
    seems to be not available anymore so I was trying to use --output, but then I get en error
    Code:
    sudo grub-mkrescue --output=~/ISO.iso ${CD}
    Enabling BIOS support ...
    Using MULTIBOO.000;1 for /tmp/grub-mkrescue.xaZXtfoLhU/boot/grub/i386-pc/multiboot2.mod (multiboot.mod)
    Using GCRY_SHA.000;1 for /tmp/grub-mkrescue.xaZXtfoLhU/boot/grub/i386-pc/gcry_sha1.mod (gcry_sha256.mod)
    Using GCRY_SHA.001;1 for /tmp/grub-mkrescue.xaZXtfoLhU/boot/grub/i386-pc/gcry_sha256.mod (gcry_sha512.mod)
    Using PASSWORD.000;1 for /tmp/grub-mkrescue.xaZXtfoLhU/boot/grub/i386-pc/password.mod (password_pbkdf2.mod)
    Using SEARCH_F.000;1 for /tmp/grub-mkrescue.xaZXtfoLhU/boot/grub/i386-pc/search_fs_file.mod (search_fs_uuid.mod)
    grub-mkisofs: Unable to open disc image file
    : No such file or directory

    According to kababbaro post i have changed chmod to +r recursively to all files.
    I doesn't change anything. I still get error message posted above.

    Can you help me fix this issue?
    I'm using /usr/bin/grub-mkrescue (GNU GRUB 1.98-1ubuntu13) on Ubuntu 10.04 32-bit.

    Best Regards,
    Kamil

  5. #5
    Join Date
    May 2007
    Beans
    21

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    I found the answer here

    Specifically - after mounted dev, proc and sys, but before chroot, I did this:

    (I've modified it to fit the guide we're following)

    sudo cp /etc/hosts $WORK/rootfs/etc/hosts
    sudo rm $WORK/rootfs/etc/resolv.conf
    sudo cp /etc/resolv.conf $WORK/rootfs/etc/resolv.conf
    sudo cp /etc/apt/sources.list $WORK/rootfs/etc/apt/sources.list
    After doing all that, I chrooted into $WORK/rootfs and the apt-get update and all following steps worked first time.

    Hope that helps

  6. #6
    Join Date
    Jun 2010
    Location
    Kuwait
    Beans
    56
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Thanks for the extensive information. I tried using the steps described in the wiki, faced the following issues:
    1- Unable to connect to internet from the chroot inveronment, which could be overcome by editing resolv.conf and adding a name server
    2- During the creation of the CD I get the following warnings:
    df: Warning: cannot read table of mounted file systems: No such file or directory
    cryptsetup: WARNING: could not determine root device from /etc/fstab
    I checked /etc/fstab which appears to be empty.
    I completed the steps, ignoring the warnings, and created a live USB stick. it boots normally, but asks for login.
    I tried the same username and password used during creation , the root username and password, and user ubuntu with blank password nothing worked.
    I repeated the steps, and created a user under the chroot environment , also didn't work
    I tried logging in by pressing ALT+F1 but the system doesn't even give the login prompt, it shows authentication error.
    I am using Ubuntu 13.10. I tried the same process on a totally different Ubuntu system, with the same result. The ISO file is created, and booting, but asks for a username and password.
    I tried even resetting the user password totally under the chroot environment, also didn't work.
    Appreciate any help
    Thanks

  7. #7
    Join Date
    Nov 2007
    Beans
    1

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Quote Originally Posted by majedaly View Post
    Thanks for the extensive information. I tried using the steps described in the wiki, faced the following issues:
    1- Unable to connect to internet from the chroot inveronment, which could be overcome by editing resolv.conf and adding a name server
    2- During the creation of the CD I get the following warnings:
    df: Warning: cannot read table of mounted file systems: No such file or directory
    cryptsetup: WARNING: could not determine root device from /etc/fstab
    I checked /etc/fstab which appears to be empty.
    I completed the steps, ignoring the warnings, and created a live USB stick. it boots normally, but asks for login.
    I tried the same username and password used during creation , the root username and password, and user ubuntu with blank password nothing worked.
    I repeated the steps, and created a user under the chroot environment , also didn't work
    I tried logging in by pressing ALT+F1 but the system doesn't even give the login prompt, it shows authentication error.
    I am using Ubuntu 13.10. I tried the same process on a totally different Ubuntu system, with the same result. The ISO file is created, and booting, but asks for a username and password.
    I tried even resetting the user password totally under the chroot environment, also didn't work.
    Appreciate any help
    Thanks
    At the stage when you remove non-system users, instead of "998" in the command, use "1000" - that will leave the original installation user defined. Then edit /etc/password (still under chroot)
    check for a user with UIC=999 -- there should not be one
    In the line defining the user with UIC=1000 edit out the field that defines the password; it should originally be <colon>x<colon> , change it to :: . That user can login with no password. Login at a TTY to create a home directory, e.g. "sudo mkdir /home/<username> && sudo chown <username>:<username> /home/<username> . You can then complete a graphic login.
    Last edited by miker_alpha; March 25th, 2014 at 06:51 AM.

  8. #8
    Join Date
    Jun 2014
    Beans
    1

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Hello any one and thank you for this tutorial!!
    I was thinking if it is possible to create another tutorial on how to add grub splash
    i mean to customize the grub menu with custom image.. please let me know if it is possible..!!
    sorry for my bad english!!

  9. #9
    Join Date
    Jun 2014
    Location
    Nowhere
    Beans
    Hidden!

    Re: Discussion - https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromH

    Thank you for the whole "topics and wiki". I was looking for something like this for a few weeks to build a more secure and anonymous version of the last Ubuntu. I assumed that a fresh and updated installation of the 14.04 LTS, with only a few needed desktop applications (LibreOffice, GIMP, VLC) and all the needed Internet applications, transmission-GTK, VPN, Tor, Jondo, (and ALL Internet accessing applications getting their enforce Apparmor profiles), some kernel hardening tips and all unnecessary applications and services removed, could give something possibly better than Tails or Whonix (for my own use). In fact, all I need is already on my OS, the only thing I would add for security reason is to build it as a live-CD to avoid it to be hacked.The probability of getting hacked once with a pre-securised live-CD like this is already one thing. Still using this pre-securised live-CD, then the probability of getting hacked twice (with the same exploit, probably) begins to be really an exploit ! (literal meaning). And the possible damages should be closed to nothing, that means the ratio used resources / caused damages would be surely close to be a nonsense.

    This is something I still have somewhere in mind as an experiment. I do not know if I will try it one day. Are those topics and wiki updated ? I have seen that remastersys (that seemed to be very efficient to this kind of tasks) is no longer available, for example ?
    Last edited by Nobody Nessie; June 22nd, 2014 at 10:49 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •