I've had this problem a few times, but I'm hoping somebody can shed some light on the matter.
I first experienced this when I first started remastering LiveCD's for 11.10beta1 to make a Gnome Shell default install instead of Unity.
I'm using a rescue-live-system (similar to a live-cd) to fix some issues with my Debian server, like that:
# mkdir -p /mnt/rescue
# mount /dev/md2 /mnt/rescue
# mount --bind /dev /mnt/rescue/dev/
# mount --bind /proc /mnt/rescue/proc/
# mount --bind /sys /mnt/rescue/sys/
Now I can chroot to /mnt/rescue - but after I'm done, how to unmount the filesystem again?
umount: /mnt/rescue: target is bu
How to chroot from live session to #! on diskAssumption: #!
I recently somewhat followed the grub2 installation section and forgot to generate the cfg file and ended up at a prompt and I did not backup my syslinux installation. This is how I solved it and I was wondering if it would be okay to add it to the page.
What does
mount -t proc none /proc
do inside the chrooted environment?
After doing that, when I run htop or ps aux inside the chrooted environment, I can see the actual root's processes.
Does it mean mount -t proc none /proc makes the chroot more insecure?
Thank you!
Desde un live cd.
sudo mkdir linux
sudo mount /dev/sdXY linux/
sudo mount -t proc /proc linux/proc
sudo mount --bind /dev linux/dev
sudo chroot linux/
grub-install /dev/sda
el grub está aca
sudo gedit /etc/default/grub
hi
i have installed windows 7 then Ubuntu , all works find so far
after i installed windows xp , the grub2 got deleted ofc and windows xp was booting directly , so i repaired my grub
{
1 sudo mount /dev/sdXY /mnt
2 sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
Might seem pretty quick to start another round of installations testing, but this one was about ready before the first Benz release, but we felt the addition of a netinstaller in Tribe should get a lot of testing, and not be lumped together with the other (large amount of) changes already set for that ISO.Anyone who downloaded Benz-2013.02 ISO can use that one, all needed is to install tribe-netin
I removed lightdb and as a result can not get into Ubuntu 12.04 I am therefore using the LiveCD in the following commands.
I need to extract a list of installed programs in the crashed installation. What am I doing wrong, because I can not see the package.selections appearing in sdc?