Postingan

Menampilkan postingan dari Januari, 2014

Dual-Boot and Grub 2 problems fix

If you are struggling with dual-boot problems and Grub 2 this may help. 1) Boot from cd or flash drive with the same architechture  ie. 32 or 64-bit as your missing o/s 2) Get to a root console prompt 3) type: blki d this gives you a listing of all your partitions with newer sata drive hardware or type : fdisk -l for older ata style machines. 4)locate the operating system partition eg. sda1 sdb2 sdc3 etc. 5) mount this partition type: mount /dev/sd** /mnt (** whatever partition your o/s is on - discovered from the blkid command) 6) Create a chroot environment, type: mount -- bind /dev /mnt/dev mount -- bind /dev/pts /mnt/dev/pts mount -- bind /sys /mnt/sys mount -- bind /proc /mnt/proc 7) type: chroot /mnt you are now using your previously unbootable operating system. 8) type:  grub-install /dev/sd* (* whatever  drive  -  not the partition your o/s is on - discovered from the blkid command eg. /dev/sda) 9)type:   update-grub this should list al