Page 31 of 34 FirstFirst ... 212930313233 ... LastLast
Results 301 to 310 of 337

Thread: How to make a live CD/DVD from your harddisk installation

  1. #301
    Join Date
    Nov 2011
    Beans
    3

    Question Re: How to make a live CD/DVD from your harddisk installation

    its possible to do this on a debian installation , how to replace casper package?, because its not finding



    note: sorry for my english im not speak very well

  2. #302
    Join Date
    Nov 2011
    Beans
    3

    Exclamation Re: How to make a live CD/DVD from your harddisk installation

    i got this little error!

    sudo grub-mkrescue -o ~/live-cd.iso ${CD}
    Unrecognized option `-o'
    Usage: /usr/bin/grub-mkrescue [OPTION] SOURCE...
    Make GRUB rescue image.

    -h, --help print this message and exit
    -v, --version print the version information and exit
    --modules=MODULES pre-load specified modules MODULES
    --output=FILE save output in FILE [required]

    /usr/bin/grub-mkrescue generates a bootable rescue image with specified source files or directories.

    Report bugs to <bug-grub@gnu.org>.

  3. #303
    Join Date
    Nov 2011
    Beans
    3

    Talking Re: How to make a live CD/DVD from your harddisk installation

    SOLUTION

    $ sudo grub-mkrescue --output=live-cd.iso ${CD}

    and it WORKED!
    thanx!!!!!

    this is for Ubuntu 10.10

  4. #304
    Join Date
    Jan 2010
    Beans
    7

    Re: How to make a live CD/DVD from your harddisk installation

    I read that it is possible to allocate new user name and password on re installation.

    My question is, and hope not duplicating, if an application like MythTV is installed, will this still work properly.

    This situation causes major problems with a Remastersys re install.

  5. #305
    Join Date
    Jan 2010
    Beans
    7

    Re: How to make a live CD/DVD from your harddisk installation

    Thanks carloseros for your command fix and thanks to capink for the guide. To answer my own question, a new computer name and so on can be successfully allocated on installation without adverse effect on MythTV.

  6. #306
    Join Date
    Nov 2011
    Beans
    3

    Exclamation Re: How to make a live CD/DVD from your harddisk installation

    i want to create a custom distro. i want to change some default that they could be seen on my live disk:
    1) change default icon pack to faenza-ambiance
    2) change default start up apps to dockey & synapse & weather & blueman
    3) change default shell(GUI) to gnome3.2
    4) change default theme to adwaita
    5) change default cursor to adwaita
    any ideas?

  7. #307
    Join Date
    Nov 2011
    Beans
    3

    Re: How to make a live CD/DVD from your harddisk installation

    any ideas????
    upppp...

  8. #308
    Join Date
    Nov 2011
    Beans
    3

    Re: How to make a live CD/DVD from your harddisk installation

    any ideas????
    upppp...

  9. #309
    Join Date
    Oct 2008
    Beans
    16

    Re: How to make a live CD/DVD from your harddisk installation

    I've run into a situation where it would be useful to create a live cd with non-system users intact.

    I tried to modify the procedure above to do so by dropping the routine that removes users and including rather than excluding shadow and gshadow, but grub-mkisofs fails with a "disk image not readable, so such file" error.

    Any suggestions as to how to resolve this issue?
    Last edited by Darin722; December 6th, 2011 at 07:28 PM. Reason: added subscribe notification

  10. #310
    Join Date
    Nov 2006
    Location
    Cairo, Egypt
    Beans
    300

    Re: How to make a live CD/DVD from your harddisk installation

    Quote Originally Posted by Darin722 View Post
    but grub-mkisofs
    The Guide uses grub-mkresuce

    Quote Originally Posted by Darin722 View Post
    Any suggestions as to how to resolve this issue?
    There are two ways to this:

    1. The first way is to add the following parameter to your boot options in grub.cfg:

    Code:
    username=whatever_username_you_want
    2. The second way edit the file ${WORK}/rootfs/etc/casper.conf change the following entry:

    Code:
    export USERNAME="whatever_username_you_want"
    After doing this, be sure to run the command update-initramfs within the chroot enviroment (Step C.4). And that the updated initrd is copied later to ${CD}/casper/initrd.img in step D.1


    Note that either way you go, you will still have to preserve the shadow and gshadow ..... etc as you described in your post. To do it you replace the command in step B with the following one:
    Code:
    sudo rsync -av --one-file-system --exclude=/proc/* --exclude=/dev/* \
    --exclude=/sys/* --exclude=/tmp/* --exclude=/home/* --exclude=/lost+found \
    --exclude=/var/tmp/* --exclude=/boot/grub/* --exclude=/root/* \
    --exclude=/var/mail/* --exclude=/var/spool/* --exclude=/media/* \
    --exclude=/etc/fstab --exclude=/etc/mtab --exclude=/etc/hosts \
    --exclude=/etc/timezone --exclude=/etc/X11/xorg.conf* \
    --exclude=/etc/gdm/custom.conf --exclude=/etc/lightdm/lightdm.conf \
    --exclude=${WORK}/rootfs / ${WORK}/rootfs

    You will also have to skip step C.5

    I have not tried any of this. You will have to try it yourself and see if it works.

Page 31 of 34 FirstFirst ... 212930313233 ... LastLast

Tags for this Thread

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
  •