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
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
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>.
SOLUTION
$ sudo grub-mkrescue --output=live-cd.iso ${CD}
and it WORKED!
thanx!!!!!
this is for Ubuntu 10.10
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.
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.
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?
any ideas????
upppp...
any ideas????
upppp...
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
The Guide uses grub-mkresuce
There are two ways to this:
1. The first way is to add the following parameter to your boot options in grub.cfg:
2. The second way edit the file ${WORK}/rootfs/etc/casper.conf change the following entry:Code: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.1Code:export USERNAME="whatever_username_you_want"
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.
Bookmarks