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
I'm trying to set up a build environment using chroot, but instead of downloading ubuntu base files, I want to use my live / as base files for the chroot and use c-o-w to redirect any changes made in the chroot to other folder.
ok after following your suggestion this is what happenedcrunchbang@crunchbang:~$ sudo suroot@crunchbang:/home/crunchbang# TARGET=/media/sda1root@crunchbang:/home/crunchbang# mkdir -p $TARGETroot@crunchbang:/home/crunchbang# mount /dev/sda1 $TARGETmount: /dev/sda1 already mounted or /media/sda1 busymount: according to mtab, /dev/sda1 is already mounted on /media/sda1root@crunchbang:/home/crunchbang
So I had the perfect Ubuntu 12 / Windows 7 dual boot set-up -- until I had to re-install Windows 7.
After the deed, GRUB2 was of course wiped out, thus my Ubuntu installation is rendered inaccessible.
I have tried these steps:
mount /dev/sda5 /mnt #This is where my Ubuntu installation resides.
mount /dev/sda1 /mnt/boot #Indicated by the `*` under `Boot` when doing `fdisk -l`
mount --bind /mnt
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
I upgraded from 10.04 to 12.04 LTS. Upgrade went fine, even restarted couple of times. Then the next day while booting into Ubuntu, after the grub, it gave the error 'Kernel panic : not syncing vfs unable to mount root fs on unknown block (0,0).
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
I have a number of LVM partitions, each containing an Ubuntu installation. Occasionally, I want to do an apt-get dist-upgrade, to update an installation to the most recent packages.
I have been dual booting Windows 7 Home Premium and Ubuntu 12.04 for several months now, and I recently ran into a problem where GRUB (or Burg) would fail to load. It gets stuck at the "GRUB Loading" screen and fails to boot. I also have Burg installed. I have reinstalled GRUB from a Live CD and the problem returned a week later.