Posted: Thu 02 May 2013, 08:40 Post subject:
How to use Puppy to repair Ubuntu grub2 MBR of your hd
It can happen that your pc with ubuntu and grub2 (grub-pc) even in dual-boot with windows gets its mbr damaged. There are several tutorials on the internet how to repair mbr by a ubuntu live cd/dvd. I use puppy linux. You can use puppy in ram mode or you can boot a pupsave on your hd. Assuming that sdax contains the ubuntu install you have to type the following commands in puppy console:
mount /dev/sdax /mnt/dir
mount --bind /dev /mnt/dir/dev
mount --bind /proc /mnt/dir/proc
mount --bind /sys /mnt/dir/sys
Joined: 20 Jul 2010 Posts: 3008 Location: New Zealand
Posted: Sun 07 Jul 2013, 01:26 Post subject:
Hi watchdog, you mention a dualboot ubuntu / windows scenario - would this code allow me to rebuild the mbr on a "windows only" PC?
My Windows machine is dead, and has not come back to life despite me running the recovery CDs, so I can afford to try a few things like this. Just looking for ways to rewrite the mbr in case that is why it wont boot.
No. This procedure will work if you already installed grub and it gets damaged. I don't know if it is possible to install grub without any linux distribution and chainload windows. Now I am experimenting with Plop boot manager. I'll post some interesting things. I suggest you this software:
It is a selection of tools open source to repair disks. I used it to delete hidden encrypted partitions in usb sticks where gparted fails. Ubcd can contain some tools that can help you to repair your windows installation.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum